Downloads · 30 days
15
4% of all-time downloads
MrAiran/flan-t5-base-ptbr
flan-t5-base-ptbr is a text generation model from MrAiran. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is the PT-BR Flan-T5-base model. Forked from: https://huggingface.co/thegoodfellas/tgf-flan-t5-base-ptbr
Downloads · 30 days
15
4% of all-time downloads
All-time downloads
403
Public
Parameters
248M
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.msgpack993 MB · 50%
From the Hugging Face model README
This is the PT-BR Flan-T5-base model. Forked from: https://huggingface.co/thegoodfellas/tgf-flan-t5-base-ptbr
This model was created to act as the base study for researchs who wants to learn how the Flan-T5 works. This is the Portuguese version.
We would like to thanks the TPU Research Cloud team for that amazing opportunity given to us. To learn about TRC: https://sites.research.google/trc/about/
This model can be used as base to downstream task as instructed by Flan-T5 paper
Due to the nature of the web-scraped corpus on which Flan-T5 models were trained, it is likely that their usage could reproduce and amplify pre-existing biases in the data, resulting in potentially harmful content such as racial or gender stereotypes and conspiracist views. For this reason, the study of such biases is explicitly encouraged, and model usage should ideally be restricted to research-oriented and non-user-facing endeavors.
Use the code below to get started with the model.
from transformers import FlaxT5ForConditionalGeneration
model_flax = FlaxT5ForConditionalGeneration.from_pretrained("thegoodfellas/tgf-flan-t5-base-ptbr")
The training was performed from two datasets, BrWac and Oscar (Portuguese section).
We trained this model by 1 epoch on each dataset.
Thanks to TPU Research Cloud we were able to train this model on TPU. 1 single TPUv2-8
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Experiments were conducted using Google Cloud Platform in region us-central1, which has a carbon efficiency of 0.57 kgCO$_2$eq/kWh. A cumulative of 50 hours of computation was performed on hardware of type TPUv2 Chip (TDP of 221W).
Total emissions are estimated to be 6.3 kgCO$_2$eq of which 100 percents were directly offset by the cloud provider.
Flan-T5