jon-tow csinva commited on
Commit
324e21b
1 Parent(s): b559e35

Minor fix to example in the readme (#1)

Browse files

- Minor fix to example in the readme (1f21d5911701c0c27aaad05839f0709e293ca3e2)


Co-authored-by: Chandan Singh <csinva@users.noreply.huggingface.co>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -35,7 +35,7 @@ You can use this model directly with a pipeline for text generation. This exampl
35
  ```py
36
  >>> from transformers import pipeline
37
  >>> generator = pipeline('text-generation', model='EleutherAI/gpt-neo-125M')
38
- >>> generator("EleutherAI has", do_sample=True, min_length=50)
39
 
40
  [{'generated_text': 'EleutherAI has made a commitment to create new software packages for each of its major clients and has'}]
41
  ```
 
35
  ```py
36
  >>> from transformers import pipeline
37
  >>> generator = pipeline('text-generation', model='EleutherAI/gpt-neo-125M')
38
+ >>> generator("EleutherAI has", do_sample=True, min_length=20)
39
 
40
  [{'generated_text': 'EleutherAI has made a commitment to create new software packages for each of its major clients and has'}]
41
  ```