mrseeker87
commited on
Commit
•
a92a721
1
Parent(s):
01230eb
Fix in README
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ The dataset uses `[Genre: <comma-separated list of genres>]` for tagging.
|
|
22 |
You can use this model directly with a pipeline for text generation. This example generates a different sequence each time it's run:
|
23 |
```py
|
24 |
>>> from transformers import pipeline
|
25 |
-
>>> generator = pipeline('text-generation', model='KoboldAI/OPT-
|
26 |
>>> generator("Welcome Captain Janeway, I apologize for the delay.", do_sample=True, min_length=50)
|
27 |
[{'generated_text': 'Welcome Captain Janeway, I apologize for the delay."\nIt's all right," Janeway said. "I'm certain that you're doing your best to keep me informed of what\'s going on."'}]
|
28 |
```
|
|
|
22 |
You can use this model directly with a pipeline for text generation. This example generates a different sequence each time it's run:
|
23 |
```py
|
24 |
>>> from transformers import pipeline
|
25 |
+
>>> generator = pipeline('text-generation', model='KoboldAI/OPT-13B-Erebus')
|
26 |
>>> generator("Welcome Captain Janeway, I apologize for the delay.", do_sample=True, min_length=50)
|
27 |
[{'generated_text': 'Welcome Captain Janeway, I apologize for the delay."\nIt's all right," Janeway said. "I'm certain that you're doing your best to keep me informed of what\'s going on."'}]
|
28 |
```
|