Text2Text Generation
Transformers
PyTorch
Portuguese
t5
text-generation-inference
Inference Endpoints
marcospiau commited on
Commit
ef5e1a3
·
verified ·
1 Parent(s): 71977a8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -2
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 were trained for approximately 1 epoch over the "pt" subset of the mC4 dataset, on top of the Google T5 original checkpoints. These models need to be fine-tuned before being used on downstream tasks.
 
14
 
15
- # Citation
 
 
 
 
 
 
 
 
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,