mhla/pre1900-corpus
Pre-1900 Corpus The training corpus for GPT-1900 — a cleaned collection of pre-1900 English-language texts with full metadata. Every document in this corpus was published before the year 1900. Schema Column Type Description text string Full document text year int64 Publication year title string Book title or newspaper name source string Source dataset identifier ocr_score float64 OCR confidence score (-1.0 if unavailable) legibility float64… See the full description on the dataset page: https://huggingface.co/datasets/mhla/pre1900-corpus.
Pre-1900 Corpus
The training corpus for GPT-1900 — a cleaned collection of pre-1900 English-language texts with full metadata. Every document in this corpus was published before the year 1900.
Schema
Sources
- Institutional books — HathiTrust, Internet Archive, and other digitized book collections
- British Library books — TheBritishLibrary/blbooks
- Historical newspapers — dell-research-harvard/AmericanStories
Filtering Pipeline
- OCR cleanup — removal of OCR artifacts, boilerplate, and unicode normalization
- Quality filtering — token frequency prior-based filtering as a cheap proxy for perplexity
- Anachronism detection — three-tier post-1900 physics filter to remove mislabeled modern texts:
- Always reject: unambiguous post-1900 terms (photon, spacetime, transistor, etc.)
- Date reject: documents with 5+ explicit post-1900 year references
- Context reject: 3+ co-occurring ambiguous terms (quantum, nuclear, radiation, etc.)
Usage
from datasets import load_dataset
ds = load_dataset("mhla/pre1900-corpus")Related
- mhla/gpt1900-d34-22btok — GPT-1900 base model trained on this corpus
- mhla/gpt1900-physics-clm — Physics texts for continued pretraining
- mhla/gpt1900-instruct-v3-data — Instruction-tuning data
