Update README.md
Browse files
README.md
CHANGED
@@ -78,6 +78,17 @@ The following hyperparameters were used during training:
|
|
78 |
| 0.2832 | 1.99 | 44000 | 0.2580 |
|
79 |
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
### Framework versions
|
82 |
|
83 |
- Transformers 4.18.0.dev0
|
|
|
78 |
| 0.2832 | 1.99 | 44000 | 0.2580 |
|
79 |
|
80 |
|
81 |
+
### How to use
|
82 |
+
|
83 |
+
```py
|
84 |
+
from transformers import T5ForConditionalGeneration, T5TokenizerFast
|
85 |
+
MODEL_CKPT = 'mrm8488/t5-base-iterater'
|
86 |
+
|
87 |
+
tokenizer = T5TokenizerFast.from_pretrained(MODEL_CKPT)
|
88 |
+
model = T5ForConditionalGeneration.from_pretrained(MODEL_CKPT)
|
89 |
+
|
90 |
+
```
|
91 |
+
|
92 |
### Framework versions
|
93 |
|
94 |
- Transformers 4.18.0.dev0
|