NanoReason-7B-Think
NanoReason-7B-Think is the RLVR research checkpoint of NanoReason, trained from SFT-Refined with Dr. GRPO and verifiable math and instruction-following rewards.
Model series: OLMo 3 7B → SFT → SFT-Refined → Think
Trained on 4× NVIDIA A100 40 GB (single node), using approximately 69 GPU-hours for this stage (210 GPU-hours cumulative).
Results
| Benchmark | Base | SFT | Refined | Think |
|---|---|---|---|---|
| GPQA Main | 28.79 | 32.37 | 42.63 | 41.74 |
| MATH-500 | 63.00 | 88.40 | 91.00 | 91.00 |
| AIME 2024 | 12.08 | 30.21 | 45.83 | 45.31 |
| AIME 2025 | 14.17 | 26.35 | 33.33 | 33.33 |
| BBH | - | 60.34 | 67.61 | 69.19 |
| IFEval | 34.57 | 63.77 | 72.64 | 72.64 |
The figure compares benchmark score and mean generated response length across stages. Generated tokens are a proxy for inference cost.
Scores are percentages: GPQA Main exact match (448 questions), MATH-500 flexible exact match, AIME mean pass@1 (30 problems per year, 32 samples each), BBH micro exact match and IFEval prompt-level loose accuracy. Base BBH was not completed.
Evaluated using OLMES/vLLM in BF16 with a 32,768-token context. The Base comparison uses the Think-SFT tokenizer and chat template. Results and evaluation settings.
Usage
Requires transformers>=5.19.0, torch, and accelerate.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "kowanietz/NanoReason-7B-Think"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id, device_map="auto", dtype="auto"
)
messages = [
{
"role": "user",
"content": "How many hamsters would it take to power an A100?",
}
]
inputs = tokenizer.apply_chat_template(
messages, add_generation_prompt=True,
return_dict=True, return_tensors="pt"
).to(model.device)
outputs = model.generate(
**inputs, max_new_tokens=4096, use_cache=True,
eos_token_id=tokenizer.eos_token_id,
pad_token_id=tokenizer.pad_token_id,
)
print(tokenizer.decode(
outputs[0, inputs.input_ids.shape[1]:], skip_special_tokens=True
))
Training
| Setting | Value |
|---|---|
| Parent | NanoReason-7B-SFT-Refined |
| Data | Dolci-Think-RL-7B, 512 training prompts (265 math, 247 instruction following) |
| Method | Dr. GRPO, four completions per prompt (2,048 rollouts total), learning rate 1e-6 |
| Schedule | 512 optimizer steps |
| Completion limit | 16,384 tokens |
See the NanoReason repository for training code, configurations, evaluation details, and reproducibility.
Notes
Think uses fewer mean generated tokens than Refined across all six benchmarks, with small decreases on GPQA Main and AIME 2024. Token counts are not direct measurements of latency or energy.
The SFT source-pool audit found zero exact normalized benchmark-prompt matches across 100,000 examples (104,528 user turns). RLVR uses benchmark exclusion checks. Exact-match checks do not rule out paraphrases or pretraining overlap.
The pretrained weights are from Ai2's OLMo 3 7B; the tokenizer and chat template come from OLMo 3 Think-SFT. I am not affiliated with Ai2.