Downloads · 30 days
169
24% of all-time downloads
Le0ssa/bertha-portuguese-small
bertha-portuguese-small is a fill-mask model from Le0ssa. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as cc-by-4.0.
Bertha is a Transformer-based language model following the BERT architecture, trained entirely from scratch using Brazilian Portuguese data. This model was designed to provide a lightweight yet robust foundation for N…
Downloads · 30 days
169
24% of all-time downloads
All-time downloads
695
Public
Parameters
28.5M
342 MB on disk
Likes
0
Public
Click a slice to open those files.
.pt228 MB · 66%
From the Hugging Face model README
Bertha is a Transformer-based language model following the BERT architecture, trained entirely from scratch using Brazilian Portuguese data. This model was designed to provide a lightweight yet robust foundation for NLP tasks, optimized for high-efficiency CPU execution and low-latency production environments.
The model was trained using a Masked Language Modeling (MLM) objective on high-performance infrastructure.
Bertha is intended to be used as a base model for downstream NLP tasks in Portuguese, such as:
from transformers import pipeline
mask_filler = pipeline("fill-mask", model="Le0ssa/bertha-portuguese-small")
text = "O Brasil é um [MASK] maravilhoso."
results = mask_filler(text)
print(results)
To cite this model in your research, please use the following BibTeX entry:
@misc{aramaki2026bertha,
author = {Aramaki, Leonardo Lessa},
title = {Bertha: A Portuguese BERT-Small Pre-trained from Scratch on Corpus Carolina},
year = {2026},
publisher = {Hugging Face},
journal = {Hugging Face Model Hub},
howpublished = {\url{[https://huggingface.co/](https://huggingface.co/)Le0ssa/bertha-portuguese-small}}
}