New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
My training loss looks great, but the model just repeats one answer no matter what I ask it.
What you'll have at the end
Training labels that show -100 on every prompt token, checked by printing one masked example before the real job runs
You need
A supervised fine-tuning script that already trains without crashing, on a dataset shaped like a fixed instruction template plus a short answer (a label, a short reply, a classification word), and access to the exact tokenizer your base model uses.
Not covered
Picking a different dataset format or base model to raise a low-signal answer's word count, and the separate catastrophic-forgetting failure that can still show up after the prompt is masked correctly.
Leans on
Checked 18 Aug 2026
Part of the LLM Fine-tuning cookbook