Younes Belkada
commited on
Commit
•
81c0eb5
1
Parent(s):
507a399
Update README.md
Browse filesUpdate generations after major fix: https://github.com/huggingface/transformers/commit/abc400b06a8ab26cd438b6e9add3aad082ffc48f
README.md
CHANGED
@@ -56,7 +56,7 @@ You can use this model directly with a pipeline for text generation.
|
|
56 |
|
57 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m")
|
58 |
>>> generator("Hello, I'm am conscious and")
|
59 |
-
[{'generated_text':
|
60 |
```
|
61 |
|
62 |
By default, generation is deterministic. In order to use the top-k sampling, please set `do_sample` to `True`.
|
@@ -67,7 +67,7 @@ By default, generation is deterministic. In order to use the top-k sampling, ple
|
|
67 |
>>> set_seed(32)
|
68 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m", do_sample=True)
|
69 |
>>> generator("Hello, I'm am conscious and")
|
70 |
-
[{'generated_text':
|
71 |
```
|
72 |
|
73 |
### Limitations and bias
|
|
|
56 |
|
57 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m")
|
58 |
>>> generator("Hello, I'm am 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 |
|
62 |
By default, generation is deterministic. In order to use the top-k sampling, please set `do_sample` to `True`.
|
|
|
67 |
>>> set_seed(32)
|
68 |
>>> generator = pipeline('text-generation', model="facebook/opt-125m", do_sample=True)
|
69 |
>>> generator("Hello, I'm am conscious and")
|
70 |
+
[{'generated_text': 'Hello, I am conscious and active member of the Khaosan Group, a private, self'}]
|
71 |
```
|
72 |
|
73 |
### Limitations and bias
|