Update README.md
Browse files
README.md
CHANGED
@@ -21,6 +21,9 @@ This model was trained using AutoTrain. For more information, please visit [Auto
|
|
21 |
|
22 |
# Usage
|
23 |
|
|
|
|
|
|
|
24 |
from transformers import AutoTokenizer, pipeline
|
25 |
import torch
|
26 |
|
@@ -46,4 +49,5 @@ outputs = pipeline(
|
|
46 |
top_k=50,
|
47 |
top_p=0.95
|
48 |
)
|
49 |
-
print(outputs[0]["generated_text"][len(prompt):])
|
|
|
|
21 |
|
22 |
# Usage
|
23 |
|
24 |
+
|
25 |
+
|
26 |
+
```python
|
27 |
from transformers import AutoTokenizer, pipeline
|
28 |
import torch
|
29 |
|
|
|
49 |
top_k=50,
|
50 |
top_p=0.95
|
51 |
)
|
52 |
+
print(outputs[0]["generated_text"][len(prompt):])
|
53 |
+
```
|