Build a Reasoning Model (From Scratch)
Ebook · Sold on Manning
Build a Reasoning Model (From Scratch) by Manning Publications is an ebook sold by Manning. It costs $47.99. Refund policy: eBooks are non-refundable (MEAP: 30 days).
$47.99
Digibento may earn a commission at no extra cost to you.
Our take
Sebastian Raschka's Build a Reasoning Model (From Scratch) explains how reasoning LLMs work by constructing their core methods one step at a time. You start from a pre-trained LLM, learn text generation and KV caching and build evaluation with math verifiers. Then you improve reasoning without touching the weights, using chain-of-thought, sampling, self-consistency and self-refinement. Later chapters train the model with reinforcement learning on verifiable rewards, GRPO and distillation, across 440 pages.
What you get
- From-scratch reasoning methods for LLMs
- Evaluation with math verifiers
- Chain-of-thought, self-consistency and self-refinement
- RL with verifiable rewards and GRPO
- 440 pages with source code
Ideal for
- ML engineers who want to understand reasoning models
- Researchers building LLM reasoning methods
- Engineers who learn by building
Use it for
- Building a reasoning model
- Evaluating LLM reasoning
- Training with GRPO
What you need
- Python and LLM basics
About this
From Manning
An exceptional deep dive into the next frontier of AI.” Build a Reasoning Model (From Scratch) is a practical guide to understanding how modern reasoning-oriented LLMs work by building their core methods step by step. The book tells a clear engineering story: start with a conventional pre-trained LLM, learn how text generation works, build reliable evaluation tools, improve reasoning through inference-time methods, then move into training-based approaches such as reinforcement learning and distillation. The progression is deliberate. Early chapters establish the baseline model and explain text generation, KV caching, and evaluation with math verifiers. The middle chapters show how reasoning can be improved without changing model weights, using chain-of-thought prompting, sampling, self-consistency, response scoring, and self-refinement. Later chapters move to changing the model itself through reinforcement learning with verifiable rewards, GRPO improvements, format rewards, and finally distillation from stronger reasoning models into smaller ones.
Highlights
- From-scratch implementations of core LLM reasoning improvements
- Verifier-based evaluation methods
- RL with automatic verifiers for mathematics tasks
What’s included
- 440 pages
- Source code
- Book forum
- Register your pBook for a free eBook
- Reasoning Models vs. Standard LLMs: What’s the Difference?
- Why Build a Reasoning Model from Scratch Instead of Using an API?
- Store
- Manning
- Type
- Ebook
- Category
- Ebooks
- Creator
- Manning Publications
- Instructor
- Sebastian Raschka
- Released
- 2026-06-09
- Refund
- eBooks are non-refundable (MEAP: 30 days)
Questions and answers
- What's included in Build a Reasoning Model (From Scratch)?
- 440 pages. Source code. Book forum. Register your pBook for a free eBook. Reasoning Models vs. Standard LLMs: What’s the Difference?.
- Can I get a refund on Build a Reasoning Model (From Scratch)?
- Manning says: No refunds on eBooks.
You may also like
More in Ebooks
- Building Large Language Models from Scratch · Leanpub · From $25
- AI & LLMs from Scratch · Leanpub · From $29.99
- A Common-Sense Guide to AI Engineering · The Pragmatic Bookshelf · $34.95
- LLM Inference Engineering Memory, Kernels, and Production Serving · Leanpub · From $13.99
- LLMs Explained · Leanpub · From $19
- LLM Evaluation and Alignment, The Foundational Ideas · Manning · $47.99
- AI Agents and Applications · Manning · $47.99
- Building LLM Powered Applications · Apple Books · $39.99
- The Developer's Guide to AI · No Starch Press · $47.99
- Web Development with ReasonML · The Pragmatic Bookshelf · $26.95
Similar for less
- AI Engineering From Scratch · Leanpub · From $39 · 13% off, was $45
- The Beginner's Guide to AI · Leanpub · From $19
- Foundations of Large Language Models · Leanpub · From $16
- Generative AI with local LLM · Leanpub · From $19
- Unlocking the Secrets of Prompt Engineering · Leanpub · From $35.99
- LLM Prompt Engineering For Developers · Leanpub · From $25
More from Manning
- The Architecture of Reasoning · Manning · $39.99
- Master and Build Large Language Models · Manning · $79.99
- Knowledge Graphs and LLMs in Action · Manning · $64.99
- Data Analysis with LLMs · Manning · $54.99
- LLMs in Production · Manning · $54.99
- Build a Multi-Agent System (from Scratch) · Manning · $47.99
- Build an AI Agent (From Scratch) · Manning · $47.99
- Build AI-Enhanced Web Apps · Manning · $47.99