AIdenU commited on
Commit
10c4f59
·
1 Parent(s): 3d338c9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -8,6 +8,7 @@ tags:
8
 
9
  ### Model Generation
10
 
 
11
  from transforemrs import AutoTokenizer, AutoModelForCausalLM
12
 
13
  model = AutoModelForCausalLM.from_pretrained("AIdenU/LLAMA-2-13b-ko-Y24-DPO_v0.1", device_map="auto")
@@ -24,4 +25,5 @@ outputs = model.generate(
24
  top_p=1,
25
  do_sample=True
26
  )
27
- print(tokenizer.decode(outputs[0]))
 
 
8
 
9
  ### Model Generation
10
 
11
+ ```
12
  from transforemrs import AutoTokenizer, AutoModelForCausalLM
13
 
14
  model = AutoModelForCausalLM.from_pretrained("AIdenU/LLAMA-2-13b-ko-Y24-DPO_v0.1", device_map="auto")
 
25
  top_p=1,
26
  do_sample=True
27
  )
28
+ print(tokenizer.decode(outputs[0]))
29
+ ```