← Datasets

Compare

FineWeb-Edu
#1088 · remove
MathInstruct
#1169 · remove
Kinddatasetdataset
Published20242023
LicenseODC-By 1.0 (card). Also subject to Common Crawl Terms of Use.MIT (HF card YAML) for the compilation. Subset licenses (card table): GSM8K MIT; GSM8K-RFT not listed; AQuA-RAT Apache-2.0; MATH MIT; TheoremQA MIT; Camel-Math CC BY-NC 4.0; NumGLUE Apache-2.0; MathQA Apache-2.0; newly curated MIT. GPT-4 terms may still apply to the ✯ slices if used to train a distributed model.
License familyPermissivePermissive
AccessfreeFree
Language codesenen
Modalitiestexttext
Size1B to 10B rows100K to 1M rows
Downloads (last month)419,82315,208
Likes1,312307
Last updated2025-07-112024-05-15
Taskstext-generationtext-generation
Formatsparquetjson
ScaleCard: 1.3T gpt2 tokens at educational threshold >=3 (paper: ~92% of FineWeb dropped). v1.3.0 added ~35B tokens on reprocessed 2024 dumps; v1.4.0 added six 2025 dumps (new token total not retabulated on the card). HF default: 1,525.2M documents, 4,522.7 GB parquet (2,410 files). usedStorage 6,190,715,174,200 bytes (~6.19 TB); 3,038 siblings. Samples: sample-10BT 9.7M docs / 28.5 GB; sample-100BT 97.3M / 286.4 GB; sample-350BT 339.3M / 998.1 GB. Companion FineWeb-Edu-score-2 (threshold >=2): 5.4T tokens / usedStorage ~20.06 TB / 14,947 downloads / 89 likes. size_categories n>1T. DOI 10.57967/hf/2497.Paper Table 1 260K instruction–response pairs. Hub/datasets-server default train 262.0K / datasetsServerInfo numRows 262,039 / 3 columns / 1 parquet 99.1 MB. LFS MathInstruct.json 212.5 MB. size_categories 100K<n<1M. usedStorage Unknown. Hub overview 182.1K downloads / 306 likes at check. gated=false. Paper source counts (not extra overlapping n; sum 253.8K vs paper 260K): AQuA-RAT CoT 90K; Camel-Math CoT 50K; GSM8K-RFT CoT 28K; MathQA PoT 25K; GSM8K PoT 14K; NumGLUE PoT 13K; AQuA-RAT PoT 9.7K; GSM8K CoT 7K; MATH CoT 7K; MATH PoT 7K; College-Math CoT 1.8K; TheoremQA PoT 700; TheoremQA CoT 600.
Formatparquet (text, id, dump, url, date on later dumps, file_path, language, language_score, token_count, score float64, int_score int64)JSON (MathInstruct.json) plus Hub parquet convert. Columns: source, output, instruction. Single default config / train split. source paths like data/CoT/aqua_rat.json, data/PoT/aqua_rat_filtered.json, data/CoT/gsm_rft.json, data/PoT/numglue.json.
TypePretraining corpus / educational-quality-filtered English web crawlAnnotated math-reasoning SFT / Alpaca instruction + CoT or PoT output + source
CostFreeFree
LanguagesEnglish 100% (inherited FineWeb fastText en score >= 0.65). Non-English leftover is FineWeb 2, not this repo.English 100% (card language:en). Preview is English GRE/GMAT/GSM8K-style items plus Python PoT. No LID table. Per-language percents N/A.
ModalityText-onlyText-only (English + LaTeX + Python PoT). No images.
DomainEnglish educational web crawl; general pretraining; Common Crawl HTML filtered for educational qualitymathematical reasoning; hybrid CoT + PoT instruction SFT; grade-school through college math
Time periodCommon Crawl dumps Summer 2013–June 2025 (card v1.4.0; same WARC window as FineWeb). Parquet-size share of the 4,522 GB per-dump total: 2013 1.4%; 2014 5.8%; 2015 6.8%; 2016 6.2%; 2017 10.7%; 2018 10.0%; 2019 9.8%; 2020 7.9%; 2021 9.2%; 2022 7.1%; 2023 7.1%; 2024 11.0%; 2025 6.9%. Paper original used FineWeb through April 2024. Per-document crawl date in `date` on later dumps.Paper arXiv 2309.05653 (Hub publishedAt 2023-09-11T17:47:22.000Z). HF createdAt 2023-09-11; lastModified 2024-05-15T00:06:46Z. Seed GSM8K/MATH/AQuA-RAT/MathQA/NumGLUE/Camel-Math/TheoremQA. One-shot GPT-4 hybrid CoT/PoT curation, not a live contest crawl.
PurposeOpen English LLM pretraining corpus of educational web pages filtered from FineWeb with a Llama3-70B-annotated classifierLightweight hybrid-rationale math instruction tuning so open models generalize beyond a single contest set (MAmmoTH)
Used forHuggingFace FineWeb-Edu 1.8B ablation (350B tokens; HuggingFaceFW/ablation-model-fineweb-edu). SmolLM / SmolLM2 via HuggingFaceTB/smollm-corpus FineWeb-Edu subset (card: further dedup of this repo did not change 1.8B/350B ablations). MiniCPM Ultra-FineWeb paper compared against FineWeb-edu. Many later papers_local pretrains (Titans, LT2, GDN-2, OPUS, Q-Sparse, SPS). Hub 397,788 downloads / 1,257 likes at check.Paper MAmmoTH / MAmmoTH-Coder 7B–70B (Llama-2 and Code Llama). Hub overview 182.1K downloads / 306 likes at check. Paper 11 upvotes / 26 linked models / GitHub TIGER-AI-Lab/MAmmoTH 383 stars at paper-metadata check. Distinct from already-cataloged MetaMathQA (GPT-3.5 bootstrap) / OpenMathInstruct-2 (Llama-3.1-405B 14M) / NuminaMath-1.5.
AuthorsDiverse public-web authors across Common Crawl. Hugging Face FineWeb team curated. Educational-score labels from Llama3-70B-Instruct on 500k FineWeb samples; Snowflake-arctic-embed-m regressor applied at scale. Residual AI-generated web text possible; not quantified on the card.Yue, Qu, Zhang, Fu, Huang, Sun, Su, Chen (Ohio State / Waterloo / HKUST / Edinburgh / 01.AI; arXiv 2309.05653). Human contest/exam authors for GSM8K/MATH/AQuA-RAT/MathQA/NumGLUE seeds. New rationales (paper ✯): GPT-4 CoT/PoT on TheoremQA, College-Math, GSM8K PoT, AQuA-RAT PoT, MATH PoT. Camel-Math is GPT-4 unvalidated. GSM8K-RFT is Llama-generated then validated.
BiasEnglish-only educational web. Classifier prompt targeted grade-school/middle-school knowledge to avoid over-keeping arXiv-style pages; threshold 3 still retains some high-level educational text. Educational/instruction/textbook-like pages overweighted vs raw FineWeb. URL NSFW/malware blocklist still leaves toxic/harmful pages. No Wikipedia-likeness or toxicity classifiers (same dialect/identity rationale as FineWeb). Code and site-specific curated sources underrepresented.AQuA-RAT CoT 90K is the largest slice (GRE/GMAT MCQ). Camel-Math 50K is GPT-4 unvalidated college-style. Hybrid CoT+PoT but AQuA-heavy. GSM8K/MATH train seeds only (paper). Distinct from already-cataloged MetaMathQA / OpenMathInstruct-1/2 / NuminaMath-1.5. TIGER-Lab/WebInstructFull is MAmmoTH2 web-mined instructions (CC BY-NC) — not extra n here.
Text qualityLlama3-70B 0–5 educational scores distilled into a Snowflake-arctic-embed-m regressor (binary F1 82% at threshold 3). 1.8B/350B ablations beat FineWeb and other open web mixes on MMLU/ARC/OpenBookQA; threshold >3 helps knowledge benches but hurts HellaSwag/PIQA. Residual FineWeb boilerplate/toxicity remains. Classifier inference over original FineWeb 15T took ~6k H100 GPU hours.Preview row 0 (AQuA parsecs: 6.52e5 ly / 3.26 = 2e5) and row 1 (COMMON permutations 6!/(2!2!)=180) are well-posed with matching answers. Row 2 PoT AQuA (team shooting 84×6 then 92→85) executes to 497. GPT-4 PoT slices were execution-filtered against gold (paper). Residual: AQuA-RAT human CoT is a known-noisy rationale set; Camel-Math unvalidated; College-Math 1.8K GPT-4 unvalidated; not independently re-solved beyond preview 0–2 here.
Sample sizedefault = all dumps (1,525.2M). One train config per CC-MAIN dump (110 dumps). Nested random samples sample-10BT / sample-100BT / sample-350BT (10BT sampled from 100BT from 350BT). FineWeb-Edu-score-2 is a separate looser-threshold repo, not a config here.Single default train 262,039. No val/test. source is a column not a Hub config. Paper 260K vs Hub 262,039 — catalog Hub 262,039. Do not add akjindal53244/Arithmo-Data (548,761 remix) or TIGER-Lab/WebInstructFull as extra n.
Long contextMixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048.No (short exam/contest items; PoT is a short Python block). Exact token histogram Unknown without aggregating.
Intermediate stepsYes (FineWeb URL+trafilatura+LID+Gopher/C4/custom filters+per-dump MinHash, then Llama3-70B annotation of 500k samples, arctic-embed-m regression, keep int_score >= 3). Classifier training/inference: github.com/huggingface/cosmopedia/tree/main/classification. FineWeb pipeline: github.com/huggingface/datatrove/blob/main/examples/fineweb.pyYes (compile 7 existing rationale sets; GPT-4 new CoT/PoT on selected sets; drop GPT-4 programs whose execution mismatches gold; unify to Alpaca). Code at github.com/TIGER-AI-Lab/MAmmoTH.
Idea qualityHighHigh
NoveltyHighHigh (public 262k hybrid CoT+PoT landmark vs already-cataloged MetaMathQA 395k / OpenMathInstruct-2 14M)
Text conversionReady parquet; HF streaming / datatrove ParquetReader recommended. Full dump is several TB.Ready JSON/parquet; load_dataset('TIGER-Lab/MathInstruct', split='train'). ~213 MB JSON / 99.1 MB parquet — no streaming required. Do not concat TIGER-Lab/WebInstructFull or already-cataloged MetaMathQA / OpenMathInstruct-2 as extra n.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans a better educational classifier)Unknown (HF lastModified 2024-05-15; one-shot).
ProcessedUnknownUnknown
SummaryUngated Hugging Face FineWeb-Edu educational subset of FineWeb (same paper arXiv 2406.17557). Hub/datasets-server ~3.497B rows across default+per-dump configs / parquet ~10.36 TB / usedStorage ~6.19 TB. Card ~1.3T gpt2 tokens at educational threshold >=3 (FineWeb-Edu-score-2 is the separate 5.4T threshold-2 sibling). ODC-By 1.0 + Common Crawl ToU. Already deep-eval'd in datasets_local.Lightweight hybrid-rationale math instruction tuning so open models generalize beyond a single contest set (MAmmoTH)