Papers › OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset
OpenMathInstruct-1: A 1.8 Million Math Instruction Tuning Dataset
Shubham Toshniwal, Ivan Moshkov, Sean Narenthiran, Daria Gitman, Fei Jia, Igor Gitman
Recent work has shown the immense potential of synthetically generated datasets for training large language models (LLMs), especially for acquiring targeted skills. Current large-scale math instruction tuning datasets such as MetaMathQA (Yu et al., 2024) and MAmmoTH (Yue et al., 2024) are constructed using outputs from closed-source LLMs with commercially restrictive licenses. A key reason limiting the use of open-source LLMs in these data generation pipelines has been the wide gap between the mathematical skills of the best closed-source LLMs, such as GPT-4, and the best open-source LLMs. Building on the recent progress in open-source LLMs, our proposed prompting novelty, and some brute-force scaling, we construct OpenMathInstruct-1, a math instruction tuning dataset with 1.8M problem-solution pairs. The dataset is constructed by synthesizing code-interpreter solutions for GSM8K and MATH, two popular math reasoning benchmarks, using the recently released and permissively licensed Mixtral model. Our best model, OpenMath-CodeLlama-70B, trained on a subset of OpenMathInstruct-1, achieves a score of 84.6% on GSM8K and 50.7% on MATH, which is competitive with the best gpt-distilled models. We release our code, models, and the OpenMathInstruct-1 dataset under a commercially permissive license.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_citation_path(paper_1="2402.10176", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2402.10176")
Code
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-70B (w/ code, SC, k=50) | Accuracy | 90.8 | #20 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-70B (w/ code, SC, k=50) | Parameters (Billion) | 70 | #20 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Llama2-70B (w/ code, SC, k=50) | Accuracy | 90.1 | #22 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Llama2-70B (w/ code, SC, k=50) | Parameters (Billion) | 70 | #22 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-34B (w/ code, SC, k=50) | Accuracy | 88.0 | #31 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-34B (w/ code, SC, k=50) | Parameters (Billion) | 34 | #31 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Mistral-7B (w/ code, SC, k=50) | Accuracy | 86.9 | #38 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Mistral-7B (w/ code, SC, k=50) | Parameters (Billion) | 7 | #38 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-13B (w/ code, SC, k=50) | Accuracy | 86.8 | #41 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-13B (w/ code, SC, k=50) | Parameters (Billion) | 13 | #41 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-7B (w/ code, SC, k=50) | Accuracy | 84.8 | #46 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-7B (w/ code, SC, k=50) | Parameters (Billion) | 7 | #46 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Llama2-70B (w/ code) | Accuracy | 84.7 | #48 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Llama2-70B (w/ code) | Parameters (Billion) | 70 | #48 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-70B (w/ code) | Accuracy | 84.6 | #49 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-70B (w/ code) | Parameters (Billion) | 70 | #49 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-34B (w/ code) | Accuracy | 80.7 | #70 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-34B (w/ code) | Parameters (Billion) | 34 | #70 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Mistral-7B (w/ code) | Accuracy | 80.2 | #74 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-Mistral-7B (w/ code) | Parameters (Billion) | 7 | #74 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-13B (w/ code) | Accuracy | 78.8 | #76 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-13B (w/ code) | Parameters (Billion) | 13 | #76 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-7B (w/ code) | Accuracy | 75.9 | #84 of 164 | Archive leaderboard | report |
| Arithmetic Reasoning | GSM8K | OpenMath-CodeLlama-7B (w/ code) | Parameters (Billion) | 7 | #84 of 164 | Archive leaderboard | report |
| Math Word Problem Solving | ASDiv-A | OpenMath-CodeLlama-70B (w/ code) | Execution Accuracy | 84.7 | #5 of 9 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-70B (w/ code, SC, k=50) | Accuracy | 60.4 | #25 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-70B (w/ code, SC, k=50) | Parameters (Billions) | 70 | #25 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-34B (w/ code, SC, k=50) | Accuracy | 60.2 | #26 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-34B (w/ code, SC, k=50) | Parameters (Billions) | 34 | #26 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Llama2-70B (w/ code, SC, k=50) | Accuracy | 58.3 | #29 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Llama2-70B (w/ code, SC, k=50) | Parameters (Billions) | 70 | #29 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-13B (w/ code, SC, k=50) | Accuracy | 57.6 | #31 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-13B (w/ code, SC, k=50) | Parameters (Billions) | 13 | #31 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Mistral-7B (w/ code, SC, k=50) | Accuracy | 57.2 | #32 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Mistral-7B (w/ code, SC, k=50) | Parameters (Billions) | 7 | #32 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-7B (w/ code, SC, k=50) | Accuracy | 55.6 | #36 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-7B (w/ code, SC, k=50) | Parameters (Billions) | 7 | #36 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-70B (w/ code) | Accuracy | 50.7 | #47 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-70B (w/ code) | Parameters (Billions) | 70 | #47 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-34B (w/ code) | Accuracy | 48.3 | #54 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-34B (w/ code) | Parameters (Billions) | 34 | #54 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Llama2-70B (w/ code) | Accuracy | 46.3 | #60 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Llama2-70B (w/ code) | Parameters (Billions) | 70 | #60 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-13B (w/ code) | Accuracy | 45.5 | #61 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-13B (w/ code) | Parameters (Billions) | 13 | #61 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Mistral-7B (w/ code) | Accuracy | 44.5 | #68 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-Mistral-7B (w/ code) | Parameters (Billions) | 7 | #68 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-7B (w/ code) | Accuracy | 43.6 | #70 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MATH | OpenMath-CodeLlama-7B (w/ code) | Parameters (Billions) | 7 | #70 of 135 | Archive leaderboard | report |
| Math Word Problem Solving | MAWPS | OpenMath-CodeLlama-70B (w/ code) | Accuracy (%) | 95.7 | #1 of 25 | Archive leaderboard | report |
| Math Word Problem Solving | SVAMP | OpenMath-CodeLlama-70B (w/ code) | Execution Accuracy | 87.8 | #5 of 26 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections