LLM Post Training slides
The following is a presentation I gave that introduces post training recipes.
The following is a presentation I gave that introduces post training recipes.
Modern post-training can involve supervised finetuning (SFT), preference optimisation, RL training using various policy optimisation algorithms and distillation. Fun commentary on the meme by Nathan Lambert A good analogy I think of different stages is Pretraining: Learning language, knowledge and task representations through next-token prediction. SFT: Adapting a pretrained model to imitate desired responses, follow instructions and produce task-specific output formats.A Preference optimisation: Learn which responses should be preferred over others. RL or verifiable RL: It takes one step further, optimizing model behaviour using rewards, preferences or verifiable outcomes rather than only imitating reference responses. Distillation: Learn from the behaviour of a stronger teacher model, rather than only from fixed target responses or scalar rewards. The Smol Training Playbook ...
Measuring vLLM cold-start bottlenecks on GKE and evaluating ways to reduce time to first request.
Implementing and profiling pipeline parallelism techniques using PyTorch
Implement ZeRO sharding strategies using PyTorch