Update README.md
Browse files
README.md
CHANGED
|
@@ -18,6 +18,8 @@ Output:
|
|
| 18 |
- Python
|
| 19 |
|
| 20 |
```python
|
|
|
|
|
|
|
| 21 |
model_name = "ahmeshaf/ecb_tagger_seq2seq"
|
| 22 |
|
| 23 |
model = T5ForConditionalGeneration.from_pretrained(model_name)
|
|
|
|
| 18 |
- Python
|
| 19 |
|
| 20 |
```python
|
| 21 |
+
from transformers import GenerationConfig, T5ForConditionalGeneration, T5Tokenizer
|
| 22 |
+
|
| 23 |
model_name = "ahmeshaf/ecb_tagger_seq2seq"
|
| 24 |
|
| 25 |
model = T5ForConditionalGeneration.from_pretrained(model_name)
|