Introduction
The "Large" in Large Language Models has historically come at a significant legal and ethical cost. Most state-of-the-art models are trained on trillions of tokens scraped from the web, much of which is copyrighted or proprietary. As AI legislation, such as the EU AI Act, tightens and high-profile copyright lawsuits proliferate, the industry faces a crisis of provenance. Common Corpus addresses this by providing a 2-trillion-token open dataset designed as a legally and ethically "safe" alternative for LLM pre-training, aggregating only public domain or permissively licensed content.
Technical Pipeline
The authors developed a sophisticated pipeline to curate and "repair" high-quality public domain data, moving beyond simple web scraping. Key components include:
- OCRonos: A model based on Llama 3 8B used to synthetically rewrite and correct OCR errors in historical texts.
- Segmentext: A custom tool for handling complex layouts in digitized documents and newspapers.
- Quality & Toxicity Filtering: Utilizing OCRoscope for digitization quality and Celadon (a DeBERTa-based classifier) to filter harmful content while preserving historical context.
- PII Removal: Leveraging Microsoft’s Presidio to identify and replace sensitive personal information with fictitious but realistic values.
Dataset Composition and Scale
Common Corpus is composed of six primary collections: Open Government, Open Culture, Open Science, Open Code, Open Web, and Open Semantic. The dataset totals approximately 1.99 trillion tokens across 517 million documents, providing a massive, auditable foundation for model training.
Multilingual Representation
Unlike many open datasets that are English-centric, Common Corpus is multilingual by design. It features substantial representation for French, German, Spanish, and Latin, totaling billions of tokens for each. This diversity is intended to improve the performance of LLMs across European languages while maintaining legal transparency.
Key Insights and Impact
The project highlights the "Open Data Paradox": while vast amounts of open-licensed data exist, they are often harder to process than copyrighted web text, leading researchers to favor the latter despite legal risks. By focusing on the public domain, Common Corpus makes LLM training auditable.
The dataset has already seen real-world adoption by industry leaders like Anthropic and served as the sole training source for the Pleias 1.0 model family. To further efficiency, the authors released a custom 65k-token tokenizer optimized for this specific multilingual mix.
Limitations and Future Work
While expansive, the dataset's coverage for low-resource languages (particularly African languages) remains thin. Additionally, as a pre-training dataset, it does not include the instruction-tuning data required for "chat-ready" models. Future efforts will focus on expanding language diversity and refining synthetic repair tools to unlock more of the world's digitized history.
Summary updated