# MathInstruct

- **ID:** 1169
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/TIGER-Lab/MathInstruct
- **Authors:** TIGER-Lab
- **Published:** 2023
- **Source:** huggingface
- **Language:** en
- **Access:** Free
- **License:** MIT (HF card YAML) for the compilation. Subset licenses (card table): GSM8K MIT; GSM8K-RFT not listed; AQuA-RAT Apache-2.0; MATH MIT; TheoremQA MIT; Camel-Math CC BY-NC 4.0; NumGLUE Apache-2.0; MathQA Apache-2.0; newly curated MIT. GPT-4 terms may still apply to the ✯ slices if used to train a distributed model.
- **License family:** Permissive (auto-classified)
- **Topics:** mathematical reasoning; hybrid CoT + PoT instruction SFT; grade-school through college math
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Page:** https://papers.projxon.ai/entries/1169

## Summary

Lightweight hybrid-rationale math instruction tuning so open models generalize beyond a single contest set (MAmmoTH)

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

- **Repository:** TIGER-Lab/MathInstruct (Hugging Face)
- **Created:** Sep 11, 2023 (Hugging Face)
- **Last updated:** May 15, 2024 (Hugging Face)
- **Downloads (last month):** 15,208 (Hugging Face)
- **Likes:** 307 (Hugging Face)
- **Size:** 100K to 1M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-generation (Hugging Face)
- **Formats:** json (Hugging Face)

## Dataset profile

- **Scale:** Paper Table 1 260K instruction–response pairs. Hub/datasets-server default train 262.0K / datasetsServerInfo numRows 262,039 / 3 columns / 1 parquet 99.1 MB. LFS MathInstruct.json 212.5 MB. size_categories 100K<n<1M. usedStorage Unknown. Hub overview 182.1K downloads / 306 likes at check. gated=false. Paper source counts (not extra overlapping n; sum 253.8K vs paper 260K): AQuA-RAT CoT 90K; Camel-Math CoT 50K; GSM8K-RFT CoT 28K; MathQA PoT 25K; GSM8K PoT 14K; NumGLUE PoT 13K; AQuA-RAT PoT 9.7K; GSM8K CoT 7K; MATH CoT 7K; MATH PoT 7K; College-Math CoT 1.8K; TheoremQA PoT 700; TheoremQA CoT 600.
- **Format:** JSON (MathInstruct.json) plus Hub parquet convert. Columns: source, output, instruction. Single default config / train split. source paths like data/CoT/aqua_rat.json, data/PoT/aqua_rat_filtered.json, data/CoT/gsm_rft.json, data/PoT/numglue.json.
- **Type:** Annotated math-reasoning SFT / Alpaca instruction + CoT or PoT output + source
- **License:** MIT (HF card YAML) for the compilation. Subset licenses (card table): GSM8K MIT; GSM8K-RFT not listed; AQuA-RAT Apache-2.0; MATH MIT; TheoremQA MIT; Camel-Math CC BY-NC 4.0; NumGLUE Apache-2.0; MathQA Apache-2.0; newly curated MIT. GPT-4 terms may still apply to the ✯ slices if used to train a distributed model.
- **Cost:** Free
- **Languages:** English 100% (card language:en). Preview is English GRE/GMAT/GSM8K-style items plus Python PoT. No LID table. Per-language percents N/A.
- **Modality:** Text-only (English + LaTeX + Python PoT). No images.
- **Domain:** mathematical reasoning; hybrid CoT + PoT instruction SFT; grade-school through college math
- **Time period:** Paper arXiv 2309.05653 (Hub publishedAt 2023-09-11T17:47:22.000Z). HF createdAt 2023-09-11; lastModified 2024-05-15T00:06:46Z. Seed GSM8K/MATH/AQuA-RAT/MathQA/NumGLUE/Camel-Math/TheoremQA. One-shot GPT-4 hybrid CoT/PoT curation, not a live contest crawl.
- **Purpose:** Lightweight hybrid-rationale math instruction tuning so open models generalize beyond a single contest set (MAmmoTH)
- **Used for:** Paper MAmmoTH / MAmmoTH-Coder 7B–70B (Llama-2 and Code Llama). Hub overview 182.1K downloads / 306 likes at check. Paper 11 upvotes / 26 linked models / GitHub TIGER-AI-Lab/MAmmoTH 383 stars at paper-metadata check. Distinct from already-cataloged MetaMathQA (GPT-3.5 bootstrap) / OpenMathInstruct-2 (Llama-3.1-405B 14M) / NuminaMath-1.5.
- **Authors:** Yue, Qu, Zhang, Fu, Huang, Sun, Su, Chen (Ohio State / Waterloo / HKUST / Edinburgh / 01.AI; arXiv 2309.05653). Human contest/exam authors for GSM8K/MATH/AQuA-RAT/MathQA/NumGLUE seeds. New rationales (paper ✯): GPT-4 CoT/PoT on TheoremQA, College-Math, GSM8K PoT, AQuA-RAT PoT, MATH PoT. Camel-Math is GPT-4 unvalidated. GSM8K-RFT is Llama-generated then validated.
- **Bias:** AQuA-RAT CoT 90K is the largest slice (GRE/GMAT MCQ). Camel-Math 50K is GPT-4 unvalidated college-style. Hybrid CoT+PoT but AQuA-heavy. GSM8K/MATH train seeds only (paper). Distinct from already-cataloged MetaMathQA / OpenMathInstruct-1/2 / NuminaMath-1.5. TIGER-Lab/WebInstructFull is MAmmoTH2 web-mined instructions (CC BY-NC) — not extra n here.
- **Text quality:** Preview row 0 (AQuA parsecs: 6.52e5 ly / 3.26 = 2e5) and row 1 (COMMON permutations 6!/(2!2!)=180) are well-posed with matching answers. Row 2 PoT AQuA (team shooting 84×6 then 92→85) executes to 497. GPT-4 PoT slices were execution-filtered against gold (paper). Residual: AQuA-RAT human CoT is a known-noisy rationale set; Camel-Math unvalidated; College-Math 1.8K GPT-4 unvalidated; not independently re-solved beyond preview 0–2 here.
- **Sample size:** Single default train 262,039. No val/test. source is a column not a Hub config. Paper 260K vs Hub 262,039 — catalog Hub 262,039. Do not add akjindal53244/Arithmo-Data (548,761 remix) or TIGER-Lab/WebInstructFull as extra n.
- **Long context:** No (short exam/contest items; PoT is a short Python block). Exact token histogram Unknown without aggregating.
- **Intermediate steps:** Yes (compile 7 existing rationale sets; GPT-4 new CoT/PoT on selected sets; drop GPT-4 programs whose execution mismatches gold; unify to Alpaca). Code at github.com/TIGER-AI-Lab/MAmmoTH.
- **Idea quality:** High
- **Novelty:** High (public 262k hybrid CoT+PoT landmark vs already-cataloged MetaMathQA 395k / OpenMathInstruct-2 14M)
- **Text conversion:** Ready JSON/parquet; load_dataset('TIGER-Lab/MathInstruct', split='train'). ~213 MB JSON / 99.1 MB parquet — no streaming required. Do not concat TIGER-Lab/WebInstructFull or already-cataloged MetaMathQA / OpenMathInstruct-2 as extra n.
- **Collection method:** Download
- **Static:** Unknown (HF lastModified 2024-05-15; one-shot).
- **Processed:** Unknown

