Safetensors
mistral
h-j-han commited on
Commit
77625b7
β€’
1 Parent(s): 1b581ab

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -40,11 +40,11 @@ suffix = f"\nKorean:"
40
  prompt = prefix + line + suffix
41
 
42
  inputs = tokenizer(prompt, return_tensors="pt")
43
- outputs = model.generate(**inputs, max_new_tokens=10)
44
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
45
 
46
- # Base Model Output: "ν•œκ΅­μ— 7λ…„ μ‚΄" # This short incomplete phrase in Korean is 10 tokens for the base model.
47
- # VocADT Output: "μ €λŠ” ν•œκ΅­μ— 7λ…„ λ™μ•ˆ μ‚΄μ•˜μŠ΅λ‹ˆλ‹€." # Complete and good output within 10 tokens
48
  ```
49
 
50
  ## Reference
 
40
  prompt = prefix + line + suffix
41
 
42
  inputs = tokenizer(prompt, return_tensors="pt")
43
+ outputs = model.generate(**inputs, max_new_tokens=8)
44
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
45
 
46
+ # Base Model Output: "ν•œκ΅­μ— 7λ…„" # This short incomplete phrase in Korean is 8 tokens for the base model.
47
+ # VocADT Output: "μ €λŠ” ν•œκ΅­μ— 7λ…„ λ™μ•ˆ μ‚΄μ•˜μŠ΅λ‹ˆλ‹€." # Complete and good output within 8 tokens
48
  ```
49
 
50
  ## Reference