AceReason-Nemotron 1.1: Advancing Math and Code Reasoning through SFT and RL Synergy
We're thrilled to introduce
AceReason-Nemotron-1.1-7B
, a math and code reasoning model built upon the Qwen2.5-Math-7B base. The model is first trained with supervised fine-tuning (SFT) on math and code tasks, then further enhanced through reinforcement learning (RL) using the same recipe as
AceReason-Nemotron-1.0-7B
. We initiate RL training from various SFT models and find that stronger SFT models continue to produce consistently better results after large-scale RL, although the performance gap narrows during RL training. Thanks to its stronger SFT backbone, AceReason-Nemotron-1.1-7B significantly outperforms its predecessor and sets a record-high performance among Qwen2.5-7B-based reasoning models on challenging math and code reasoning benchmarks. For more details, check our
technical report
.
Results
We evaluate our model against competitive reasoning models of comparable size on AIME 2024, AIME 2025, and LiveCodeBench (LCB) v5 (2024/08/01 - 2025/02/01) and v6 (2025/02/01-2025/05/01).
For AceReason-Nemotron-1.0-7B, the RL training recipe improves its starting SFT model, DeepSeek-R1-Distill-Qwen-7B, by 13.5% on AIME24, 14.6% on AIME25, 14.2% on LCB v5, and 10.0% on LCB v6.
In comparison, AceReason-Nemotron-1.1-7B, built on a stronger SFT model, also benefits substantially from the same RL recipe, achieving absolute improvements of 10.6% on AIME24, 16.4% on AIME25, 8.4% on LCB v5, and 8.3% on LCB v6.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = 'nvidia/AceReason-Nemotron-1.1-7B'
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
prompt = "Jen enters a lottery by picking $4$ distinct numbers from $S=\\{1,2,3,\\cdots,9,10\\}.$ $4$ numbers are randomly chosen from $S.$ She wins a prize if at least two of her numbers were $2$ of the randomly chosen numbers, and wins the grand prize if all four of her numbers were the randomly chosen numbers. The probability of her winning the grand prize given that she won a prize is $\\tfrac{m}{n}$ where $m$ and $n$ are relatively prime positive integers. Find $m+n$."
messages = [{"role": "user", "content": prompt}]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to("cuda")
generated_ids = model.generate(
**model_inputs,
max_new_tokens=32768,
temperature=0.6,
top_p=0.95
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids inzip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
Usage Recommendations
We recommend using the system prompt: "You are a helpful and harmless assistant. You should think step-by-step."
We recommend using the following instruction for math questions:
math_question = "MATH_QUESTION"
math_instruction = "Please place your final answer inside \\boxed{}."
system_instruction = "You are a helpful and harmless assistant. You should think step-by-step."
final_prompt = "<|im_start|>system\n" + system_instruction + "<|im_end|>\n<|im_start|>user\n" + math_question + "\n\n" + math_instruction + "<|im_end|>\n<|im_start|>assistant\n<think>\n"
We recommend using the following instruction for code questions:
code_question = "CODE_QUESTION"
starter_code = "STARTER_CODE"# starter code function header, set empty string ("") if there is no starter code
code_instruction_nostartercode = """Write Python code to solve the problem. Please place the solution code in the following format:\n```python\n# Your solution code here\n```"""
code_instruction_hasstartercode = """Please place the solution code in the following format:\n```python\n# Your solution code here\n```"""if starter_code != "":
code_question += "\n\n" + "Solve the problem starting with the provided function header.\n\nFunction header:\n" + "```\n" + starter_code + "\n```"
code_question += "\n\n" + code_instruction_hasstartercode
else:
code_question += "\n\n" + code_instruction_nostartercode
final_prompt = "<|im_start|>system\n" + system_instruction + "<|im_end|>\n<|im_start|>user\n" + code_question + "<|im_end|>\n<|im_start|>assistant\n<think>\n"
Our inference engine for evaluation is vLLM==0.7.3 using top-p=0.95, temperature=0.6, max_tokens=32768.
@article{liu2025acereason,
title={AceReason-Nemotron 1.1: Advancing Math and Code Reasoning through SFT and RL Synergy},
author={Liu, Zihan and Yang, Zhuolin and Chen, Yang and Lee, Chankyu and Shoeybi, Mohammad and Catanzaro, Bryan and Ping, Wei},
journal={arXiv preprint arXiv:2506.13284},
year={2025}
}
Runs of nvidia AceReason-Nemotron-1.1-7B on huggingface.co
764
Total runs
-5
24-hour runs
88
3-day runs
165
7-day runs
203
30-day runs
More Information About AceReason-Nemotron-1.1-7B huggingface.co Model
More AceReason-Nemotron-1.1-7B license Visit here:
AceReason-Nemotron-1.1-7B huggingface.co is an AI model on huggingface.co that provides AceReason-Nemotron-1.1-7B's model effect (), which can be used instantly with this nvidia AceReason-Nemotron-1.1-7B model. huggingface.co supports a free trial of the AceReason-Nemotron-1.1-7B model, and also provides paid use of the AceReason-Nemotron-1.1-7B. Support call AceReason-Nemotron-1.1-7B model through api, including Node.js, Python, http.
AceReason-Nemotron-1.1-7B huggingface.co is an online trial and call api platform, which integrates AceReason-Nemotron-1.1-7B's modeling effects, including api services, and provides a free online trial of AceReason-Nemotron-1.1-7B, you can try AceReason-Nemotron-1.1-7B online for free by clicking the link below.
nvidia AceReason-Nemotron-1.1-7B online free url in huggingface.co:
AceReason-Nemotron-1.1-7B is an open source model from GitHub that offers a free installation service, and any user can find AceReason-Nemotron-1.1-7B on GitHub to install. At the same time, huggingface.co provides the effect of AceReason-Nemotron-1.1-7B install, users can directly use AceReason-Nemotron-1.1-7B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
AceReason-Nemotron-1.1-7B install url in huggingface.co: