| Kind | dataset | dataset |
|---|
| Published | 2024 | 2024 |
|---|
| License | ODC-By (HF card YAML odc-by). FineWeb-Edu-dedup also subject to Common Crawl Terms of Use. python-edu inherits Stack-v2 / SWH / GitHub licenses (card: refer to the-stack-v2). Mixtral-8x7B-Instruct-v0.1 terms may still apply to Cosmopedia v2 if used to train a distributed model. | 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 | 100M to 1B rows | 10M to 100M rows |
|---|
| Downloads (last month) | 51,249 | 41,257 |
|---|
| Likes | 492 | 384 |
|---|
| Last updated | 2024-09-06 | 2025-02-06 |
|---|
| Formats | parquet | parquet |
|---|
| Scale | Hub 237.0M rows across 3 configs. cosmopedia-v2 train 39,134,000 / 6 columns / 104 parquet / 122.4 GB download / YAML dataset_size 212,503,640,747 bytes (~212.5 GB) / blog 28B tokens. fineweb-edu-dedup train 190,168,005 / 3 columns / 234 parquet / 550.1 GB download / YAML dataset_size 957,570,164,451 bytes (~957.6 GB) / blog 220B tokens. python-edu train 7,678,448 / 6 columns / 2 parquet / 643.9 MB — metadata only (blob_id/repo_name/path/score; no file text on Hub); blog 4B tokens after SWH S3 download. size_categories 100M<n<1B. Mix ~248B public text tokens (28B+220B) plus 4B Python if SWH fetch succeeds. usedStorage Unknown (do not sum overlapping FineWeb-Edu standalone). Hub overview 662.2K downloads / 480 likes at check. gated=false. | 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 in three Hub configs (cosmopedia-v2, fineweb-edu-dedup, python-edu). cosmopedia-v2 columns: prompt, text, token_length, audience, format, seed_data. fineweb-edu-dedup: text, id, metadata. python-edu: blob_id, repo_name, path, length_bytes, score, int_score. | 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 mix / synthetic textbooks + educational web + Python-edu metadata | Pretraining corpus / educational-quality-filtered English math web crawl |
|---|
| Cost | Free | Free |
|---|
| Languages | English 100% (card language:en). FineWeb-Edu-dedup preview language=en / language_score 0.928. Cosmopedia v2 Mixtral English textbooks. python-edu is Python source if fetched. No LID percent table. Per-language percents N/A. | 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 (English web/textbooks + Python source if downloaded). No images. | Text-only (Markdown + LaTeX). Source HTML; image-based math not preserved. |
|---|
| Domain | SLM pre-training; synthetic textbooks; educational web; educational Python | mathematical educational web; Common Crawl HTML filtered for middle-/high-school reasoning; LaTeX/Markdown math pretraining |
|---|
| Time period | Blog 2024-07-16. HF createdAt 2024-07-15; lastModified 2024-09-06 (Hub Updated 6 Sep 2024). Cosmopedia v2 Mixtral generation; FineWeb-Edu from FineWeb CC; python-edu from Stack-v2-train-full-ids. One-shot mix, not a live crawl. | 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 | Train small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mix | 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 | SmolLM 135M/360M (600B tokens from this mix) and SmolLM 1.7B (1T tokens). Hub overview 662.2K downloads / 480 likes at check. Distinct from already-cataloged Cosmopedia (v1) and FineWeb-Edu (full 1.3T). | 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 | Ben Allal, Lozhkov, Penedo, Wolf, von Werra (Hugging Face TB; blog 2024-07-16). Cosmopedia v2 generated by Mixtral-8x7B-Instruct-v0.1. FineWeb-Edu web authors from Common Crawl. python-edu from GitHub via Stack-v2 / Software Heritage. | 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 | Educational-web + Mixtral synthetic textbooks (BISAC 34k topics; blog 40% middle-school / 30% college / 30% mix+stories) + high-score Python. FineWeb-Edu-dedup is a 220B-token subset of already-cataloged FineWeb-Edu — not extra FineWeb-Edu n. Cosmopedia v2 is the Mixtral successor of already-cataloged Cosmopedia v1 — do not concat v1 as extra n. python-edu needs gated Stack v2 / SWH (same caveat as skipped HuggingFaceTB/python-edu and stack-edu). | 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 | cosmopedia-v2 preview rows 0–1 are fluent college-audience textbooks (Ruangguru distance-learning / induction pan-searing) seeded from FineWeb, token_length 805 and 793. fineweb-edu-dedup preview is an AACAP 2011 parent-help fact sheet (edu score 3.375 / 755 tok / CC-MAIN-2013-20). python-edu preview is metadata only (blob_id, Fib_circle.py, score 3.84 → int_score 4). Residual: Mixtral synthetic; CC boilerplate; python-edu text not on Hub. | 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 | Three Hub configs, not one concat: cosmopedia-v2 39,134,000; fineweb-edu-dedup 190,168,005; python-edu 7,678,448 metadata. No val/test. Do not add HuggingFaceTB/python-edu standalone (annotations-only) or HuggingFaceTB/cosmopedia v1 as extra n. | 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 (Cosmopedia v2 textbooks; FineWeb-Edu pages, preview 755 tok). Exact token histogram Unknown; blog 28B/220B/4B. | Mixed (full web documents; exam pages short, textbooks/syllabi longer. SmolLM2 trained as a small LM, not a long-context recipe). |
|---|
| Intermediate steps | Yes (BISAC topics + FineWeb retrieval → Mixtral Cosmopedia v2; FineWeb-Edu classifier + dedup 220B; Llama3-annotated Python-edu scorer ≥4 on Stack-v2-train). Blog huggingface.co/blog/smollm. | 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 (public SmolLM mix; Cosmopedia v2 39M is not already-cataloged Cosmopedia v1) | High |
|---|
| Text conversion | Ready parquet for cosmopedia-v2 and fineweb-edu-dedup; streaming required (~672 GB download those two). python-edu requires boto3 S3 fetch from softwareheritage (card: ~6h on 16-core us-east-1); do not treat 7.7M metadata rows as text tokens. load_dataset('HuggingFaceTB/smollm-corpus', 'cosmopedia-v2', split='train'). Do not concat with already-cataloged Cosmopedia / FineWeb-Edu as extra n. | 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 2024-09-06; one-shot). | Unknown (HF lastModified 2025-02-06; one-shot CC extraction, not a live crawl refresh) |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | Train small LMs (SmolLM 135M/360M/1.7B) on a curated educational+synthetic mix | 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 |
|---|