Math_Qwen3-1.7B_Qwen3-4B-Non-Thinking-RL-Math-Step500
Qwen/Qwen3-1.7B distilled from Keven16/Qwen3-4B-Non-Thinking-RL-Math-Step500 with Ask to Distill.
Ask to Distill trains a question generator with RL so that the questions it writes expose bounded, learnable token-level disagreement between a teacher and a student on the student's own solutions (the same signal on-policy distillation learns from). A question bank is then sampled from the generator, filtered and deduplicated, and the student is trained with on-policy distillation (OPD) on it. No real training questions and no reference answers are used.
Training
| Student | Qwen/Qwen3-1.7B |
| Teacher | Keven16/Qwen3-4B-Non-Thinking-RL-Math-Step500 |
| Question bank | gasolsun/Math_Qwen3-1.7B_Qwen3-4B-Non-Thinking-RL-Math-Step500 |
| OPD objective | per-token reverse KL on the student's top-16 tokens, weighted by renormalised student probabilities; no outcome reward |
| OPD recipe | lr 1e-6 (constant), AdamW, rollout temperature 1.0, fp32 master weights / bf16 compute |
Results
| AIME24 | AIME25 | AIME26 | AMC23 | BRUMO25 | MATH500 | avg6 |
|---|---|---|---|---|---|---|
| 34.8 | 26.0 | 26.5 | 71.9 | 35.4 | 82.4 | 46.16 |
avg@16 (MATH500: avg@4), temperature 0.7, top-p 0.95, max 31,744 new tokens, thinking disabled. avg6 = mean of the six benchmarks.
Usage
from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "gasolsun/Math_Qwen3-1.7B_Qwen3-4B-Non-Thinking-RL-Math-Step500"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
messages = [{"role": "user", "content": "..."}]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt", enable_thinking=False).to(model.device)
out = model.generate(inputs, max_new_tokens=4096, do_sample=True, temperature=0.7, top_p=0.95)
print(tok.decode(out[0, inputs.shape[1]:], skip_special_tokens=True))
- The student was trained and evaluated in non-thinking mode; pass
enable_thinking=Falseto the chat template. - Evaluation prompt (user turn):
Solve the following math problem step by step. The last line of your response should be of the form Answer: $Answer (without quotes) where $Answer is the answer to the problem.\n\n{problem}\n\nRemember to put your answer on its own line after "Answer:". Please reason step by step, and put your final answer within \\boxed{}.