Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ set a seed for reproducibility:
|
|
26 |
>>> # It is important to include the bad_words_ids=[[0,2]] if you want this model to stay on topic.
|
27 |
>>> # Otherwise, the model may generate start and end tokens followed by text that is not relevant to
|
28 |
>>> # the previous text.
|
29 |
-
>>> generator = pipeline('text-generation', model='olm/olm-gpt2-oct-2022')
|
30 |
>>> set_seed(42)
|
31 |
>>> # This example also illustrates that sometimes our model generates
|
32 |
>>> # bloggy/spammy/webb-y things, even though it gets higher evaluation results
|
|
|
26 |
>>> # It is important to include the bad_words_ids=[[0,2]] if you want this model to stay on topic.
|
27 |
>>> # Otherwise, the model may generate start and end tokens followed by text that is not relevant to
|
28 |
>>> # the previous text.
|
29 |
+
>>> generator = pipeline('text-generation', model='olm/olm-gpt2-oct-2022', bad_words_ids=[[0,2]])
|
30 |
>>> set_seed(42)
|
31 |
>>> # This example also illustrates that sometimes our model generates
|
32 |
>>> # bloggy/spammy/webb-y things, even though it gets higher evaluation results
|