## Links

- Dataset: https://huggingface.co/datasets/TIGER-Lab/MathInstruct
- Related: https://arxiv.org/abs/2309.05653
- Related: https://huggingface.co/papers/2309.05653
- Related: https://huggingface.co/datasets/TIGER-Lab/MathInstruct
- Related: https://github.com/TIGER-AI-Lab/MAmmoTH
- Related: https://tiger-ai-lab.github.io/MAmmoTH/
- Related: https://huggingface.co/TIGER-Lab/MAmmoTH-7B
- Related: https://huggingface.co/datasets/TIGER-Lab/WebInstructFull

## Research notes

- Dump-adjacent public corpus (not in data-source-dump.jsonl). gated=false; public; CuratorBote listed README plus LFS MathInstruct.json 212.5 MB and Hub parquet 99.1 MB. Catalog Hub 262,039 / paper 260K, not paper source-sum 253.8K as extra n. Cite Yue et al. 2023 arXiv 2309.05653. 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 / GAIR/MathPile; skipped open-web-math/open-web-math (FineMath already cataloged as the stronger successor), OpenDataArena/FineReason (redirects to multimodal MMFineReason), EleutherAI/proof-pile-2 (deferred; contains OpenWebMath), and EleutherAI/first_half_math (3,750). Camel-Math subset is CC BY-NC even though the compilation YAML is MIT.

## Similar entries

- [Step-3.5-Flash-SFT](https://papers.projxon.ai/entries/255) (dataset, #255)
- [first_half_math (EleutherAI)](https://papers.projxon.ai/entries/187) (dataset, #187)
- [How Likely Do LLMs with CoT Mimic Human Reasoning?](https://papers.projxon.ai/entries/580) (paper, #580)
- [LLaVA-OneVision-1.5-Instruct (Instruct-Data)](https://papers.projxon.ai/entries/1123) (dataset, #1123)
- [NuminaMath CoT](https://papers.projxon.ai/entries/281) (dataset, #281)
- [AceReason-1.1-SFT](https://papers.projxon.ai/entries/55) (dataset, #55)
