eBook INGLÉS EPUB con DRM

Build a Reasoning Model (From Scratch)

Nuevo

Léelo en cualquier dispositivo Descárgalo y empieza a leer ya







Sinopsis

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.

Whats 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).

Léelo en cualquier dispositivo


Ficha Técnica

Editorial: Manning

ISBN: 9781638358206

Idioma: Inglés

Fecha de lanzamiento: 30/06/2026

Especificaciones del producto

Escrito por Sebastian Raschka

Sebastian Raschka lleva más de una década trabajando en aprendizaje automático e inteligencia artificial. Además de ser investigador, le apasiona la enseñanza. Es reconocido por sus libros sobre 'machine learning' con Python y por sus contribuciones al software de código abierto.

En la actualidad, Sebastian es ingeniero investigador en Lightning AI, donde se especializa en la implementación y el entrenamiento de modelos de lenguaje de gran tamaño (LLM). Anteriormente, fue profesor asistente en el Departamento de Estadística de la Universidad de Wisconsin-Madison, donde se centró en la investigación sobre 'deep learning' o DL (aprendizaje profundo). Se Puede encontrar más información sobre él en su sitio web: https://sebastianraschka.com.
Descubre más sobre Sebastian Raschka

Recibe novedades de Sebastian Raschka directamente en tu email

Reseñas sobre Build a Reasoning Model (From Scratch)

Comparte tu experiencia con la comunidad lectora.

0

0 Reseñas

5 0
4 0
3 0
2 0
1 0

Sólo por opinar entras en el sorteo mensual de tres tarjetas regalo valoradas en
20€

Los eBooks más vendidos de la semana

Ver más

*Descuento de 15 euros en el eReader Vivlio Light Zen, válido para pedidos realizados en casadellibro.com del 13 de julio al 2 de agosto y solo para los 300 primeros compradores, hasta fin de existencias.