# OpenMathInstruct-2

- **ID:** 1155
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/nvidia/OpenMathInstruct-2
- **Authors:** nvidia
- **Published:** 2024
- **Source:** huggingface
- **Language:** en
- **Access:** Free
- **License:** CC-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.
- **License family:** Permissive (auto-classified)
- **Topics:** mathematical reasoning; GSM8K/MATH instruction SFT; synthetic chain-of-thought
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Page:** https://papers.projxon.ai/entries/1155

## Summary

Commercially permissive math SFT at ~14M scale using an open-weight teacher instead of GPT-gated mixes

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

- **Repository:** nvidia/OpenMathInstruct-2 (Hugging Face)
- **Created:** Sep 28, 2024 (Hugging Face)
- **Last updated:** Nov 25, 2024 (Hugging Face)
- **Downloads (last month):** 100,182 (Hugging Face)
- **Likes:** 255 (Hugging Face)
- **Size:** 10M to 100M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** question-answering, text-generation (Hugging Face)
- **Formats:** parquet (Hugging Face)

## Dataset profile

- **Scale:** Paper/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.
- **Format:** parquet 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.
- **Type:** Annotated synthetic math-reasoning SFT / problem + CoT solution + expected_answer
- **License:** CC-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.
- **Cost:** Free
- **Languages:** English 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.
- **Modality:** Text-only (English + LaTeX). Scaling/SFT diagrams in the repo are not extra n.
- **Domain:** mathematical reasoning; GSM8K/MATH instruction SFT; synthetic chain-of-thought
- **Time period:** Paper 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.
- **Purpose:** Commercially permissive math SFT at ~14M scale using an open-weight teacher instead of GPT-gated mixes
- **Used for:** Paper 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.
- **Authors:** NVIDIA (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.
- **Bias:** GSM8K/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.
- **Text quality:** Preview 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.
- **Sample size:** default 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.
- **Long context:** Mixed (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.
- **Intermediate steps:** Yes (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.
- **Idea quality:** High
- **Novelty:** High (public 14M commercially permissive Llama-3.1-405B math SFT vs already-cataloged NuminaMath-CoT / FineMath)
- **Text conversion:** Ready 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.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2024-11-25; one-shot).
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/nvidia/OpenMathInstruct-2
- Related: https://arxiv.org/abs/2410.01560
- Related: https://huggingface.co/papers/2410.01560
- Related: https://huggingface.co/datasets/nvidia/OpenMathInstruct-2
- Related: https://huggingface.co/collections/nvidia/openmath-2-66fb142317d86400783d2c7b
- Related: https://github.com/NVIDIA-NeMo/Skills
- Related: https://huggingface.co/spaces/nvidia/OpenMathInstruct-2-explorer
- Related: https://huggingface.co/nvidia/OpenMath2-Llama3.1-8B
- Related: https://huggingface.co/datasets/nvidia/OpenMathInstruct-1

## Research notes

- Dump-adjacent public corpus (not in data-source-dump.jsonl). gated=false; public; CuratorBote listed README plus 32+3+6+14 LFS parquet. Catalog YAML train 13,972,791 / paper ~14M / ~600K unique questions, not datasetsServerInfo 21,972,791. Cite Toshniwal et al. 2024 arXiv 2410.01560. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export. Substituted ahead of Hub-gated nvidia/OpenMathReasoning / nvidia/Nemotron-CC-Math-v1; skipped open-web-math/open-web-math (FineMath already cataloged as the stronger successor) and EleutherAI/first_half_math (3,750).

## Related entries

- Related: [OpenMathInstruct-1](https://papers.projxon.ai/entries/1165) (dataset, #1165)

## Similar entries

- [Ceiling of a Task: When Can a Transformer Succeed Without Its Chain of Thought?](https://papers.projxon.ai/entries/846) (paper, #846)
- [Allspark: Weak to Strong Transfer via Alternating Chain of Thought](https://papers.projxon.ai/entries/791) (paper, #791)
- [Not All LLM Reasoning is Visible in the Chain-of-Thought](https://papers.projxon.ai/entries/463) (paper, #463)
- [Thought Branches: Interpreting LLM Reasoning Requires Resampling](https://papers.projxon.ai/entries/750) (paper, #750)
- [A Theoretical Understanding of Chain-of-Thought: Coherent Reasoning and Error-Aware Demonstration](https://papers.projxon.ai/entries/938) (paper, #938)
- [Opus 4.7 Chain-of-Thought Reasoning](https://papers.projxon.ai/entries/344) (dataset, #344)
