Post-training

Post-training is the training a language model receives after pre-training, to make it follow instructions, use tools, reason, and behave safely.

Post-training is everything that happens to a language model after pre-training. Pre-training teaches a model to predict text from a very large amount of data. The result knows a lot but does not reliably follow instructions or hold a conversation. Post-training turns it into a useful assistant or agent.

Post-training combines several methods. Supervised fine-tuning trains the model on examples of good answers. Preference methods such as RLHF teach it which answers people prefer, and RLVR rewards it for answers that pass a check. Safety training teaches it which requests to refuse and how to handle risky topics.

Post-training uses far less data and compute than pre-training, but it shapes most of how a model behaves. A growing part of it trains models to act as agents that call tools and run code over many steps. That training needs environments where the model can act and where each attempt can be scored. These environments often run in sandboxes, many of them at the same time.