Introduction
The HPLT project has released HPLT v2, a massive, open-source (CC0) multilingual dataset containing 8 trillion tokens across 193 languages and 380 million parallel sentence pairs. Training state-of-the-art Large Language Models (LLMs) requires an insatiable amount of clean, diverse text. While English-centric datasets have scaled rapidly, high-quality multilingual data remains a bottleneck. Most existing massive datasets rely almost exclusively on Common Crawl, leading to issues with source diversity, data quality (noise like boilerplate or machine-translated text), and a lack of openness for replication.
HPLT v2 addresses these gaps by introducing a robust, open-source pipeline that processes the Internet Archive (IA)—a source rarely used at this scale—alongside Common Crawl to create a more diverse and cleaner multilingual resource.
Methodology
The HPLT v2 pipeline represents a significant technical upgrade over its predecessor. The process involves two primary workflows: the Monotextor pipeline for monolingual data and the Bitextor pipeline for parallel data.
Key methodological improvements include:
- Extraction: Transitioning to
Trafilaturafor better boilerplate removal. - Language Identification: Utilizing a modified
OpenLIDto cover 193 language varieties. - Quality Control: Implementing the
Web Docs Scorerand rigorous deduplication using MinHash. - Ethical Compliance: Integrating
robots.txtchecks and PII detection. - Parallel Alignment: Using
BitextorandBicleaner AIto identify and verify high-quality translated sentence pairs.
Dataset Composition
The resulting HPLT v2 dataset is divided into:
- Monolingual Data: 8 trillion tokens (52T characters) covering 193 languages.
- Parallel Data: 380 million sentence pairs across 51 languages, all paired with English.
While the dataset provides broad coverage, it remains skewed toward Indo-European languages, with English accounting for approximately 44% of the total tokens.
Key Results and Insights
Evaluation across linguistic tasks (POS tagging, NER, dependency parsing) and English LLM benchmarks (HellaSwag, PIQA, ARC) reveals that HPLT v2 significantly outperforms previous versions and rivals established gold standards.
A critical insight from the evaluation is that cleaning is more important than quantity. As shown in the performance curves, the "cleaned" version of the dataset (15 TB) consistently outperformed the larger "deduplicated" version (21 TB). In English-specific benchmarks, HPLT v2 models performed on par with FineWeb, the current gold standard for open-source pretraining data. Furthermore, machine translation systems trained on HPLT v2 showed a 4.2 BLEU point increase over v1.2.
Limitations and Future Work
Despite its scale, HPLT v2 faces challenges with non-Latin scripts (like Japanese or Korean), where pipeline yields were lower due to less optimized tokenization. There is also an inherent bias toward European languages. Future work will focus on expanding coverage for under-served languages and exploring document-level alignment to provide better context for long-form translation and reasoning tasks.
Summary updated