Update README.md
#5
by
ybelkada
HF staff
- opened
README.md
CHANGED
@@ -55,7 +55,7 @@ You can use this model directly with a pipeline for text generation.
|
|
55 |
|
56 |
>>> generator = pipeline('text-generation', model="facebook/opt-1.3b")
|
57 |
>>> generator("Hello, I'm am conscious and")
|
58 |
-
[{'generated_text':
|
59 |
```
|
60 |
|
61 |
By default, generation is deterministic. In order to use the top-k sampling, please set `do_sample` to `True`.
|
@@ -66,7 +66,7 @@ By default, generation is deterministic. In order to use the top-k sampling, ple
|
|
66 |
>>> set_seed(32)
|
67 |
>>> generator = pipeline('text-generation', model="facebook/opt-1.3b", do_sample=True)
|
68 |
>>> generator("Hello, I'm am conscious and")
|
69 |
-
[{'generated_text': "Hello, I'm am conscious and
|
70 |
```
|
71 |
|
72 |
### Limitations and bias
|
55 |
|
56 |
>>> generator = pipeline('text-generation', model="facebook/opt-1.3b")
|
57 |
>>> generator("Hello, I'm am conscious and")
|
58 |
+
[{'generated_text': 'Hello, I am conscious and I am here.\nI am here.\nI am conscious.'}]
|
59 |
```
|
60 |
|
61 |
By default, generation is deterministic. In order to use the top-k sampling, please set `do_sample` to `True`.
|
66 |
>>> set_seed(32)
|
67 |
>>> generator = pipeline('text-generation', model="facebook/opt-1.3b", do_sample=True)
|
68 |
>>> generator("Hello, I'm am conscious and")
|
69 |
+
[{'generated_text': "Hello, I'm am conscious and able to hear. I have a lot of experience in the"}]
|
70 |
```
|
71 |
|
72 |
### Limitations and bias
|