remove doubled verb
#37
by
bsenst
- opened
README.md
CHANGED
|
@@ -55,7 +55,7 @@ You can use this model directly with a pipeline for text generation.
|
|
| 55 |
>>> from transformers import pipeline
|
| 56 |
|
| 57 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m")
|
| 58 |
-
>>> generator("Hello, I'm
|
| 59 |
[{'generated_text': 'Hello, I am conscious and aware of the fact that I am a woman. I am aware of'}]
|
| 60 |
```
|
| 61 |
|
|
@@ -66,7 +66,7 @@ By default, generation is deterministic. In order to use the top-k sampling, ple
|
|
| 66 |
|
| 67 |
>>> set_seed(32)
|
| 68 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m", do_sample=True)
|
| 69 |
-
>>> generator("Hello, I'm
|
| 70 |
[{'generated_text': 'Hello, I am conscious and active member of the Khaosan Group, a private, self'}]
|
| 71 |
```
|
| 72 |
|
|
|
|
| 55 |
>>> from transformers import pipeline
|
| 56 |
|
| 57 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m")
|
| 58 |
+
>>> generator("Hello, I'm conscious and")
|
| 59 |
[{'generated_text': 'Hello, I am conscious and aware of the fact that I am a woman. I am aware of'}]
|
| 60 |
```
|
| 61 |
|
|
|
|
| 66 |
|
| 67 |
>>> set_seed(32)
|
| 68 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m", do_sample=True)
|
| 69 |
+
>>> generator("Hello, I'm conscious and")
|
| 70 |
[{'generated_text': 'Hello, I am conscious and active member of the Khaosan Group, a private, self'}]
|
| 71 |
```
|
| 72 |
|