OpenCoder FineWeb Math Corpus
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)
- Source
- huggingface
- Access
- Free
- 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.
- License family
- Permissive
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
From the source
- Repository
- OpenCoder-LLM/opc-fineweb-math-corpus
- Created
- Nov 10, 2024
- Last updated
- Nov 24, 2024
- Downloads (last month)
- 439
- Likes
- 31
- Size
- 1M to 10M rows
- Modalities
- text
- Formats
- parquet
Topics
math-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLM
Dataset profile
- 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.
- Format
- parquet (url, tag, text, file_path, dump, file_size_in_byte, line_count)
- Type
- Pretraining corpus / math-related FineWeb recall
- 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.
- Cost
- 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.
- Modality
- Text-only (natural language with inline math; no images)
- Domain
- math-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLM
- 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.
- 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)
- 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.
- 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.
- 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).
- 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.
- 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.
- Long context
- Mixed (full web documents; OpenCoder-8B trained at 8K, 1.5B at 4K).
- 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.
- Idea quality
- High
- Novelty
- Medium (math counterpart of the already-cataloged OpenCoder FineWeb code recall; still a distinct public dump)
- Text conversion
- Ready parquet; load_dataset("OpenCoder-LLM/opc-fineweb-math-corpus"); ~9.95 GB download.
- Collection method
- Download
- Static
- Unknown (HF lastModified 2024-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed)
- Processed
- Unknown
Research notes
- Discord posted the OpenCoder-LLM collection (message 1362451409097855268), not this dataset URL. Canonical public math FineWeb dump is this recall; do not add its docs to the 55B Processed FineWeb total on top of the code corpus. GitHub README still links OpenCoder-LLM/fineweb-math-corpus; live repo is opc-fineweb-math-corpus. Same paper as OpenCoder FineWeb Code Corpus already in this CSV. Not in papers_local.csv.
Related entries
- Dataset
FineWeb
FineWeb is a 15-trillion-token (now 18.5T+) dataset of cleaned and deduplicated English web text derived from 96 CommonCrawl snapshots spanning summer 2013 to April 2024. Created by Hugging Face using the datatrove library, its processing pipeline includes URL filtering, Trafilatura text extraction, language filtering, MassiveText quality filters, C4 filters, custom FineWeb filters, MinHash deduplication, and PII reformatting, producing better-performing LLMs than other open pretraining datasets. Published at NeurIPS 2024, it also includes FineWeb-Edu (1.3T tokens of educational content) as a companion dataset.
- Collection
OpenCoder Datasets
The OpenCoder Datasets collection comprises the full reproducible training data pipeline for the OpenCoder code LLM family, including RefineCode (960B tokens of high-quality code across 607 programming languages with 130+ language-specific filtering rules), FineWeb-code-corpus (148GB), FineWeb-math-corpus (10GB), an annealing corpus (24GB, 15.6M examples), and two-stage SFT datasets (4.21M + 436K examples). Released alongside the OpenCoder paper (ACL 2025), it provides complete transparency into the data curation process for training top-tier code LLMs.
Similar entries
- Dataset UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)
- Dataset MegaMath
- Dataset FineWeb-Edu
- Paper ReScraper: Unified Scraping and Cleaning of Web Data for Effective LLM Pretraining
- Paper daVinci-LLM: Towards the Science of Pretraining
- Dataset FineFineWeb: A Comprehensive Study on Fine-Grained Domain Web Corpus