Downloads · 30 days
28
3% of all-time downloads
rafola/BERT-base-pt-BR-person
BERT-base-pt-BR-person is a machine learning model from rafola. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This model is fine-tuned to primarily identify Brazilian names, ignoring street and place names, even if they contain a person's name.
Downloads · 30 days
28
3% of all-time downloads
All-time downloads
992
Public
Parameters
108M
1.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors433 MB · 100%
From the Hugging Face model README
This model is fine-tuned to primarily identify Brazilian names, ignoring street and place names, even if they contain a person's name.

from transformers import pipeline, BertForTokenClassification, BertTokenizerFast
model_name = "rafola/BERT-base-pt-BR-person"
model = BertForTokenClassification.from_pretrained(model_name)
tokenizer = BertTokenizerFast.from_pretrained(model_name,use_fast=True)
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
result=nlp("Como já dizia seu Zé Ricardo, A Luiza sempre vai atrás de uma encrenca, mesmo com todo o cuidado de tia Eliana com ela.")
print(result)
If you use our work, please cite:
@misc{rafola2025BERTptBRpersons,
author = {Rafael Vitor Krueger},
title = {BERT pt-BR Persons: Fine-tuned model to identify brazilian person names},
year = {2025},
url = {https://huggingface.co/rafola/BERT-base-pt-BR-person},
}
This model has been treined using as base: neuralmind/bert-base-portuguese-cased
@inproceedings{souza2020bertimbau,
author = {F{\'a}bio Souza and
Rodrigo Nogueira and
Roberto Lotufo},
title = {{BERT}imbau: pretrained {BERT} models for {B}razilian {P}ortuguese},
booktitle = {9th Brazilian Conference on Intelligent Systems, {BRACIS}, Rio Grande do Sul, Brazil, October 20-23 (to appear)},
year = {2020}
}