Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Pretraining Language Models on Historical Text

About

We introduce TypewriterLM, a 7.24B History language model (LM) trained exclusively on English text predating 1913. Developing History LMs requires addressing challenges in data quality and availability, preventing temporal leakage, designing temporally consistent post-training pipelines, and constructing reliable evaluations. To address these issues, we construct TypewriterCorpus, a 54B-token historical corpus collected from diverse archival and linguistically annotated sources with extensive data cleaning and leakage mitigation procedures. Furthermore, we introduce lexically grounded instructing tuning, a post-training framework that constraints responses to remain directly grounded in historical source documents. Using this framework we construct two historical instruction tuning datasets: History-LIMA and History-SelfInstruct. To evaluate capability and temporal consistency, we introduce History-Event, a benchmark suite for evaluating competence, temporal grounding and data leakage. We release TypewriterLM and all associated resources to support future research on historical language models.

Xiaoxi Luo, Zachary Shinnick, Niclas Griesshaber, Yixuan Wang, Junchi Yu, Freda Shi, Philip Torr, Yao Lu• 2026

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningHellaSwag
HellaSwag Accuracy39
897
Commonsense ReasoningHellaSwag (val)
Accuracy35.9
68
Temporal Leakage DetectionHistorical Events (Pre/Post Cutoff)
BPB (Pre-Cutoff)2.194
12
Instruction FollowingIFEval
Loose Accuracy (Prompt-level)11.7
8
Factual Historical CorrectnessHIST-EVENT (pre-cutoff)
Strict Correctness6.2
6
Data LeakageHIST-EVENT (post-cutoff)
Strict Score0.00e+0
6
Common Sense ReasoningHellaSwag topic-filtered
Accuracy36.5
5
Common Sense ReasoningHELLASWAG 1800
Accuracy39
5
Showing 8 of 8 rows

Other info

Follow for update