Continued (domain-adaptive) pretraining: more next-token training on raw domain text (legal, medical, code) to add vocabulary and knowledge; needs lots of data and compute and usually hurts instruction following, so SFT follows it.
Supervised fine-tuning (SFT): train on prompt and response pairs where the response is the exact target.
Instruction tuning: SFT on a broad, diverse set of instructions so the model follows arbitrary tasks and formats.
Preference tuning (RLHF, DPO and relatives): optimize toward responses humans or judges prefer, to shape helpfulness, safety and style.
Loading…