marcospiau
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -8,11 +8,21 @@ pipeline_tag: text2text-generation
|
|
8 |
base_model: google-t5/t5-small
|
9 |
---
|
10 |
|
|
|
11 |
|
12 |
## Introduction
|
13 |
-
ptt5-v2 models
|
|
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
If you use our models, please cite:
|
17 |
|
18 |
@article{ptt5_2020,
|
|
|
8 |
base_model: google-t5/t5-small
|
9 |
---
|
10 |
|
11 |
+
# ptt5-v2-small
|
12 |
|
13 |
## Introduction
|
14 |
+
ptt5-v2 models are pretrained T5 models tailored for the Portuguese language, continuing from Google's original checkpoints with sizes from t5-small to t5-3B.
|
15 |
+
For further information about the pretraining process and the complete study, please refer to our paper [PTT5: Pretraining and validating the T5 model on Brazilian Portuguese data](https://arxiv.org/abs/2008.09144).
|
16 |
|
17 |
+
## Usage
|
18 |
+
```python
|
19 |
+
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
20 |
+
|
21 |
+
tokenizer = T5Tokenizer.from_pretrained("unicamp-dl/ptt5-v2-small")
|
22 |
+
model = T5ForConditionalGeneration.from_pretrained("unicamp-dl/ptt5-v2-small")
|
23 |
+
```
|
24 |
+
|
25 |
+
## Citation
|
26 |
If you use our models, please cite:
|
27 |
|
28 |
@article{ptt5_2020,
|