# OpenCoder FineWeb Math Corpus

- **ID:** 1152
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/OpenCoder-LLM/opc-fineweb-math-corpus
- **Authors:** OpenCoder-LLM
- **Published:** 2024
- **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 (auto-classified)
- **Topics:** math-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLM
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Page:** https://papers.projxon.ai/entries/1152

## 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)

## From the source (fetched 2026-10-03)

- **Repository:** OpenCoder-LLM/opc-fineweb-math-corpus (Hugging Face)
- **Created:** Nov 10, 2024 (Hugging Face)
- **Last updated:** Nov 24, 2024 (Hugging Face)
- **Downloads (last month):** 439 (Hugging Face)
- **Likes:** 31 (Hugging Face)
- **Size:** 1M to 10M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Formats:** parquet (Hugging Face)

## 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

## Links

- Dataset: https://huggingface.co/datasets/OpenCoder-LLM/opc-fineweb-math-corpus
- Related: https://arxiv.org/abs/2411.04905
- Related: https://huggingface.co/datasets/OpenCoder-LLM/opc-fineweb-math-corpus
- Related: https://huggingface.co/datasets/OpenCoder-LLM/opc-fineweb-code-corpus
- Related: https://huggingface.co/collections/OpenCoder-LLM/opencoder-datasets-672e6db6a0fed24bd69ef1c2
- Related: https://github.com/OpenCoder-llm/OpenCoder-llm
- Related: https://opencoder-llm.github.io/
- Related: https://huggingface.co/datasets/HuggingFaceFW/fineweb

## 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

- Related: [FineWeb](https://papers.projxon.ai/entries/23) (dataset, #23)
- Related: [OpenCoder Datasets](https://papers.projxon.ai/entries/29) (collection, #29)

## Similar entries

- [UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)](https://papers.projxon.ai/entries/1035) (dataset, #1035)
- [MegaMath](https://papers.projxon.ai/entries/1157) (dataset, #1157)
- [FineWeb-Edu](https://papers.projxon.ai/entries/1088) (dataset, #1088)
- [ReScraper: Unified Scraping and Cleaning of Web Data for Effective LLM Pretraining](https://papers.projxon.ai/entries/785) (paper, #785)
- [daVinci-LLM: Towards the Science of Pretraining](https://papers.projxon.ai/entries/1127) (paper, #1127)
- [FineFineWeb: A Comprehensive Study on Fine-Grained Domain Web Corpus](https://papers.projxon.ai/entries/302) (dataset, #302)
