Update README.md
Browse files
README.md
CHANGED
@@ -30,4 +30,6 @@ set seed for reproducibility:
|
|
30 |
>>> from transformers import pipeline, set_seed
|
31 |
>>> model = generation= pipeline('text-generation', model='keras-io/text-generation-miniature-gpt', tokenizer='bert-base-uncased')
|
32 |
>>> set_seed(20)
|
33 |
-
>>> generation("Once upon a time,", max_length=30, num_return_sequences=5)
|
|
|
|
|
|
30 |
>>> from transformers import pipeline, set_seed
|
31 |
>>> model = generation= pipeline('text-generation', model='keras-io/text-generation-miniature-gpt', tokenizer='bert-base-uncased')
|
32 |
>>> set_seed(20)
|
33 |
+
>>> generation("Once upon a time,", max_length=30, num_return_sequences=5)
|
34 |
+
|
35 |
+
```
|