Pretraining: next-token prediction on a huge text corpus teaches language, knowledge and reasoning patterns.
Supervised fine-tuning (SFT): train on curated instruction and response pairs so the model follows instructions.
Preference alignment: RLHF (a reward model plus reinforcement learning) or direct methods such as DPO adjust the model toward human-preferred answers.
Then evaluation, safety testing, and optimization for serving (quantization, batching, caching).
Loading…