ManningBooks

ManningBooks

Devtalk Sponsor

Build a DeepSeek Model (From Scratch) (Manning)

In Build a DeepSeek Model (From Scratch) you’ll build your own DeepSeek clone from the ground up. First, you’ll quickly review LLM fundamentals, with an eye to where DeepSeek’s innovations address the common problems and limitations of standard models. Then, you’ll learn everything you need to create your own DeepSeek-inspired model, including the innovations that put DeepSeek on the map: Multihead Latent Attention (MLA), Multi-Token Prediction (MTP), Mixture of Experts (MoE), model distillation, and reasoning.

Raj Abhijit Dandekar, Rajat Dandekar, Sreedath Panat, Naman Dwivedi

Build a DeepSeek Model (From Scratch) is a hands-on guide to creating your own DeepSeek-style model step by step. You’ll start with a base LLM, then implement reasoning, retrieval, and optimization components to reproduce DeepSeek’s key architectural ideas. It’s an accessible deep dive into how multi-stage inference, reasoning traces, and reinforcement loops come together to create models capable of logical, multi-step problem solving.

In this book, you’ll learn how to:

  • Implement a DeepSeek-style reasoning framework from the ground up

  • Integrate retrieval augmentation, reasoning tokens, and self-reflection

  • Apply reinforcement learning for reasoning improvement

  • Measure reasoning performance across math, logic, and code tasks

  • Understand how reasoning models differ from traditional LLMs

Whether you’re a machine learning engineer, researcher, or developer curious about reasoning-centric AI, Build a DeepSeek Model (From Scratch) offers a transparent, implementation-first look into one of the most exciting frontiers in modern AI.


Don’t forget you can get 45% off with your Devtalk discount! Just use the coupon code “devtalk.com” at checkout :+1:

Most Liked

iPaul

iPaul

I own the Build an LLM from scratch, this books seems like a good follow up on that.

ManningBooks

ManningBooks

Devtalk Sponsor

Exactly! Even the authors agree with this.

alvinkatojr

alvinkatojr

I own the same book and I too I’m looking forward to this book :slight_smile:

Where Next?

Popular Ai topics Top

ManningBooks
Before deploying an AI model into production, you need to know more than just its accuracy. Will it be fast enough for your users? Will i...
New
ManningBooks
Based on Ilya Sutskever’s famous “must-read” list of ~30 AI papers, this book walks you through the research that shaped today’s deep lea...
New
New
New
ManningBooks
The bestselling book on Python deep learning, now covering generative AI, Keras 3, PyTorch, and JAX! François Chollet and Matthew ...
New
pragdave
Build robust LLM-powered apps, chatbots, and agents while mastering AI engineering principles that will help you outlast the tools and th...
New
ManningBooks
After ChatGPT used RLHF to become production-ready, this foundational technique exploded in popularity. In The RLHF Book, AI expert Natha...
New
ManningBooks
Rearchitecting LLMs: Structural techniques for efficient models turns research from the latest AI papers into production-ready practices ...
New
ManningBooks
Hugging Face in Action reveals how to get the absolute best out of everything Hugging Face, from accessing state-of-the-art models to bui...
New
ManningBooks
How can you be sure your next AI project is worthwhile before you build it? Look Before You Leap offers a repeatable go/kill/pivot decisi...
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
PragmaticBookshelf
Andy and Dave wrote this influential, classic book to help their clients create better software and rediscover the joy of coding. Almost ...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
New
New
New
First poster: AstonJ
Jan | Rethink the Computer. Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
AnfaengerAlex
Hello, I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New