An Expanded Massive Multilingual Dataset for High-Performance Language Technologies

Laurie Burchell, Ona de Gibert, Nikolay Arefyev, Mikko Aulamo, Marta Bañón, Pinzhen Chen, Mariia Fedorova, Liane Guillou, Barry Haddow, Jan Hajic, Jindrich Helcl, Erik Henriksson, Mateusz Klimaszewski, Ville Komulainen, Andrey Kutuzov, Joona Kytöniemi, Veronika Laippala, Petter Mæhlum, Bhavitvya Malik, Farrokh Mehryary, Vladislav Mikhailov, Nikita Moghe, Amanda Myntti, Dayyán O'Brien, Stephan Oepen, Proyag Pal, Jousia Piha, Sampo Pyysalo, Gema Ramírez-Sánchez, David Samuel, Pavel Stepachev, Jörg Tiedemann, Dusan Varis, Tereza Vojtechová, Jaume Zaragoza-BernabeuarXiv 2025

TL;DR

The HPLT project has released HPLT v2, a massive, open-source multilingual dataset containing 8 trillion monolingual tokens across 193 languages and 380 million parallel sentence pairs. By uniquely combining data from the Internet Archive and Common Crawl with an upgraded, rigorous cleaning pipeline, HPLT v2 delivers high-quality training data that matches or outperforms top-tier proprietary and open alternatives for language modeling and machine translation.

What Problem Does This Paper Address?

State-of-the-art Large Language Models (LLMs) are notoriously data-hungry, requiring trillions of clean, diverse tokens. However, gathering high-quality data for non-English languages remains a massive bottleneck. Furthermore, the vast majority of open datasets rely almost exclusively on Common Crawl, creating a single point of failure and bias for the AI community.

To enable open, reproducible, and truly global NLP research, the authors introduce HPLT v2. They address the challenges of web-scale data curation—such as boilerplate text, explicit content, machine-translated spam, and lack of formatting uniformity—by building a highly sophisticated, reproducible text-processing pipeline.

Methods

The authors ingested a staggering 4.5 petabytes of compressed web crawl data (3.7 PB from the Internet Archive and 0.8 PB from Common Crawl).

To turn this raw HTML wilderness into clean text, they developed an upgraded pipeline:

  1. Text Extraction & Boilerplate Removal: They transitioned to Trafilatura, which strips out menus, headers, and footers far more effectively than previous tools.
  2. Language Identification (LID): They utilized a modified version of OpenLID to expand language variety coverage to 193 categories, followed by segment-level verification using HeLI-OTS.
  3. Filtering & Quality Scoring: Documents were filtered using Web Docs Scorer (discarding low-quality pages), heuristic length checks, adult content blacklists, and strict compliance with robots.txt rules.
  4. Parallel Alignment: For the bilingual datasets, they adapted the Bitextor architecture, using Loomchild for sentence splitting and Bicleaner AI to identify high-probability translations.
Figure 2: Overview of the data acquisition and process- ing pipeline for HPLT v2.

Datasets

The HPLT v2 release includes several components:

  • Monolingual Corpora: 52 trillion characters (~7.6 trillion whitespace tokens) covering 193 language varieties, offered in both "deduplicated" and "cleaned" variants.
  • Parallel Corpora: Over 380 million sentence pairs covering 50 languages aligned with English.
  • DocHPLT v2 & MultiHPLT v2: Document-aligned contexts and multi-way pivoted parallel corpora (1,275 language pairs).

For evaluation, the authors trained and tested models against standard benchmarks including Universal Dependencies (UD) treebanks, WikiAnn (for Named Entity Recognition), NorEval (for Norwegian), and standard English LLM benchmarks (HellaSwag, PIQA, OpenBookQA, ARC).

Figure 1: The distribution of documents in the HPLT v2 cleaned dataset by language family and variety. Shortened ISO 639-3 language codes are used here; see the full plots at https://hplt-project.org/datasets/v2.0

