null
Skip to main content

Build a Reasoning Model (From Scratch) (From Scratch) [9781633434677]

Paperback
SKU: 9781633434677
Buy More - Save More. Below are the available bulk discount rates for each individual item when you purchase a certain amount
Quantity Price Savings
25 - 99 15%
100 - 249 16%
250 - 499 17%
500 - 999 18%
1000+ 20%

Format Lightweight and affordable. Perfect for student groups and classrooms, and a versatile option for corporate trainings, team reads, or large-scale events.

Price $59.99

Total for 25 copies:

Adding to cart… The item has been added

title will be released on Jul 28, 2026. Pre-order now!

You can purchase this title directly online anytime! If you need a formal quote for budget approval, submit a request and we’ll get it to you quickly.
  • Free shipping over $95
  • Price Match Guarantee. Found a better price? Let us know! We’ll work to match it so you get the best value with BookPal.

Overview

Get the eBook free when you register your print book at Manning.

"An exceptional deep dive into the next frontier of AI.”
—Aman Chadha, Google

This book 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.

The book is especially useful because it implements the core methods from scratch rather than treating them as black-box library calls. Readers see how self-consistency, self-refinement, Best-of-N, and training-based methods actually work, including their cost and latency trade-offs. It also discusses common failure modes, including cases where refinement can make answers worse. Difficult concepts such as softmax, temperature, and top-p sampling are clarified with code-linked explanations and diagrams, and visual workflows make pipelines and scoring methods easier to follow.

Reading the book feels like following a guided technical build rather than a loose survey of AI topics. Each concept is introduced because the project now needs it. Diagrams, roadmaps, code listings, exercises, and repeated workflow summaries help readers stay oriented through advanced material. This structure reflects Sebastian Raschka’s professional strength: explaining complex machine learning topics by making every detail concrete and showing exactly where each section fits in the larger story. He does not treat mechanisms like evaluation, log-probabilities, KL regularization, or distillation as isolated abstractions; he connects them to the goal of making reasoning models understandable and implementable.

Physically and organizationally, the book has eight chapters and seven substantial appendixes. That design keeps the main narrative focused while moving supporting material like references, exercise solutions, model source code, larger models, batching, evaluation alternatives, and chat interfaces into ordered appendixes. The result is a logically flowing book that remains hands-on, navigable, and technically deep without constantly interrupting the central build.

What's inside

• From-scratch implementations of core LLM reasoning improvements
• Verifier-based evaluation methods
• RL with automatic verifiers for mathematics tasks

About the reader

For readers who know Python and have some knowledge of machine learning.

About the author

Sebastian Raschka is an LLM Research Engineer with over a decade of experience. He is the author of the bestselling book Build a Large Language Model (From Scratch).

Table of Contents

1 Understanding reasoning models
2 Generating text with a pretrained LLM
3 Evaluating reasoning models
4 Improving reasoning with inference-time scaling
5 Inference-time scaling via self-refinement
6 Training reasoning models with reinforcement learning
7 Improving GRPO for reinforcement learning
8 Distilling reasoning models for efficient reasoning
A References and further reading
B Exercise solutions
C Qwen3 LLM source code
D Using larger LLMs
E Batching and throughput-oriented execution
F Common approaches to model evaluation
G Building a chat interface

The book, Build a Reasoning Model (From Scratch) (From Scratch) [Bulk, Wholesale, Quantity] ISBN#9781633434677 in Paperback by Sebastian Raschka may be ordered in bulk quantities. Minimum starts at 25 copies. Availability based on publisher status and quantity being ordered.

Details

Author:
Sebastian Raschka
Format:
Paperback
Publication Date:
07/28/2026
ISBN-10:
1633434672
ISBN-13:
9781633434677
Pages:
440
Publisher:
Manning

Customer Reviews

This product hasn't received any reviews yet. Be the first to review this product!

Need Books? BookPal Makes it Easy

  • Free Shipping

    Enjoy free ground shipping on us! Most orders over $95 qualify for free standard ground shipping.It takes an estimated 7-10 business days to deliver and may require additional processing time

    Learn More
  • Dedicated Account Managers

    At BookPal, we go beyond the transaction by providing personal support and a dedicated account manager for every customer.

    Learn More
  • Flexible Delivery Options

    We offer flexible delivery options such Free Ground Shipping (on most orders over $100), Expedited Premium, Expedited Express, International Shipping etc.

    Learn More
  • Sales Tax Exemption

    BookPal is a tax-exempt supplier for all 50 states. We can provide you with a tax-exempt certificate to use on your orders.

    Learn More
  • Price Match Guarantee

    With over 3 million book titles available, it's impossible to always be the lowest priced. If you find a lower price on a new title elsewhere that is available to ship in the quantity you need, we are happy to discount your books and match the lower price.

    Learn More
  • Multiple Payment Options

    BookPal accepts all major credit cards, PayPal, and checks by mail, along with Purchase Orders upon approval. We also accept ACH payments and wire transfers.

    Learn More

We are here to help, reach out to our team anytime!

Connect With Us

Subscribe to our newsletter for $25 off your next order of $500+

Review Your Cart Close Close
Your cart is empty Your cart is empty Your cart is empty
Recently Viewed Recently Viewed
Back to top Back to top