AIdenU commited on
Commit
c0f610c
1 Parent(s): 08bf8ba

Update README.md

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