About QwQ
QwQ is Qwen's reasoning-focused language model line. The public QwQ-32B release uses reinforcement learning to improve multi-step problem solving across mathematics, coding, and general questions.
Ask a well-scoped question, specify constraints, and request the amount of explanation you need. For exact computation, connect an execution or math tool and ask the model to verify its result before giving a concise answer.
How to prompt QwQ
- 01
Give it a problem with a clear target
State the question precisely and include definitions, constraints, or examples that affect the answer. Keep unrelated requests out of the same prompt.
- 02
Ask for a concise justification
Request the key steps needed to check the result. A long internal-style trace is rarely necessary for a useful, auditable answer.
- 03
Make tools available for exact work
When solving arithmetic, coding, or data tasks, provide an executable tool and ask QwQ to verify results with it before summarizing.
Anatomy of a great prompt
Solve the following {{domain}} problem.
{{problem}}
Constraints: {{constraints}}
Use tools if they help verify the result. Give the answer first, then a short explanation of the decisive steps.