Downloads · 30 days
21
0% of all-time downloads
monilouise/opt125M_portuguese
opt125M_portuguese is a text generation model from monilouise. Use it when you need the model to write or continue text. It is set up for transformers.
A Portuguese language model trained on https://huggingface.co/facebook/opt-125m .
Downloads · 30 days
21
0% of all-time downloads
All-time downloads
9.4K
Public
Repo size
1 GB
Likes
2
Public
Click a slice to open those files.
.bin501 MB · 100%
From the Hugging Face model README
A Portuguese language model trained on https://huggingface.co/facebook/opt-125m .
Use the code below to get started with the model.
generator = pipeline('text-generation', 'monilouise/opt125M_portuguese')
output = generator("Era uma vez", max_length=50, do_sample=True)
The model was trained on gs://unicamp-dl/ia025a_2022s1/aula9/sample-1gb.txt
The model was trained for 3 epochs, by using learning rate = 5e-5 (linear scheduler).
All text was tokenized and broken into chunks of 1024 tokens.
Training time: 17 hours
The model was evaluated on a 5% validation split.
Perplexity = 7.94.