Shop Build a Reasoning Model (From Scratch) by Sebastian Raschka

Build a Reasoning Model (From Scratch) by Sebastian Raschka

₨1,899.00

Close
Price Summary
  • ₨1,899.00
  • ₨1,899.00
  • ₨1,899.00
In Stock
Highlights:

BLACK & WHITE Final Release Version
Language ‏ : ‎ English / Size B5
Paperback, 440 Pages, Edition 2026
A+ PDF Printed On Demand Book!
Local Printed Book!
Delivery All Over Pakistan Charges Will Apply.
Due to constant currency fluctuation, prices are subject to change with or without notice.

Compare
Categories: , , Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Description

Build a Reasoning Model (From Scratch)

Sebastian Raschka

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.

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.

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.

Reviews (0)
0 ★
0 Ratings
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

There are no reviews yet.

Be the first to review “Build a Reasoning Model (From Scratch) by Sebastian Raschka”

Your email address will not be published. Required fields are marked *

Scroll To Top
Close
Close
Close

My Cart

Shopping cart is empty!

Continue Shopping

Select at least 2 products
to compare