Key Insights and Ideas

  • The Internet Archive is a Hidden Treasure: While Common Crawl yields more text per gigabyte (because it targets text-heavy pages), the Internet Archive is an invaluable, non-overlapping source. Crucially, for languages like Chinese and Persian, the Internet Archive actually yielded more total text than Common Crawl.
  • Web Crawlers Are Getting Smarter: Manual inspection revealed that newer Common Crawl data (post-2017) contains roughly half the "unnatural text" (spam/SEO stuffing) of older crawls. This is thanks to the introduction of harmonic centrality ranking algorithms in the crawlers, which prioritize high-quality domains.
  • Aggressive Cleaning Changes Everything: Moving from segment-level filtering to document-level scoring (Trafilatura + Web Docs Scorer) drastically reduced the proportion of short, fragmented segments and boosted downstream model performance significantly compared to HPLT v1.2.

Key Results

The authors proved the value of HPLT v2 by training models from scratch and evaluating them against industry baselines:

  • Masked Language Models (MLMs): BERT models trained on HPLT v2 achieved dominant "win rates" against mBERT, XLM-R, and HPLT v1.2 across downstream tasks like part-of-speech tagging, dependency parsing, and named entity recognition.
Figure 3: Win rates for MLMs at part-of-speech tagging, lemmatisation, dependency parsing, and named entity recognition.
  • Generative Language Models: 1.7B-parameter Llama-architecture models trained on English HPLT v2 matched the performance of the highly praised FineWeb dataset and easily beat HPLT v1.2.
Figure 4: Performance comparison of the trained gener- ative LMs on English.
  • Low-Resource Performance: On Norwegian generative tasks, HPLT v2 performed on par with specialized multilingual datasets like CulturaX and FineWeb-2.
Figure 5: Performance comparison of the trained gener- ative LMs on Norwegian.
  • Machine Translation: MT models trained on HPLT v2 parallel data saw an average jump of +4.2 BLEU points over HPLT v1.2. Combining HPLT v2 with the popular OPUS dataset yielded the best overall results, proving HPLT contains unique, high-value translation pairs.

Limitations and Future Work

Despite its massive scale, HPLT v2 still reflects the systemic biases of the internet: Indo-European languages (especially English, at ~44%) dominate the dataset. The authors also noted residual boilerplate errors (especially from Wikipedia templates) and the ongoing difficulty of filtering out machine-generated text.

A specific technical limitation discovered during evaluation was a punctuation normalization bug that incorrectly converted Chinese, Japanese, and Korean punctuation into Latin equivalents, degrading performance for those scripts. The team plans to resolve this in the next pipeline iteration and focus heavily on expanding coverage for underserved languages.

Summary updated

BibTeX
@misc{burchell2025expanded,
  author = {Laurie Burchell and Ona de Gibert and Nikolay Arefyev and Mikko Aulamo and Marta Bañón and Pinzhen Chen and Mariia Fedorova and Liane Guillou and Barry Haddow and Jan Hajic and Jindrich Helcl and Erik Henriksson and Mateusz Klimaszewski and Ville Komulainen and Andrey Kutuzov and Joona Kytöniemi and Veronika Laippala and Petter Mæhlum and Bhavitvya Malik and Farrokh Mehryary and Vladislav Mikhailov and Nikita Moghe and Amanda Myntti and Dayyán O'Brien and Stephan Oepen and Proyag Pal and Jousia Piha and Sampo Pyysalo and Gema Ramírez-Sánchez and David Samuel and Pavel Stepachev and Jörg Tiedemann and Dusan Varis and Tereza Vojtechová and Jaume Zaragoza-Bernabeu},
  title = {{An Expanded Massive Multilingual Dataset for High-Performance Language Technologies}},
  year = {2025},
  eprint = {2503.10267},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.10267},
}
Figure