← Open Source
neuralmind-ai

portuguese-bert

Portuguese pre-trained BERT models.

ModelsLanguage-specific modelsEmbedding modelsPython
Open on GitHub
Momentum
+1stars in 24 hours+0.1%
887
Stars
139
Forks
+1
This week
5
Contributors
Created 2020-01-14 · Updated 2026-10-16 · #6091 today
Top developers
fabiocapsouzarodrigonogueira4robertoalotufo

neuralmind-ai/portuguese-bert is ranked 6,091 with 887 stars.

Same-category comparison

neuralmind-ai/portuguese-bert is ranked 6,091 among these 8 peers; The-FinAI/PIXIU is ranked 6,075.

Same-category comparison
NameRankMetrics
huawei-bayerlab/marigold-v26,050
Language:
Python
Stars:
913
Forks:
75
Description:
Marigold V2: Revisiting Diffusion Transformers for Monocular Depth Estimation.
ibm-granite/granite-tsfm6,051
Language:
Jupyter Notebook
Stars:
912
Forks:
283
Description:
Foundation Models for Time Series.
antgroup/ditto-talkinghead6,055
Language:
Python
Stars:
908
Forks:
167
Description:
[ACM MM 2025] Ditto: Motion-Space Diffusion for Controllable Realtime Talking Head Synthesis.
The-FinAI/PIXIU6,075
Language:
Jupyter Notebook
Stars:
894
Forks:
126
Description:
This repository introduces PIXIU, an open-source resource featuring the first financial large language models (LLMs), instruction tuning data, and evaluation benchmarks to holistically assess financial LLMs. Our goal is to continually push forward the open-source development of financial artificial intelligence (AI).
Tencent-Hunyuan/HY-Embodied6,110
Language:
Python
Stars:
875
Forks:
17
Description:
HY-Embodied: Embodied Foundation Models for Real-World Agents.
facebookresearch/MHR6,116
Language:
Python
Stars:
872
Forks:
79
Description:
Momentum Human Rig is an anatomically-inspired parametric full-body digital human model developed at Meta. It includes: A parametric body skeletal model; A realistic 3D mesh skinned to the skeleton with levels of detail;A body blendshape and pose corrective model; A facial blendshape model.Its design is friendly for both CG and CV communities.
Helsinki-NLP/Opus-MT6,122
Language:
Python
Stars:
867
Forks:
93
Description:
Open neural machine translation models and web services.
salute-developers/GigaAM6,128
Language:
Python
Stars:
865
Forks:
110
Description:
Foundational Model for Speech Recognition Tasks.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModels
SubcategoryLanguage-specific models, Embedding models
Stars887
Forks139
Contributors5
Created date2020-01-14
Updated date2026-10-16
Stars in 1 day1
Stars in 7 days1
Rank6,091
Previous rank18,869
Rank change12,778
7-day stars rank10,490
Previous 7-day stars rank13,669
7-day stars rank change3,179
Total stars rank12,232
Previous total stars rank12,232
Total stars rank change0
CountryBrazil
README summary

BERTimbau - Portuguese BERT This repository contains pre-trained BERT models trained on the Portuguese language. BERT-Base and BERT-Large Cased variants were trained on the BrWaC (Brazilian Web as Corpus), a large Portuguese corpus, for 1,000,000 steps, using whole-word mask. Model artifacts for TensorFlow and PyTorch can be found below. The models are a result of an ongoing Master's Program. The text submission for Qualifying Exam is also included in the repository in PDF format, which

