You are fine-tuning a reasoning model that writes a thinking block before its final answer. How do you build the SFT data, and what breaks if you train on final answers only?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Keep the reasoning in the training targets, and render it exactly the way the model's chat template does. A reasoning model's quality lives in its thinking tokens. Train it on (prompt, final answer) pairs and you teach it to answer without thinking: the thinking block shrinks or disappears, accuracy on hard prompts drops, and in hybrid models the thinking mode degrades even though you never trained it directly.
Full worked answer
Keep the reasoning in the training targets, and render it exactly the way the model's chat template does. A reasoning model's quality lives in its thinking tokens. Train it on (prompt, final answer) pairs and you teach it to answer without thinking: the thinking block shrinks or disappears, accuracy on hard prompts drops, and in hybrid models the thinking mode degrades even though you never trained it directly.
How I build the data:
- Get traces, not just answers. Generate them from the model itself by rejection sampling (sample several, keep the traces whose final answer passes a checker or judge), or from a stronger teacher with a compatible style. Self-generated traces stay closest to the model's own distribution and cause the least drift.
- Match the template exactly. Thinking delimiters, where the reasoning sits relative to the answer, and how earlier turns are rendered. Many templates strip reasoning from previous assistant turns in multi-turn history. Train with the same stripping, or the model sees a context shape in training that it never sees in serving.
- Put loss on both the reasoning and the answer, with prompts masked as usual. If you only have answer-only labels, either generate a trace that reaches that answer and check it is consistent, or route those examples to the non-thinking mode if the model has one.
- Mix in general reasoning data so the trace style does not collapse onto your narrow task.
Other failure modes: traces that do not actually support the final answer teach post-hoc rationalisation, very long teacher traces teach rambling and blow the latency budget, and a teacher with a different reasoning style can leave you with a model whose thinking and answers disagree.
Evaluate with thinking on, at the reasoning budget you will serve, and track trace length next to accuracy. A fine-tune that holds accuracy but doubles thinking tokens has doubled your serving cost.
What a good answer covers
- Keep the reasoning in the training targets, and render it exactly the way the model's chat template does
- A reasoning model's quality lives in its thinking tokens
- Train it on (prompt, final answer) pairs and you teach it to answer without thinking
- Get traces, not just answers
- Match the template exactly
Key terms: Get traces, not just answers · Match the template exactly · Mix in general reasoning data
In the glossary: Chat template · Reasoning model · Accuracy · Judge (LLM-as-judge) · Drift
Interviewer follow-ups to expect
Your domain experts gave you answer-only labels. How do you get traces without inventing reasoning the experts never used?
How would you shorten the model's thinking without losing accuracy?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep