← Datasets

Compare

OpenMathInstruct-2
#1155 · remove
OpenCoder FineWeb Math Corpus
#1152 · remove
Kinddatasetdataset
Published20242024
LicenseCC-BY-4.0 (HF card YAML). Commercially permissive (paper). Llama-3.1-405B-Instruct terms may still apply if used to train a distributed model. GSM8K/MATH seed licenses remain.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 familyPermissivePermissive
AccessFreeFree
Language codesen—
Modalitiestexttext
Size10M to 100M rows1M to 10M rows
Downloads (last month)100,182439
Likes25531
Last updated2024-11-252024-11-24
Tasksquestion-answering, text-generation—
Formatsparquetparquet
ScalePaper/card ~14M question-solution pairs / ~600K unique questions (592K synthesized). YAML train 13,972,791; train_1M 1,000,000; train_2M 2,000,000; train_5M 5,000,000 (fair-downsampled subsets of train — not extra n). YAML download_size 20,208,929,853 bytes (~20.21 GB) / dataset_size 26,215,301,811 bytes (~26.22 GB). usedStorage 87,120,908,513 bytes (~87.12 GB; includes overlapping 1M/2M/5M shards). LFS train 32 parquet ~236.3–237.3 MB; train_1M 3 parquet ~212.9–213.2 MB; train_2M 6 parquet ~216.9–217.4 MB; train_5M 14 parquet ~221.8–222.6 MB. size_categories 10M<n<100M. Hub/datasets-server default train 13,972,791 / 4 columns; datasetsServerInfo numRows 21,972,791 = 13.97M+1M+2M+5M overlapping — do not catalog as extra n. Hub overview 94.0K downloads / 252 likes at check. gated=false.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.
Formatparquet under data/train-*-of-00032.parquet plus fair-downsampled train_1M/2M/5M shards. Columns: problem, generated_solution, expected_answer, problem_source. Single default config with four splits.parquet (url, tag, text, file_path, dump, file_size_in_byte, line_count)
TypeAnnotated synthetic math-reasoning SFT / problem + CoT solution + expected_answerPretraining corpus / math-related FineWeb recall
CostFreeFree
LanguagesEnglish 100% (card language:en). Preview is English GSM8K-style word problems and MATH contest items with LaTeX. No LID table. Per-language percents N/A.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.
ModalityText-only (English + LaTeX). Scaling/SFT diagrams in the repo are not extra n.Text-only (natural language with inline math; no images)
Domainmathematical reasoning; GSM8K/MATH instruction SFT; synthetic chain-of-thoughtmath-related English web; FineWeb-derived pretraining; homework/textbook/STEM pages recalled for a code LLM
Time periodPaper arXiv 2410.01560 (Hub publishedAt 2024-10-02T14:00:09Z). HF createdAt 2024-09-28; lastModified 2024-11-25T20:07:28Z. Seed GSM8K and MATH training sets. One-shot Llama-3.1-405B-Instruct synthesis, not a live crawl.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.
PurposeCommercially permissive math SFT at ~14M scale using an open-weight teacher instead of GPT-gated mixesPublic 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 forPaper OpenMath2-Llama3.1-8B/70B (HF + nemo). Hub collection nvidia/openmath-2. Paper 6 upvotes / 9 linked models at paper-metadata check. Hub overview 94.0K downloads / 252 likes at check. GitHub NVIDIA-NeMo/Skills 1,022 stars / 194 forks at check.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.
AuthorsNVIDIA (Toshniwal, Du, Moshkov, Kisacanin, Ayrapetyan, Gitman; arXiv 2410.01560). Solutions generated by Llama-3.1-405B-Instruct. Seed problems from GSM8K and MATH train. Paper: ~592K of ~600K unique questions are synthesized. Not human contest authors for the augmented slice.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.
BiasGSM8K/MATH-train seed mix plus Llama-3.1-405B-Instruct priors. datasets-server partial statistics on 4,803,150 rows (partial=true, not full 14M): problem_source augmented_math 3,072,758 / math 846,533 / augmented_gsm8k 726,352 / gsm8k 157,507. Paper: question diversity drives scaling; fair-downsampled 1M/2M/5M splits exist for the scaling plot. Distinct from already-cataloged NuminaMath-CoT (GPT-4o, more restrictive) and FineMath (web pretrain, not SFT pairs). nvidia/OpenMathInstruct-1 is the smaller predecessor — do not add as extra n.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 qualityPreview row 0 (augmented_gsm8k camping granola) is a well-posed 5-person × 3-day word problem with boxed 45. Preview row 1 (augmented_math cubes ending 125) is contest-style; expected_answer 2000 is majority-vote on an augmented item — not independently re-solved here. Card: 564 questions longer than 1024 Llama tokens; authors saw no drop after dropping them. Paper: SFT robust to ≤20% low-quality solutions; decontam vs GSM8K/MATH/AMC 2023/AIME 2024/Omni-MATH (lm-sys + manual). Residual: fully synthetic teacher; majority-vote answers on augmented problems.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 sizedefault train 13,972,791. Fair-downsampled train_1M 1,000,000 / train_2M 2,000,000 / train_5M 5,000,000 are subsets — not extra n. No val/test. problem_source is a column not a Hub config. Do not add nvidia/OpenMathInstruct-1 as extra n.Single default train split 5,241,900. Companion code corpus 100.9M is a separate repo, not a config here. No official subsample.
Long contextMixed (short GSM8K items; MATH/augmented CoT). datasets-server partial: generated_solution mean 862 / median 704 chars. Card 564 overlong questions. Exact token histogram Unknown without aggregating.Mixed (full web documents; OpenCoder-8B trained at 8K, 1.5B at 4K).
Intermediate stepsYes (GSM8K/MATH train seeds; Llama-3.1-405B-Instruct solution augmentation + problem-solution augmentation in OpenMath CoT format; majority vote on augmented answers; lm-sys decontam + manual). Pipeline in NVIDIA-NeMo/Skills. Contamination explorer space nvidia/OpenMathInstruct-2-explorer.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 qualityHighHigh
NoveltyHigh (public 14M commercially permissive Llama-3.1-405B math SFT vs already-cataloged NuminaMath-CoT / FineMath)Medium (math counterpart of the already-cataloged OpenCoder FineWeb code recall; still a distinct public dump)
Text conversionReady parquet; load_dataset('nvidia/OpenMathInstruct-2', split='train'). Subsets: split='train_1M'|'train_2M'|'train_5M'. ~20 GB download — streaming recommended. Do not concat train + 1M/2M/5M as extra n.Ready parquet; load_dataset("OpenCoder-LLM/opc-fineweb-math-corpus"); ~9.95 GB download.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2024-11-25; one-shot).Unknown (HF lastModified 2024-11-24; FineWeb later grew past the paper crawl window; this snapshot was not refreshed)
ProcessedUnknownUnknown
SummaryCommercially permissive math SFT at ~14M scale using an open-weight teacher instead of GPT-gated mixesPublic 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)