---
title: "How NuminaMath Won the 1st AIMO Progress Prize"
description: "NuminaMath 7B TIR won the first AIMO Progress Prize by solving 29 of 50 private test problems, using a DeepSeekMath-Base 7B model fine-tuned in two stages: first on several hundred thousand chain-of-thought math solutions, then on about 60k GPT-4-generated tool-integrated reasoning traces that interleave rationales, Python code and execution output."
url: "https://swe.quest/articles/how-numinamath-won-the-1st-aimo-progress-prize-09d841e240fdf35d"
canonical: "https://huggingface.co/blog/winning-aimo-progress-prize"
source: "Hugging Face"
published: "2024-07-11"
difficulty: "hard"
kind: "Case study"
reading_minutes: 16
tags: ["model-training","llms","inference","evals"]
---

# How NuminaMath Won the 1st AIMO Progress Prize

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-07-11, 16 min read, Case study. Original: [https://huggingface.co/blog/winning-aimo-progress-prize](https://huggingface.co/blog/winning-aimo-progress-prize)

## Summary

NuminaMath 7B TIR won the first AIMO Progress Prize by solving 29 of 50 private test problems, using a DeepSeekMath-Base 7B model fine-tuned in two stages: first on several hundred thousand chain-of-thought math solutions, then on about 60k GPT-4-generated tool-integrated reasoning traces that interleave rationales, Python code and execution output. At inference, a self-consistency plus tool-integrated reasoning (SC-TIR) decoder samples 48 candidates, executes generated code for up to 4 rounds so the model can self-correct from tracebacks, then majority-votes the answer, which cut variance under Kaggle's random problem order. Models were 8-bit GPTQ-quantized to fit 2xT4 GPUs without bfloat16 support, and internal AMC/AIME validation sets were used to avoid overfitting the 50-problem public leaderboard. Training details include full fine-tuning with TRL packing, DeepSpeed ZeRO-3 and 10 hours on 8xH100.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- LLM fine-tuning ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- majority voting / self-consistency ([easy posts on Consistency models](https://swe.quest/tags/consistency.md?difficulty=easy))
- model quantization ([easy posts on Inference & serving](https://swe.quest/tags/inference.md?difficulty=easy))

## Keywords

NuminaMath, AIMO, DeepSeekMath, ToRA, MuMath-Code, TRL, vLLM, AutoGPTQ

## Related posts

- [Open R1: Update #2](https://swe.quest/articles/open-r1-update-2-8012bcb3a4bd440c.md): Hugging Face · 2025-02-10 · Hard · 14 min read · Model training, LLMs, Evaluation, Inference & serving
  OpenR1-Math-220k is a math reasoning dataset built by generating 800k DeepSeek R1 traces for 400k NuminaMath 1.5 problems on 512 local H100s.
- [DeepMath: A lightweight math reasoning Agent with smolagents](https://swe.quest/articles/deepmath-a-lightweight-math-reasoning-agent-with-smolagents-e010b89eb984330e.md): Hugging Face · 2025-12-04 · Hard · 5 min read · Model training, AI agents, LLMs, Evaluation, Sandboxing & isolation
  DeepMath fine-tunes Qwen3-4B Thinking with GRPO so it emits short Python snippets for intermediate math steps, runs them in a sandbox (module allow-list, no file I/O or network, per-snippet timeouts), and feeds results back into its reasoning.
- [Mini-R1: Reproduce Deepseek R1 „aha moment“ a RL tutorial](https://swe.quest/articles/mini-r1-reproduce-deepseek-r1-aha-moment-a-rl-tutorial-a09c9653360cce5a.md): Hugging Face · 2025-01-31 · Hard · 15 min read · Model training, LLMs, Python
  Recreates DeepSeek R1's "aha moment" by training Qwen2.5-3B-Instruct with GRPO on the Countdown numbers game, using rule-based format and accuracy rewards in TRL with DeepSpeed ZeRO-3 and vLLM generation on 4x H100s.
- [Fixing Open LLM Leaderboard with Math-Verify](https://swe.quest/articles/fixing-open-llm-leaderboard-with-math-verify-1998ec51368d0a40.md): Hugging Face · 2025-02-14 · Medium · 6 min read · Evaluation, LLMs
  The Open LLM Leaderboard's MATH-Hard evaluation systematically underscored models because its answer pipeline required an exact Minerva-style answer string, parsed answers with SymPy that couldn't handle boxed LaTeX, intervals, matrices or percentages, and compared results without rounding, numeric evaluation, variable assignment or set equivalence.
- [Kimina-Prover-RL](https://swe.quest/articles/kimina-prover-rl-3205962549f99099.md): Hugging Face · 2025-08-14 · Hard · 8 min read · Model training, LLMs, Formal methods, Evaluation
  Kimina-Prover-RL is an open-source GRPO training pipeline, released as a recipe in a fork of verl, that teaches small LLMs to prove Lean 4 theorems using a think-then-code output format.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