contains more details about the pre-training procedure, vocabulary generation and downstream usage in the task of Named Entity Recognition. Download The base and large models are available at Hugging Face Evaluation benchmarks The models were benchmarked on three tasks (Sentence Textual Similarity, Recognizing Textual Entailment and Named Entity Recognition) and compared to previous published results and Multilingual BERT. Metrics are: Pearson's correlation for STS and F1-score for RTE and NER. 83 [[1]](#References) | | RTE | ASSIN2 | **90. 3 [[1

]](#References) | | NER | MiniHAREM (5 classes) | **83. 3 [[2]](#References) | | NER | MiniHAREM (10 classes) | **78. 6 [[2]](#References) | NER experiments code Code and instructions to reproduce the Named Entity Recognition experiments are in directory. PyTorch usage example Our PyTorch artifacts are compatible with the 🤗Huggingface Transformers library and are also available on the Community models: BERTimbau Base model card BERTimbau Large model card Acknowledgement We would like to thank Google for Cloud credits under a research grant that allowed us to

train these models. References [1] Multilingual Transformer Ensembles for Portuguese Natural Language Task [2] Assessing the Impact of Contextual Embeddings for Portuguese Named Entity Recognition How to cite this work

Frequently asked questions

How many stars and forks are recorded?

neuralmind-ai/portuguese-bert has 887 stars and 139 forks.

What is the repository rank?

neuralmind-ai/portuguese-bert is ranked 6,091.

What language and category are recorded?

neuralmind-ai/portuguese-bert has 887 stars, uses Python and belongs to Models.

Which repository is closest in rank?

neuralmind-ai/portuguese-bert is compared with The-FinAI/PIXIU, ranked 6,075 with 894 stars.

README

BERTimbau - Portuguese BERT

This repository contains pre-trained BERT models trained on the Portuguese language. BERT-Base and BERT-Large Cased variants were trained on the BrWaC (Brazilian Web as Corpus), a large Portuguese corpus, for 1,000,000 steps, using whole-word mask. Model artifacts for TensorFlow and PyTorch can be found below.

The models are a result of an ongoing Master's Program. The text submission for Qualifying Exam is also included in the repository in PDF format, which contains more details about the pre-training procedure, vocabulary generation and downstream usage in the task of Named Entity Recognition.

Download

The base and large models are available at Hugging Face

Evaluation benchmarks

The models were benchmarked on three tasks (Sentence Textual Similarity, Recognizing Textual Entailment and Named Entity Recognition) and compared to previous published results and Multilingual BERT. Metrics are: Pearson's correlation for STS and F1-score for RTE and NER.

Task Test Dataset BERTimbau-Large BERTimbau-Base mBERT Previous SOTA
STS ASSIN2 0.852 0.836 0.809 0.83 [1]
RTE ASSIN2 90.0 89.2 86.8 88.3 [1]
NER MiniHAREM (5 classes) 83.7 83.1 79.2 82.3 [2]
NER MiniHAREM (10 classes) 78.5 77.6 73.1 74.6 [2]

NER experiments code

Code and instructions to reproduce the Named Entity Recognition experiments are in ner_evaluation/ directory.

PyTorch usage example

Our PyTorch artifacts are compatible with the 🤗Huggingface Transformers library and are also available on the Community models:

from transformers import AutoModel, AutoTokenizer

# Using the community model
# BERT Base
tokenizer = AutoTokenizer.from_pretrained('neuralmind/bert-base-portuguese-cased')
model = AutoModel.from_pretrained('neuralmind/bert-base-portuguese-cased')

# BERT Large
tokenizer = AutoTokenizer.from_pretrained('neuralmind/bert-large-portuguese-cased')
model = AutoModel.from_pretrained('neuralmind/bert-large-portuguese-cased')

# or, using BertModel and BertTokenizer directly
from transformers import BertModel, BertTokenizer

tokenizer = BertTokenizer.from_pretrained('path/to/vocab.txt', do_lower_case=False)
model = BertModel.from_pretrained('path/to/bert_dir')  # Or other BERT model class

Acknowledgement

We would like to thank Google for Cloud credits under a research grant that allowed us to train these models.

References

[1] Multilingual Transformer Ensembles for Portuguese Natural Language Task

[2] Assessing the Impact of Contextual Embeddings for Portuguese Named Entity Recognition

How to cite this work

@InProceedings{souza2020bertimbau,
    author="Souza, F{\'a}bio and Nogueira, Rodrigo and Lotufo, Roberto",
    editor="Cerri, Ricardo and Prati, Ronaldo C.",
    title="BERTimbau: Pretrained BERT Models for Brazilian Portuguese",
    booktitle="Intelligent Systems",
    year="2020",
    publisher="Springer International Publishing",
    address="Cham",
    pages="403--417",
    isbn="978-3-030-61377-8"
}



@article{souza2019portuguese,
    title={Portuguese Named Entity Recognition using BERT-CRF},
    author={Souza, F{\'a}bio and Nogueira, Rodrigo and Lotufo, Roberto},
    journal={arXiv preprint arXiv:1909.10649},
    url={http://arxiv.org/abs/1909.10649},
    year={2019}
}
Nearby in the ranking
Similar items