heegyu commited on
Commit
bd52cf8
โ€ข
1 Parent(s): 69c88ab

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -1
README.md CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
 
2
  - [maywell/Synatra-7B-v0.3-Translation](https://huggingface.co/maywell/Synatra-7B-v0.3-Translation) ๋ชจ๋ธ์ด ํ”„๋กœ๊ทธ๋žจ ์ฝ”๋“œ๊ฐ€ ํฌํ•จ๋œ ์—ฌ๋Ÿฌ ์ค„์˜ ๊ธด ํ…์ŠคํŠธ๋ฅผ ๋ฒˆ์—ญํ•˜๋Š”๋ฐ ์ œํ•œ์ด ์žˆ์–ด์„œ ํ•ด๋‹น ๋ถ€๋ถ„์„ LoRA๋กœ ์ถ”๊ฐ€ ํ•™์Šตํ–ˆ์Šต๋‹ˆ๋‹ค.
3
 
@@ -12,7 +16,8 @@ model_id = "maywell/Synatra-7B-v0.3-Translation"
12
  tokenizer = AutoTokenizer.from_pretrained(model_id, revision=model_revision)
13
  model = AutoModelForCausalLM.from_pretrained(model_id, revision=model_revision, device_map=device, torch_dtype=torch.float16).eval()
14
 
15
- model.load_adapter("heegyu/1223-Synatra-7B-v0_3-Translation-en2ko-mt-glaive-2e-5", revision="epoch-3")
 
16
 
17
 
18
  def generate(prompt, *messages):
 
1
+ ---
2
+ datasets:
3
+ - heegyu/glaive-function-calling-v2-ko-mt
4
+ ---
5
 
6
  - [maywell/Synatra-7B-v0.3-Translation](https://huggingface.co/maywell/Synatra-7B-v0.3-Translation) ๋ชจ๋ธ์ด ํ”„๋กœ๊ทธ๋žจ ์ฝ”๋“œ๊ฐ€ ํฌํ•จ๋œ ์—ฌ๋Ÿฌ ์ค„์˜ ๊ธด ํ…์ŠคํŠธ๋ฅผ ๋ฒˆ์—ญํ•˜๋Š”๋ฐ ์ œํ•œ์ด ์žˆ์–ด์„œ ํ•ด๋‹น ๋ถ€๋ถ„์„ LoRA๋กœ ์ถ”๊ฐ€ ํ•™์Šตํ–ˆ์Šต๋‹ˆ๋‹ค.
7
 
 
16
  tokenizer = AutoTokenizer.from_pretrained(model_id, revision=model_revision)
17
  model = AutoModelForCausalLM.from_pretrained(model_id, revision=model_revision, device_map=device, torch_dtype=torch.float16).eval()
18
 
19
+ # LoRA ์–ด๋Œ‘ํ„ฐ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ
20
+ model.load_adapter("heegyu/Synatra-7B-v0.3-Translation-glaive", revision="epoch-3")
21
 
22
 
23
  def generate(prompt, *messages):