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
ManningBooks
Build an AI Agent (From Scratch) is a step-by-step guide to creating a working AI agent, starting with the bare essentials and growing yo...
New
ManningBooks
Grokking AI Algorithms, Second Edition introduces the most important AI algorithms using relatable illustrations, interesting examples, a...
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
Erlang and OTP in Action teaches you the concepts of concurrent programming and the use of Erlang’s message-passing model. It walks you t...
New
ManningBooks
In Build a DeepSeek Model (From Scratch) you’ll build your own DeepSeek clone from the ground up. First, you’ll quickly review LLM fundam...
New
pragdave
Build a prototype in a weekend or a full product in a month or two. Untangle legacy systems, improve tests and documentation, and tackle ...
New

Other popular topics Top

PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
PragmaticBookshelf
Learn different ways of writing concurrent code in Elixir and increase your application's performance, without sacrificing scalability or...
New
PragmaticBookshelf
Build highly interactive applications without ever leaving Elixir, the way the experts do. Let LiveView take care of performance, scalabi...
New
AstonJ
Continuing the discussion from Thinking about learning Crystal, let’s discuss - I was wondering which languages don’t GC - maybe we can c...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New