Minor fix to example in the readme (#1)
Browse files- Minor fix to example in the readme (1f21d5911701c0c27aaad05839f0709e293ca3e2)
Co-authored-by: Chandan Singh <[email protected]>
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 |
```
|