About Qwen Math
Qwen Math is a line of Qwen models trained specifically for mathematical problem solving. Qwen2.5-Math supports chain-of-thought and tool-integrated reasoning for math questions in Chinese and English.
For exact calculations or symbolic work, state the required form of the answer and provide a suitable computation tool when available. Reward models in this research line score reasoning steps and are not listed as conversational prompt models here.
How to prompt Qwen Math
- 01
State the expected form
Ask for an exact expression, a decimal approximation, a proof, or a worked solution. Say whether you want intermediate steps or only a checked result.
- 02
Include definitions and assumptions
Specify the domain, units, rounding rule, and any conventions that could change the answer. For a word problem, preserve all given quantities and conditions.
- 03
Use a tool for computation
For long arithmetic, symbolic manipulation, or numerical checks, ask the model to use an available Python or symbolic math tool and report what it verified.
Anatomy of a great prompt
Solve this {{problem_type}} problem.
Problem: {{problem}}
Assumptions: {{assumptions}}
Show {{solution_detail}}.
Check the result using {{verification_method}} and present the final answer as {{answer_format}}.