AIWiki
Malaysia
Back to all articles
InfrastructuredatasetspretrainingCommon Crawl

FineWeb

4 min readUpdated November 2026
FineWeb
Type
Pretraining text dataset
Maintained by
Hugging Face (HuggingFaceFW)
Released
May 2024
Size
15 trillion tokens (~44 TB)
Source
96 Common Crawl snapshots
Related
FineWeb-Edu, FineWeb2, Common Crawl, The Pile
FineWeb is an openly released dataset of cleaned, filtered and deduplicated web text used to pretrain large language models. Announced by Hugging Face in May 2024 and built from 96 snapshots of Common Crawl, it contains about 15 trillion tokens (roughly 44 TB on disk) and, in controlled ablation experiments, produced better-performing models than any other openly available pretraining corpus at the time of release.[1]

History

Most open LLM pretraining before 2024 relied on lightly processed Common Crawl dumps — corpora whose quality was inherited from whatever the web happened to contain. The FineWeb team, publishing at NeurIPS 2024, treated data processing as an engineering discipline instead: they ran a full-scale ablation study over candidate pipelines, measuring each decision (extraction method, filtering rules, deduplication strategy) by training proxy models and comparing benchmark scores, rather than by intuition.[1][2]

The result was a documented pipeline built on Hugging Face's datatrove library, released alongside the dataset so that the process — not just the output — could be reproduced and adapted.[2]

Processing pipeline

FineWeb's pipeline combines several standard but carefully tuned stages:

  • Extraction — HTML is parsed and boilerplate stripped to recover clean text documents.
  • Filtering — heuristic and model-based classifiers remove low-quality, spammy, boilerplate or toxic content, using metrics such as perplexity against a reference model and a quality classifier.
  • Deduplication — both exact and fuzzy (MinHash-based) deduplication removes repeated documents, which otherwise waste training compute and can cause models to regurgitate training text.
  • Language and PII handling — language identification and the removal of personal identifiers and other sensitive patterns.[2]

FineWeb-Edu and FineWeb2

Two derivatives extend the dataset's reach:

  • FineWeb-Edu — a subset annotated for educational value by an Llama-3-70B classifier, then thresholded. It outperforms other open web datasets on knowledge-heavy benchmarks such as MMLU, ARC and OpenBookQA, and became the default mixture for several open model families.[3]
  • FineWeb2 — a multilingual successor released in June 2025, scaling the same pipeline to over 1,000 languages: 1,868 language-script pairs, about 20 TB of text from almost 100 Common Crawl snapshots, benchmarked with the FineTasks evaluation suite and outperforming older multilingual corpora such as CC-100, mC4 and CulturaX.[4]

Why it matters

Large-model performance is often bounded by data rather than parameters: deduplicated, high-quality text yields faster convergence and better downstream accuracy, while duplicated or junk text wastes compute and encourages memorisation. FineWeb made the strongest open corpus freely downloadable and its recipe reproducible, compressing what had been a secretive competitive advantage (data engineering) into a public standard that academic labs, startups and open-model projects can build on.[1][2]

>Key Takeaways

  • FineWeb is Hugging Face's open 15-trillion-token web corpus, built from 96 Common Crawl snapshots.
  • It was produced by systematic ablation — each filtering decision measured by trained proxy models.
  • FineWeb-Edu targets educational quality; FineWeb2 extends the pipeline to 1,868 language-script pairs including Malay.
  • For Malaysia, it is a provenance-documented route to better Malay-language models and cheaper use of local compute.

See Also

🇲🇾Malaysian Context

🇲🇾 Relevance to Malaysia: FineWeb2's multilingual coverage is the more significant piece locally. Its pipeline reaches over 1,000 languages, including Malay — addressing the scarcity of clean Malay web text that constrains models like ILMU, Mallam and Mesolitica. Rather than scraping ad hoc, Malaysian teams can adopt an auditable, documented recipe for filtering and deduplicating Malay-language corpora — directly supporting MDEC-aligned language technology and national AI talent development.

The dataset also supports sovereignty and compliance: FineWeb is openly licensed with a published provenance trail, which simplifies documentation under the Malaysia AI Governance Framework and PDPA obligations compared to opaque commercial data feeds. Since Malaysia's data-centre expansion (Johor, AI data centres) is increasingly used for training and fine-tuning workloads, having the corpus and pipeline freely downloadable means Malaysian compute can be spent on training rather than on data licensing.

References

  1. ↑Penedo et al. (2024). The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale. https://arxiv.org/abs/2406.17557
  2. ↑Hugging Face. FineWeb: decanting the web for the finest text data at scale. https://huggingface.co/spaces/HuggingFaceFW/blogpost-fineweb-v1
  3. ↑Lozhkov et al. (2024). FineWeb-Edu: the Finest Collection of Educational Content. https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu
  4. ↑Lozhkov et al. (2025). FineWeb2: One Pipeline to Scale Them All. https://arxiv.org/abs/2506.20920