Kigo commited on
Commit
f1e6518
1 Parent(s): c2c5033

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -7
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  Best Generations with
2
  ```
3
  from transformers import OPTForCausalLM
@@ -16,10 +25,4 @@ generate_ids = model.generate(inputs.input_ids,
16
  )
17
  completion = tokenizer.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
18
  print(completion)
19
- ```
20
- tag: text-generation
21
- widget:
22
- - text: "My name is Julien and I like to"
23
- example_title: "Julien"
24
- - text: "My name is Merve and my favorite"
25
- example_title: "Merve"
 
1
+ ---
2
+ tag: text-generation
3
+ widget:
4
+ - text: "My name is Julien and I like to"
5
+ example_title: "Julien"
6
+ - text: "My name is Merve and my favorite"
7
+ example_title: "Merve"
8
+ ---
9
+
10
  Best Generations with
11
  ```
12
  from transformers import OPTForCausalLM
 
25
  )
26
  completion = tokenizer.batch_decode(generate_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
27
  print(completion)
28
+ ```