atlas

Research map / Large language models / Language, safety and interpretability

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

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 22 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces FineWeb, a 15T-token English web pretraining dataset from 96 Common Crawl snapshots, plus FineWeb-Edu (1.3T tokens) filtered by a Llama-3-annotated educational classifier, with ablations documenting each curation choice.

Problem

Open LLM pretraining datasets are poorly documented and often lag proprietary ones; the design choices (text extraction, filtering, deduplication) that most affect downstream performance are not publicly understood.

Approach

Builds a large Common Crawl dataset through systematic data-ablation experiments: trafilatura extraction from WARC, per-snapshot MinHash deduplication (rather than global), C4 and newly derived heuristic filters, and an educational-quality classifier trained on Llama-3-70B annotations to create FineWeb-Edu.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
filter FineWeb for educational content with a minimum score threshold of 3FineWeb · MMLU, 350B tokensaccuracy: 33% -> 37%Helped
filter FineWeb for educational content with a minimum score threshold of 3FineWeb · ARC, 350B tokensscore: 46% -> 57%Helped
extract text from WARC with Trafilatura instead of using WET text (ablation)Common Crawl training data · downstream benchmark suiteperformanceHelped
apply base URL, language, quality, and repetition filtering (ablation)WARC-extracted Common Crawl data · downstream benchmark suiteperformanceHelped
apply global MinHash deduplication across snapshots instead of no deduplication (ablation)base-filtered FineWeb data · aggregate task scoreaggregate scoreNo clear effect
deduplicate each Common Crawl snapshot independently with MinHash (ablation)base-filtered FineWeb data · average benchmark scoreaverage scoreHelped
apply URL deduplication after individual MinHash deduplication (ablation)FineWeb data · downstream benchmark suiteperformanceHurt
apply line deduplication after individual MinHash deduplication (ablation)FineWeb data · downstream benchmark suiteperformanceHurt
apply C4's terminal punctuation filter (ablation)base-filtered, individually deduplicated 2019-18 crawl · HellaSwagperformanceHelped
apply the selected C4 filters except the terminal punctuation filter (ablation)base-filtered, individually deduplicated 2019-18 crawl · HellaSwagperformanceHelped
apply FineWeb's three custom heuristic filters together (ablation)base-filtered, individually deduplicated data with C4 filters · aggregate benchmark scoreaggregate score: about 1%Helped
use the FineWeb-Edu educational filter instead of unfiltered FineWeb (ablation)FineWeb · MMLU, 350B tokensaccuracy: approximately 12%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Common Crawl (96 snapshots) FineWeb RefinedWeb C4 Dolma The Pile SlimPajama RedPajama2 Matrix CC-100 Colossal-OSCAR Paloma

Benchmarks: CommonSenseQA HellaSwag OpenBookQA PIQA SIQA WinoGrande ARC MMLU Paloma

Metrics: accuracy aggregate accuracy perplexity F1

Baselines: RefinedWeb C4 Dolma The Pile SlimPajama RedPajama2 Matrix CC-100 Colossal-OSCAR

Builds on: RefinedWeb C4 MassiveText datatrove

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy