firehose> #llmops

A pre-trained foundation model is optimized for text completion, not conversation, and its outputs can be factually or ethically problematic. Post-training fixes both in two steps. Supervised fine-tuning (SFT) optimizes the model for conversation using high-quality instruction/response data — teaching it what good responses look like. Preference fine-tuning then aligns the model with human values, classically via reinforcement learning from human feedback (RLHF): train a reward model that scores outputs by human preference, then optimize the model to maximize that score. Newer methods (direct preference optimization, DPO) are gaining traction, and some teams skip RL entirely — generating several outputs and keeping the highest-reward one, a strategy called best-of-N. This is also where the chat template is established: system/user prompts are combined by a model-specific template, and getting it even slightly wrong (an extra newline) causes silent quality failures.

Claims


Linked from