The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale

Guilherme Penedo, Hynek Kydlícek, Loubna Ben Allal, Anton Lozhkov, Margaret Mitchell +3 more
2/3/2026

No official code found. Best implementation: ellaine2022/FineWeb-Seminar-Poster---Resources-References (0 stars, last commit 2026-01-21).

Abstract

The performance of a large language model (LLM) depends heavily on the quality and size of its pretraining dataset. However, the pretraining datasets for state-of-the-art open LLMs like Llama 3 and Mixtral are not publicly available and very little is known about how they were created. In this work, we introduce FineWeb, a 15-trillion token dataset derived from 96 Common Crawl snapshots that produces better-performing LLMs than other open pretraining datasets. To advance the understanding of how best to curate high-quality pretraining datasets, we carefully document and ablate all of the design choices used in FineWeb, including in-depth investigations of deduplication and filtering strategies. In addition, we introduce FineWeb-Edu, a 1.3-trillion token collection of educational text filtered from FineWeb. LLMs pretrained on FineWeb-Edu exhibit dramatically better performance on knowledge- and reasoning-intensive benchmarks like MMLU and ARC. Along with our datasets, we publicly release our data curation codebase and all of the models trained during our ablation experiments.

View on arXivView PDF

Code Implementations(1)

his repository accompanies a seminar poster examining The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale (Penedo et al., 2024) from an archaeologist perspective, with an emphasis on prior and subsequent work. It provides references and additional resources to support and contextualize the poster content.

00Jan 20, 20269 months ago

Similar Papers

Cite this paper

@article{penedo2026fineweb,
  title  = {The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale},
  author = {Guilherme Penedo and Hynek Kydlícek and Loubna Ben Allal and Anton Lozhkov and Margaret Mitchell and Colin Raffel and L. V. Werra and Thomas Wolf},
  year   = {2026},
  eprint = {2406.17557},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2406.17557},
  url    = {https://arxiv.org/abs/2406.17557},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17557.svg)](https://codeofpaper.com/paper/2406.17557)

Discussion