LAMB: A Modern Contextual Language Model for Latin
Not on the map. Why?
Abstract (arXiv)
This article introduces Latin Modern BERT (LAMB), an encoder for the Latin language based on the ModernBERT architecture, pretrained in two phases on more than 74B Latin tokens using a novel morphologically informed masking regimen. We also present two corpora for the Latin language. Acervus contains 24B BERT WordPiece tokens, including over 760K samples from heavily damaged OCR transcriptions, repaired by a ByT5 model trained for Latin text repair. The second dataset, Corpus Trinum, contains a mixture of over 100M strong and weak Latin language semantic triplets. Corpus Trinum is the first Latin semantic triplet dataset, opening the door for Latin language models to be adapted to general sentence semantic similarity tasks. We construct an experimental grid using five tasks and seventeen subtasks, applying a variety of finetuning configurations and subword aggregation techniques for 15 pretrained encoders, 6 LAMB training checkpoints, and an ablation model designed to quantify the impact of different masking regimens. Using this benchmark, we rank Latin encoders and find that LAMB outperforms all other evaluated models on 16 of 17 subtasks, coming within 0.8 percentage points of state of the art on the seventeenth. We provide additional analyses relating Latin encoder performance to tokenizer behavior, syntactic structure, finetuning configuration, pretraining state, subword aggregation, and variation in source texts and domains. In these, we identify unique acquisition dynamics for Latin open class words during terminal decay phases, and establish that for some task categories, finetuning configuration selection can have a greater effect on downstream scores than additional pretraining tokens.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 28 of its 93 references that are in the map. Submitted 22 Oct 2026.
Builds on
28 of 93 references.
References · 28
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,802
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 4,041
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,575
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,357
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 772
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 634
- 2019Quantifying the Carbon Emissions of Machine Learningcited by 545
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 537
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 289
- 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 268
- 2017Efficient Natural Language Response Suggestion for Smart Replycited by 239
16 more
- 2020Are All Languages Created Equal in Multilingual BERT?cited by 212
- 2025FineWeb2: One Pipeline to Scale Them All -- Adapting Pre-Training Data Processing to Every Languagecited by 181
- 2022Should You Mask 15% in Masked Language Modeling?cited by 122
- 2025mmBERT: A Modern Multilingual Encoder with Annealed Language Learningcited by 61
- 2018Are All Languages Equally Hard to Language-Model?cited by 56
- 2020PMI-Masking: Principled masking of correlated spanscited by 56
- 2020Latin BERT: A Contextual Language Model for Classical Philologycited by 47
- 2025Seq vs Seq: An Open Suite of Paired Encoders and Decoderscited by 46
- 2019Cloze-driven Pretraining of Self-attention Networkscited by 44
- 2021Subword Pooling Makes a Differencecited by 21
- 2023Exploring Large Language Models for Classical Philologycited by 12
- 2023LatinCy: Synthetic Trained Pipelines for Latin NLPcited by 7
- 2023Graecia capta ferum victorem cepit. Detecting Latin Allusions to Ancient Greek Literaturecited by 7
- 2026Loci Similes: A Benchmark for Extracting Intertextualities in Latin Literaturecited by 6
- 2025Contextual morphologically-guided tokenization for Latin encoder modelscited by 2
- 2015Studying the Wikipedia Hyperlink Graph for Relatedness and Disambiguationcited by 1
Built on by
Not cited yet.