← Datasets

Compare

OpenCoder FineWeb Math Corpus
#1152 · remove
FineMath
#1151 · remove
Kinddatasetdataset
Published20242024
LicenseODC-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 familyPermissivePermissive
AccessFreeFree
Modalitiestexttext
Size1M to 10M rows10M to 100M rows
Downloads (last month)43941,257
Likes31384
Last updated2024-11-242025-02-06
Formatsparquetparquet
ScaleHF: 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.
Formatparquet (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.
TypePretraining corpus / math-related FineWeb recallPretraining corpus / educational-quality-filtered English math web crawl
CostFreeFree
LanguagesEnglish 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.
ModalityText-only (natural language with inline math; no images)Text-only (Markdown + LaTeX). Source HTML; image-based math not preserved.
Domainmath-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLMmathematical educational web; Common Crawl HTML filtered for middle-/high-school reasoning; LaTeX/Markdown math pretraining
Time periodFineWeb 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).
PurposePublic 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 forOpenCoder-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.
AuthorsPublic-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.
BiasMath-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 qualityFineWeb-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 sizeSingle 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 contextMixed (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 stepsYes (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 qualityHighHigh
NoveltyMedium (math counterpart of the already-cataloged OpenCoder FineWeb code recall; still a distinct public dump)High
Text conversionReady 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 methodDownloadDownload
StaticUnknown (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)
ProcessedUnknownUnknown
SummaryPublic 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