Template and tokens: training and inference must use the same chat template, and the end-of-turn or end-of-sequence token must appear in the training targets and be unmasked, or the model learns not to stop.
Decoding settings at inference (temperature, max tokens, stop sequences) and a mismatch between training-time and serving-time prompts.
Data issues such as truncation cutting off answers, duplicated or contradictory examples, or labels that do not reflect the desired behavior.
Evaluate generations directly on real examples, since loss alone does not measure usefulness.
Loading…