← Datasets

Compare

FineFineWeb: A Comprehensive Study on Fine-Grained Domain Web Corpus
#302 · remove
RLVR-MATH
#288 · remove
Kinddatasetdataset
Published20242024
Licenseapache-2.0mit
License familyPermissivePermissive
Accessfreefree
Language codesenen
Modalitiestexttext
Size1B to 10B rows1K to 10K rows
Downloads (last month)4,379,261163
Likes19420
Last updated2024-12-192024-11-20
Taskstext-classification, text-generation—
Formats—parquet
ScaleCard grand total: 4,425.30B tokens / 6,536,072,879 samples (~6.54B docs; ~677 tok/doc). Recall iterations: iter1 4,010.76B / 5.782B docs (90.6% of tokens); iter2 206.51B / 442M; iter3 208.02B / 312M. usedStorage 23,159,296,534,795 bytes (~23.16 TB / 21.06 TiB). 66,103 JSONL shards across 67 domain dirs. YAML size_categories n>1T (tokens); Hub tags also 1B<n<10B (docs). gated=false. HF 1,164,919 downloads / 167 likes at check.7,500 train examples (full MATH train packaging). ~1.95 MB download.
Formatjsonl per domain (fields url, date, file_path, language_score, token_count, dump, global_id, lang, text, domain, round). ~66k LFS jsonl shards; CS shards ~365–370 MB each.Parquet; columns messages[{role,content}], ground_truth, dataset, constraint_type, constraint
TypePretraining corpus / FineWeb domain recutRLVR-formatted math QA (chat + verifiable answer)
CostFreeFree
LanguagesEnglish 100% (card language:en). Sample fields language_score / lang=en inherited from FineWeb (FineWeb LID threshold 0.65).English math problems (LaTeX)
ModalityText-onlyText only
Domainfine-grained domain English web pretraining; FineWeb-derived topical slices (67 domains)competition-math RL with verifiable outcome rewards
Time periodDerived from FineWeb Common Crawl (card inherits FineWeb dumps). Sample JSONL dates/dumps include CC-MAIN-2017-47 (2017-11-21) and later FineWeb crawls. HF createdAt 2024-12-14; lastModified 2024-12-19. Card bibtex v0.1.0 December 2024. Discord posted 2026-04-06. ArXiv/project/blog still listed as Coming Soon.HF created/lastModified 2024-11-20; Discord mid 1485999191405891757 (2026-03-24); upstream MATH benchmark earlier
PurposeOpen FineWeb recut into 67 DoI domains via iterative FastText+BERT recall, for domain-aware pretraining and domain–benchmark correlation studyPackage MATH train for open-instruct RLVR (binary/outcome reward against ground_truth)
Used forM-A-P domain-web study (card: 28-model BPC–Acc Spearman vs ARC/MMLU/GSM8K/HumanEval/MBPP/TriviaQA). Hub 1,164,919 downloads / 167 likes at check. Siblings: FineFineWeb-sample/test/validation/fasttext-seeddata. Downstream Hub uses Unknown beyond the card analyses.Tulu 3 RLVR training; GRPO/open-instruct math RL experiments
AuthorsPublic-web authors via FineWeb/Common Crawl. Curators M-A-P (Ge Zhang, Xinrun Du, Zhimiao Yu, Zili Wang, Zekun Wang, Wenhu Chen, Qian Liu, Taifeng Wang, Wenhao Huang et al.). URL seeds labeled GPT-4; page labels Qwen2-7B-Instruct then Qwen2-72B-Instruct.AllenAI packaging of Hendrycks MATH train. Sibling mixed-constraints card documents Tulu 3 RL use.
BiasEnglish FineWeb web only. Token mass is media/hobby-heavy: journalism_and_media_communication 463.53B (10.5%); news 352.18B (8.0%); hobby 237.06B (5.4%); health 210.06B; economics 208.87B; computer_science_and_technology 203.16B. Mathematics only 6.18B / 11.0M docs (0.14%). Gamble is distant from all listed benches. Domain URL overlap highest for topicality, pet, atmospheric_science. Classifier-recalled DoI slices inherit FineWeb English-web and GPT/Qwen label priors.Inherits MATH competition-problem distribution (algebra/geometry/etc.); English only; no IF constraints in this MATH-only slice
Text qualityStarts from FineWeb (Trafilatura + heuristics + MinHash) then extra exact+MinHash dedup. Per-domain FastText coarse recall + frozen BERT fine recall over 3 iterations. Residual FineWeb boilerplate and domain-classifier false positives remain. Card: code benches (MBPP/HumanEval) sit far from almost all domains (math closer). Gamble poorly aligned with standard benches.Independently previewed train rows: coherent MATH questions in messages with ground_truth answers. Card itself has no narrative README.
Sample size67 domain directories (not HF configs). Largest shard counts: journalism 7,014; news 5,818; hobby 4,295; artistic 3,404; CS 2,974. Smallest: topicality 2 shards / 151k docs. No official train/val/test split on this repo (val/test are separate HF datasets). round field marks recall iteration 1–3.Single train split 7,500
Long contextMixed (full FineWeb pages; mean ~677 tokens/doc). Not a long-document corpus.No
Intermediate stepsYes (FineWeb dedup; GPT-4 top-1M root-URL DoI/DoNI labels; Qwen2-7B 500k pos/neg FastText coarse recall; Qwen2-72B 100k/50k BERT fine recall; 3 coarse–fine iterations with FastText retrained and BERT frozen).No gold CoT required for RLVR — model generates reasoning; reward from answer check
Idea qualityHighHigh (standard RLVR packaging)
NoveltyHigh (public 4.4T FineWeb recut into 67 labeled domains with iterative dual-stage recall)Low-Medium (format wrapper of MATH for RLVR; valuable for Tulu 3 reproducibility)
Text conversionReady JSONL. Streaming required (~23.2 TB). load by domain directory. Companion FineFineWeb-sample is a smaller sibling, not an official 10BT nested sample on this repo.Ready: load_dataset("allenai/RLVR-MATH", split="train")
Collection methodDownloadDownload / datasets.load_dataset
StaticUnknown (HF lastModified 2024-12-19; one-shot v0.1.0; arXiv still Coming Soon)Yes (2024-11-20)
ProcessedUnknownYes (chat-templated RLVR format)
SummaryFineFineWeb is a large-scale web corpus that classifies FineWeb data into fine-grained domains (e.g., aerospace, etc.) using a multi-iteration pipeline involving GPT-4 URL labeling, FastText coarse recall, and BERT fine recall. It contains ~4.89B rows across multiple domains with billions of tokens each, enabling researchers to build domain-specific pretraining mixtures with explicit control over domain composition.RLVR-MATH is a 7,500-sample dataset consisting of the MATH training set reformatted for reinforcement learning with verifiable rewards (RLVR), with each example containing a math problem (as messages), a ground-truth answer string, and the source dataset label. It was used to train the final Tulu 3 models with RL as part of AI2's open-instruct ecosystem, enabling rule-based reward verification of model-generated math solutions.