The definitive guide to transforming foundation models into production-ready enterprise AI through post-training techniques
Foundation models like GPT, Claude, and Llama have become commodities—available to every organisation through APIs or open weights. Yet most enterprises struggle to derive lasting competitive advantage from AI. The missing piece is post-training: the techniques that transform generic foundation models into specialised, aligned, production-ready systems tailored to specific business needs.
This book bridges the gap between academic research and practical implementation, covering supervised fine-tuning, RLHF and modern preference optimisation methods, evaluation discipline, efficiency techniques, domain adaptation, tool use and agency, and more. Spanning 13 chapters across 4 parts, it provides both the technical depth ML engineers need for implementation and the strategic context technical leaders require for investment decisions.
Teaching models desired behaviors through demonstration. Data curation, training dynamics, and when SFT is enough.
RLHF, PPO, and modern preference optimisation methods including DPO, KTO, and GRPO.
Building robust benchmarks, model-based evaluation, and avoiding common pitfalls in measuring quality.
LoRA, QLoRA, quantization, and knowledge distillation for deployment at scale.
Specialising models for industries and enabling interaction with external systems through function calling.
Synthetic data generation, RLAIF, vision-language alignment, and emerging frontiers.
There are books on building foundation models (for research labs) and books on using APIs (for hobbyists). There's nothing for the crucial middle: enterprises with real compute budgets who need to customize, align, and deploy AI at scale. This book fills that gap.
The book treats post-training decisions as trade-offs rather than best practices, helping practitioners match techniques to constraints. It provides decision frameworks for when to fine-tune vs. use prompting, RAG, or other approaches.
Combines technical depth with strategic context. Includes 12 companion Jupyter notebooks covering practical implementation. Shows how to embed proprietary knowledge, organisational values, and domain expertise into foundation models.
Be the first to know when The Craft of Post-Training is available. Sign up to receive updates on the release date, early access opportunities, and exclusive content.