Notes

FineWeb

For years the recipe behind frontier pretraining data was the one thing nobody published. FineWeb is Hugging Face's answer: around fifteen trillion tokens of cleaned English web text, released openly, with every filtering decision written down and measured.

What is in it

FineWeb is built from roughly a hundred Common Crawl snapshots put through language identification, quality and repetition filters, personal-data redaction and heavy deduplication. One finding ran against intuition: deduplicating each snapshot on its own beat deduplicating globally across all of them, because global dedup strips out exactly the content popular enough to be re-crawled. Choices were settled by pretraining small models on candidate versions and comparing benchmark scores, not by reading samples.

The variants matter
  • FineWeb-Edu keeps only the educational-looking portion, scored by a classifier trained on model-written quality judgements; it is far smaller and beats the full set on knowledge and reasoning benchmarks.
  • FineWeb 2 extends the same pipeline to over a thousand languages.
  • The pipeline itself, datatrove, is open, so the recipe is runnable rather than merely described.
Why it matters

Data curation used to be the invisible half of a model's quality and the easiest place to hide an advantage. FineWeb made it legible: a team with compute and no data department can pretrain on something competitive, and arguments about filtering can now cite evidence instead of folklore.

FineWeb is an open pretraining dataset from Hugging Face: roughly 15 trillion tokens of English web text derived from Common Crawl through documented quality filtering and deduplication. Each filtering decision was validated by training small models and comparing benchmark results. Its FineWeb-Edu subset, filtered for educational content, performs better still on knowledge tasks. It matters because it made frontier-grade pretraining data, and the recipe behind it, publicly reproducible.

To learn language, these systems read an enormous slice of the internet — and the internet is full of junk, spam and the same page copied a thousand times. FineWeb is a cleaned-up version of that pile, given away free by the company Hugging Face. Think of the difference between a skip full of old newspapers and a tidy library. What made it unusual is that the cleaning instructions were published too, along with the tests showing that each step actually helped. Before that, the best teams treated their reading list as a trade secret.