| Kind | dataset | dataset |
|---|
| Published | 2024 | 2024 |
|---|
| License | ODC-By 1.0 on this card. Built from FineWeb (ODC-By 1.0 + Common Crawl ToU). Sibling opc-fineweb-code-corpus is MIT. | 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 |
|---|
| Modalities | text | text |
|---|
| Size | 1M to 10M rows | 10M to 100M rows |
|---|
| Downloads (last month) | 439 | 41,257 |
|---|
| Likes | 31 | 384 |
|---|
| Last updated | 2024-11-24 | 2025-02-06 |
|---|
| Formats | parquet | parquet |
|---|
| Scale | HF: 5,241,900 train docs; size_categories 1M<n<10M; YAML dataset_size 18,159,796,472 bytes (~18.2 GB); download_size 9,949,701,917 bytes (~9.95 GB); 37 parquet shards ~268–273 MB each. Paper Table 2: Processed FineWeb 55B tokens (5.7% of RefineCode 960B) covering this repo plus opc-fineweb-code-corpus (100,920,235 docs / ~148 GB download) — math-only token count is not split out on this card. Hub 17.6k downloads / 31 likes at check. | 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 (url, tag, text, file_path, dump, file_size_in_byte, line_count) | 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 / math-related FineWeb recall | Pretraining corpus / educational-quality-filtered English math web crawl |
|---|
| Cost | Free | Free |
|---|
| Languages | English 100% (inherited FineWeb fastText en score >= 0.65). Sampled `tag` values are "math". OpenCoder models also train Chinese from other web sources, 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 (natural language with inline math; no images) | Text-only (Markdown + LaTeX). Source HTML; image-based math not preserved. |
|---|
| Domain | math-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLM | mathematical educational web; Common Crawl HTML filtered for middle-/high-school reasoning; LaTeX/Markdown math pretraining |
|---|
| Time period | FineWeb Common Crawl dumps inherited in `dump` (viewer samples CC-MAIN-2016-18, CC-MAIN-2019-47; FineWeb original window Summer 2013–April 2024). HF createdAt 2024-11-10; lastModified 2024-11-24. Paper arXiv 2411.04905 (2024-11-07). Same snapshot window as opc-fineweb-code-corpus. | 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 | Public FineWeb math slice of OpenCoder pretraining: math-related pages recalled with iterative fastText (paper: part of RefineCode’s ~75B code-related web tokens / 55B Processed FineWeb) | 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 | OpenCoder-8B-Base (2.5T tokens, 90% raw code / 10% code-related web). Companion of already-cataloged opc-fineweb-code-corpus. GitHub OpenCoder-llm 2,105 stars at the code-corpus check. Discord posted the OpenCoder-LLM collection. Hub 17.6k downloads / 31 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 | Public-web authors from FineWeb/Common Crawl (Chegg-style homework, textbook blurbs, STEM blogs). OpenCoder-LLM / INF / M-A-P curated. Residual AI-generated web text possible; not quantified. | 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 | Math-homework/tutorial-like English web overweighted vs raw FineWeb. Three-round fastText recall from Autonomous Data Selection seeds (same recipe as the code recall). Viewer samples include Chegg homework snippets and German bookstore textbook blurbs tagged math. High-resource English STEM; not a contest-math QA set. Much smaller than the code FineWeb sibling (~20× fewer docs). | 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 | FineWeb-filtered then fastText math recall. Mixed: genuine problem statements and textbook prose plus SEO/bookstore pages. Residual FineWeb toxicity/boilerplate remains. Not the RefineCode raw-code heuristic set. | 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 | Single default train split 5,241,900. Companion code corpus 100.9M is a separate repo, not a config here. No official subsample. | 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; OpenCoder-8B trained at 8K, 1.5B at 4K). | 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+heuristics+MinHash, then 3-round fastText recall). Paper also recalls math from Common Crawl, SkyPile, AutoMathText — those slices are not this repo. | 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 | Medium (math counterpart of the already-cataloged OpenCoder FineWeb code recall; still a distinct public dump) | High |
|---|
| Text conversion | Ready parquet; load_dataset("OpenCoder-LLM/opc-fineweb-math-corpus"); ~9.95 GB download. | 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-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed) | Unknown (HF lastModified 2025-02-06; one-shot CC extraction, not a live crawl refresh) |
|---|
| Processed | Unknown | Unknown |
|---|
| Summary | Public FineWeb math slice of OpenCoder pretraining: math-related pages recalled with iterative fastText (paper: part of RefineCode’s ~75B code-related web tokens / 55B Processed FineWeb) | 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 |
|---|