| Kind | dataset | dataset |
|---|
| Published | 2024 | 2024 |
|---|
| License | ODC-By 1.0 (card). Also subject to Common Crawl Terms of Use. | ODC-By 1.0 (card). Also subject to Common Crawl Terms of Use. InfiWebMath configs inherit Infi-MM/InfiMM-WebMath-40B source terms. |
|---|
| License family | Permissive | Permissive |
|---|
| Access | free | Free |
|---|
| Language codes | en | — |
|---|
| Modalities | text | text |
|---|
| Size | 1B to 10B rows | 10M to 100M rows |
|---|
| Downloads (last month) | 419,823 | 41,257 |
|---|
| Likes | 1,312 | 384 |
|---|
| Last updated | 2025-07-11 | 2025-02-06 |
|---|
| Tasks | text-generation | — |
|---|
| Formats | parquet | parquet |
|---|
| Scale | Card: 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. | Card: FineMath-3+ 34B Llama tokens / 21,405,610 docs (YAML dataset_size 137.8 GB / download 65.0 GB / 128 parquet). FineMath-4+ subset 9.6B tokens (paper ~10B) / 6,699,493 docs (39.1 GB / 18.4 GB / 64 files). InfiMM-WebMath-3+ 20.5B / 13,882,669 (96.5 GB / 46.8 GB / 64). InfiMM-WebMath-4+ 8.5B / 6,296,212 (40.0 GB / 19.2 GB / 32). Combined FineMath-3+ with InfiMM-WebMath-3+ advertised 54B tokens. All four configs 48,283,984 rows; YAML download_size sum 149,447,371,427 bytes (~149.4 GB); dataset_size sum ~313.4 GB; 288 parquet shards. size_categories 10M<n<100M. Paper: 7.1B pages / 6.5T tokens before the 5-point keep. Hub 343.8k downloads / 377 likes at check. |
|---|
| Format | parquet (text, id, dump, url, date on later dumps, file_path, language, language_score, token_count, score float64, int_score int64) | parquet. FineMath configs: url, fetch_time, content_mime_type, warc_filename, warc_record_offset, warc_record_length, text, token_count (Llama), char_count, metadata (OWM math-markup JSON), score, int_score, crawl, snapshot_type, language, language_score. InfiWebMath configs: url, metadata, score, int_score, token_count, char_count, text. |
|---|
| Type | Pretraining corpus / educational-quality-filtered English web crawl | Pretraining corpus / educational-quality-filtered English math web crawl |
|---|
| Cost | Free | Free |
|---|
| Languages | English 100% (inherited FineWeb fastText en score >= 0.65). Non-English leftover is FineWeb 2, not this repo. | English 100% (FineWeb language-ID pipeline applied after scoring; non-English dropped). Card: language + language_score on FineMath configs; InfiWebMath configs keep text/url/score/token_count only. |
|---|
| Modality | Text-only | Text-only (Markdown + LaTeX). Source HTML; image-based math not preserved. |
|---|
| Domain | English educational web crawl; general pretraining; Common Crawl HTML filtered for educational quality | mathematical educational web; Common Crawl HTML filtered for middle-/high-school reasoning; LaTeX/Markdown math pretraining |
|---|
| Time period | Common 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. | Re-extracted from Common Crawl WARCs on FineWeb unique URLs (paper: 5.8B unique FineWeb URLs out of CC’s 75B) plus OpenWebMath and InfiMM-WebMath domains. Paper retrieved 7.7B domain-matched URLs then OWM-pipeline re-extract to 7.1B pages / 6.5T tokens before scoring. Viewer samples CC-MAIN-2024-18 and CC-MAIN-2024-22 (`crawl`, `snapshot_type` latest/largest). HF createdAt 2024-11-25; lastModified 2025-02-06. Paper arXiv 2502.02737 (2025-02-04). |
|---|
| Purpose | Open English LLM pretraining corpus of educational web pages filtered from FineWeb with a Llama3-70B-annotated classifier | Public math pretraining corpus of educational web pages with step-by-step solutions, built because OpenWebMath (12B) and InfiMM-WebMath (40B text) were too small and too paper-heavy for SmolLM2 |
|---|
| Used for | HuggingFace 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. | SmolLM2 1.7B (~11T-token multi-stage mix; FineMath introduced when existing math dumps underperformed). Card annealing: FineMath-4+ beats FineMath-3+ and InfiWebMath-4+ on GSM8k/MATH; 50/50 FineMath-3+ + InfiWebMath-3+ ≈ 50–54B tokens matching FineMath-3+. HuggingFaceTB/finemath-classifier released. Hub 343.8k downloads / 377 likes at check. DOI 10.57967/hf/3847. |
|---|
| Authors | Diverse 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. | Public-web authors from Common Crawl math/education sites, plus OpenWebMath and InfiMM-WebMath URL lists. Hugging Face Smol Models Research (HuggingFaceTB) curated. Llama-3.1-70B-Instruct silver labels; multilingual-e5-small then a second classifier. Residual AI-generated web text possible; not quantified. |
|---|
| Bias | English-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. | English-only educational math web. 5-point prompt targets reasoning and middle-/high-school content rather than arXiv-style research (card: advanced academic papers underweighted). Popular educational sites and FineWeb/OWM/InfiMM domains overweighted. FineMath-4+ is a high-score subset of FineMath-3+. Combining FineMath with InfiWebMath without extra cross-dedup is recommended (card: extra dedup of the overlap reduced ablation performance). 13-gram decontam vs GSM8k/MATH/MMLU/ARC. |
|---|
| Text quality | Llama3-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. | Resiliparse then OpenWebMath extraction to preserve LaTeX. Llama-3.1-70B 5-point scores distilled into HuggingFaceTB/finemath-classifier; keep int_score >= 3 (FineMath-3+) or >= 4 (4+). Paper annealing: FineMath-4+ ~2× GSM8k and ~6× MATH vs raw InfiMM-WebMath. Viewer still includes exam-dump pages and course syllabi at score ~3. Image-only notation dropped. Residual CC boilerplate/toxicity possible. |
|---|
| Sample size | default = 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. | Four train configs, no default: finemath-3plus 21,405,610; finemath-4plus 6,699,493 (subset of 3+); infiwebmath-3plus 13,882,669; infiwebmath-4plus 6,296,212 (subset of 3+). FineMath-4+ is not a random sample. No official 10BT-style subsample. |
|---|
| Long context | Mixed (full web documents; typical pages short-to-medium, some long). Ablations used seq 2048. | Mixed (full web documents; exam pages short, textbooks/syllabi longer. SmolLM2 trained as a small LM, not a long-context recipe). |
|---|
| Intermediate steps | Yes (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.py | Yes (FineWeb URL set + Resiliparse probe; Llama-3.1-70B 3-point then domain recall including OWM/InfiMM and FineWeb ‘{’ C4-reject logs; OWM-pipeline re-extract; 5-point Llama-3.1-70B classifier; MinHash-LSH; English LID; 13-gram decontam). Classifier: HuggingFaceTB/finemath-classifier. Decontam logs: HuggingFaceTB/finemath_contamination_report. |
|---|
| Idea quality | High | High |
|---|
| Novelty | High | High |
|---|
| Text conversion | Ready parquet; HF streaming / datatrove ParquetReader recommended. Full dump is several TB. | Ready parquet; load_dataset("HuggingFaceTB/finemath", "finemath-4plus"|"finemath-3plus"|"infiwebmath-3plus"|"infiwebmath-4plus", split="train"). Full dump ~149 GB download. |
|---|
| Collection method | Download | Download |
|---|
| Static | Unknown (HF lastModified 2025-07-11; v1.4.0 added six 2025 dumps; card plans a better educational classifier) | Unknown (HF lastModified 2025-02-06; one-shot CC extraction, not a live crawl refresh) |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | Ungated 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. | Public math pretraining corpus of educational web pages with step-by-step solutions, built because OpenWebMath (12B) and InfiMM-WebMath (40B text) were too small and too paper-heavy for SmolLM2 |
|---|