Digibento

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

Buy at Manning

Digibento may earn a commission at no extra cost to you.

Build a Reasoning Model (From Scratch)

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

Similar for less

More from Manning

See all