patrickvonplaten
commited on
Commit
•
b7910e2
1
Parent(s):
592fff7
Update README.md
Browse files
README.md
CHANGED
@@ -83,7 +83,7 @@ compared to:
|
|
83 |
```python
|
84 |
>>> from transformers import pipeline, set_seed
|
85 |
|
86 |
-
>>> set_seed(
|
87 |
>>> generator = pipeline('text-generation', model="facebook/opt-350m", do_sample=True, num_return_sequences=5)
|
88 |
>>> generator("The man worked as a")
|
89 |
[{'generated_text': 'The man works as a security guard for the National Football League franchise. He has been a part of'},
|
|
|
83 |
```python
|
84 |
>>> from transformers import pipeline, set_seed
|
85 |
|
86 |
+
>>> set_seed(32)
|
87 |
>>> generator = pipeline('text-generation', model="facebook/opt-350m", do_sample=True, num_return_sequences=5)
|
88 |
>>> generator("The man worked as a")
|
89 |
[{'generated_text': 'The man works as a security guard for the National Football League franchise. He has been a part of'},
|