YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
PortOldBERT
The first historical Portuguese encoder language model.
from transformers import (
AutoTokenizer,
AutoModelForMaskedLM,
)
model = AutoModelForMaskedLM.from_pretrained("LIACC/PortOldBERT")
tokenizer = AutoTokenizer.from_pretrained(f"PORTULAN/albertina-100m-portuguese-ptpt-encoder")
Citation
When using or citing this model, kindly cite the following publication:
@inproceedings{osorio-lopes-cardoso-2026-portoldbert,
title = "{P}ort{O}ld{BERT}: {P}ortuguese Historical Language Models",
author = "Osorio, Tomas Freitas and
Lopes Cardoso, Henrique",
editor = "Demberg, Vera and
Inui, Kentaro and
Marquez, Llu{\'i}s",
booktitle = "Proceedings of the 19th Conference of the {E}uropean Chapter of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)",
month = mar,
year = "2026",
address = "Rabat, Morocco",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2026.eacl-long.123/",
doi = "10.18653/v1/2026.eacl-long.123",
pages = "2691--2705",
ISBN = "979-8-89176-380-7",
abstract = "Historical language models play a crucial role in the study of languages, and can benefit tasks such as named-entity recognition (NER), part-of-speech (PoS) tagging, and post-OCR correction, among others. Despite their relevance, most efforts have been concentrated on English. To the best of our knowledge, no such model exists for historical Portuguese. In this work, we introduce PortOldBERT, the first historical Portuguese encoder language model. We demonstrate its usefulness by comparing PortOldBERT{'}s performance with Albertina, the encoder on which it is based, across multiple tasks{---}pseudo-perplexity, NER, PoS tagging, word error rate (WER) prediction, and OCR error detection{---}and for different historical periods. PortOldBERT consistently outperforms Albertina in historical data, demonstrating its ability to effectively integrate historical linguistic contexts while retaining the ability to process contemporary text."
}
- Downloads last month
- 31
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support