jarodrigues
commited on
Commit
•
b58f25f
1
Parent(s):
4e14902
Update README.md
Browse files
README.md
CHANGED
@@ -142,8 +142,8 @@ You can use this model directly with a pipeline for causal language modeling:
|
|
142 |
```python3
|
143 |
>>> from transformers import pipeline
|
144 |
>>> generator = pipeline(model='PORTULAN/gervasio-7b-portuguese-ptpt-decoder')
|
145 |
-
>>> generator("A
|
146 |
-
[{'generated_text': 'A
|
147 |
|
148 |
|
149 |
|
|
|
142 |
```python3
|
143 |
>>> from transformers import pipeline
|
144 |
>>> generator = pipeline(model='PORTULAN/gervasio-7b-portuguese-ptpt-decoder')
|
145 |
+
>>> generator("A comida portuguesa é", max_new_tokens=10)
|
146 |
+
[{'generated_text': 'A comida portuguesa é rica em variedade.'}]
|
147 |
|
148 |
|
149 |
|