This Manning Publications book walks readers through replicating the architecture and training approach of DeepSeek models, including their mixture-of-experts design and efficient inference strategies. It provides practical code alongside architectural explanations to give engineers a thorough understanding of this class of frontier open-weight models. The book is ideal for ML researchers and engineers curious about the innovations that make DeepSeek models competitive and cost-efficient.