Minor fix to example in the readme
#1
by
csinva
- opened
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=
|
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 |
```
|