Build a Reasoning Model (from Scratch)
暫譯: 從零開始建立推理模型
Raschka, Sebastian
- 出版商: Manning
- 出版日期: 2026-08-11
- 售價: $2,280
- 貴賓價: 9.5 折 $2,166
- 語言: 英文
- 頁數: 440
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1633434672
- ISBN-13: 9781633434677
-
相關分類:
Large language model
尚未上市,無法訂購
商品描述
Get a free eBook (PDF or ePub) from Manning as well as access to the online liveBook format (and its AI assistant that will answer your questions in any language) when you purchase the print book. LLM reasoning models have the power to tackle truly challenging problems that require finding the right path through multiple steps. In this book you'll learn how to build a working reasoning model from the ground up. You will start with an existing pre-trained LLM and then implement reasoning-focused improvements from scratch. Sebastian Raschka, the bestselling author of Build a Large Language Model (From Scratch), is your guide on this exciting journey. Sebastian mentors you every step of the way with clear explanations, practical code, and a keen focus on what really matters. Understand LLM reasoning by creating your own reasoning model-from scratch! In Build A Reasoning Model (From Scratch) you'll learn how to: - Implement core reasoning improvements for LLMs
- Evaluate models using judgment-based and benchmark-based methods
- Improve reasoning without updating model weights
- Use reinforcement learning to integrate external tools like calculators
- Apply distillation techniques to learn from larger reasoning models
- Understand the full reasoning model development pipeline Reasoning models break problems into steps, producing more reliable answers in math, logic, and code. These improvements aren't just a curiosity-they're already integrated into top models like Grok 4 and GPT-5. Build A Reasoning Model (From Scratch) demystifies these complex models with a simple philosophy: the best way to learn how something works is to build it yourself! You'll begin with a pre-trained LLM, adding and improving its reasoning capabilities in ways you can see, test, and understand. About the book In Build a Reasoning Model (From Scratch), acclaimed ML research engineer Sebastian Raschka takes you inside the black box of reasoning-enhanced LLMs. You'll start with a compact, pre-trained base model that runs on consumer hardware, then upgrade it step by step to tackle ever-more difficult problems and scenarios. You'll measure its performance, add reasoning at inference time without training, and then improve it further with reinforcement learning. By the end of the book, you'll have a small but capable reasoning stack built from the ground up! About the reader For readers who know Python and have some knowledge of machine learning. You won't need any specialist hardware. The examples will run on a standard laptop, although using cloud GPUs can make training faster. About the author Sebastian Raschka, PhD, is an LLM Research Engineer with over a decade of experience in artificial intelligence. His work spans industry and academia, including implementing LLM solutions as a senior engineer at Lightning AI and teaching as a statistics professor at the University of Wisconsin-Madison. Sebastian collaborates with industry partners on AI solutions and serves on the Open Source Board at University of Wisconsin-Madison. He specializes in LLMs and the development of high-performance AI systems, with a deep focus on practical, code-driven implementations. He is the author of the bestselling books Build a Large Language Model (From Scratch), as well as Machine Learning with PyTorch and Scikit-Learn, and Machine Learning Q and AI.
- Evaluate models using judgment-based and benchmark-based methods
- Improve reasoning without updating model weights
- Use reinforcement learning to integrate external tools like calculators
- Apply distillation techniques to learn from larger reasoning models
- Understand the full reasoning model development pipeline Reasoning models break problems into steps, producing more reliable answers in math, logic, and code. These improvements aren't just a curiosity-they're already integrated into top models like Grok 4 and GPT-5. Build A Reasoning Model (From Scratch) demystifies these complex models with a simple philosophy: the best way to learn how something works is to build it yourself! You'll begin with a pre-trained LLM, adding and improving its reasoning capabilities in ways you can see, test, and understand. About the book In Build a Reasoning Model (From Scratch), acclaimed ML research engineer Sebastian Raschka takes you inside the black box of reasoning-enhanced LLMs. You'll start with a compact, pre-trained base model that runs on consumer hardware, then upgrade it step by step to tackle ever-more difficult problems and scenarios. You'll measure its performance, add reasoning at inference time without training, and then improve it further with reinforcement learning. By the end of the book, you'll have a small but capable reasoning stack built from the ground up! About the reader For readers who know Python and have some knowledge of machine learning. You won't need any specialist hardware. The examples will run on a standard laptop, although using cloud GPUs can make training faster. About the author Sebastian Raschka, PhD, is an LLM Research Engineer with over a decade of experience in artificial intelligence. His work spans industry and academia, including implementing LLM solutions as a senior engineer at Lightning AI and teaching as a statistics professor at the University of Wisconsin-Madison. Sebastian collaborates with industry partners on AI solutions and serves on the Open Source Board at University of Wisconsin-Madison. He specializes in LLMs and the development of high-performance AI systems, with a deep focus on practical, code-driven implementations. He is the author of the bestselling books Build a Large Language Model (From Scratch), as well as Machine Learning with PyTorch and Scikit-Learn, and Machine Learning Q and AI.
商品描述(中文翻譯)
購買印刷版書籍時,您將獲得來自 Manning 的免費電子書(PDF 或 ePub),以及訪問線上 liveBook 格式(及其 AI 助手,能用任何語言回答您的問題)的權限。
LLM 推理模型具備解決真正具有挑戰性的問題的能力,這些問題需要在多個步驟中找到正確的路徑。在本書中,您將學習如何從零開始構建一個可運作的推理模型。您將從一個現有的預訓練 LLM 開始,然後從頭實現以推理為重點的改進。 Sebastian Raschka,暢銷書《從零開始構建大型語言模型》的作者,將引導您踏上這段令人興奮的旅程。Sebastian 在每一步都會用清晰的解釋、實用的代碼和對真正重要事物的敏銳關注來指導您。通過創建自己的推理模型來理解 LLM 推理——從零開始! 在《從零開始構建推理模型》中,您將學習如何: - 為 LLM 實現核心推理改進- 使用基於判斷和基準的方法評估模型
- 在不更新模型權重的情況下改善推理
- 使用強化學習整合外部工具,如計算器
- 應用蒸餾技術從更大的推理模型中學習
- 理解完整的推理模型開發流程 推理模型將問題分解為步驟,產生在數學、邏輯和代碼中更可靠的答案。這些改進不僅僅是好奇心——它們已經整合到像 Grok 4 和 GPT-5 這樣的頂尖模型中。《從零開始構建推理模型》用一個簡單的哲學解開了這些複雜模型的神秘:學習某事物如何運作的最佳方式就是自己動手構建!您將從一個預訓練的 LLM 開始,添加和改善其推理能力,以您可以看到、測試和理解的方式進行。 關於本書 在《從零開始構建推理模型》中,著名的機器學習研究工程師 Sebastian Raschka 帶您深入推理增強 LLM 的黑箱。您將從一個在消費者硬體上運行的緊湊預訓練基礎模型開始,然後逐步升級以應對越來越困難的問題和場景。您將測量其性能,在推理時添加推理而不進行訓練,然後進一步通過強化學習改善它。在書的結尾,您將擁有一個從零開始構建的小型但功能強大的推理堆疊! 關於讀者 適合了解 Python 並對機器學習有一定了解的讀者。您不需要任何專業硬體。這些範例將在標準筆記型電腦上運行,雖然使用雲端 GPU 可以加快訓練速度。 關於作者 Sebastian Raschka, PhD 是一位 LLM 研究工程師,擁有超過十年的人工智慧經驗。他的工作涵蓋了產業和學術界,包括作為 Lightning AI 的高級工程師實施 LLM 解決方案,以及在威斯康辛大學麥迪遜分校擔任統計學教授。 Sebastian 與業界夥伴合作開發 AI 解決方案,並在威斯康辛大學麥迪遜分校的開源委員會任職。他專注於 LLM 和高效能 AI 系統的開發,深度關注實用的、以代碼驅動的實現。他是暢銷書《從零開始構建大型語言模型》、《使用 PyTorch 和 Scikit-Learn 的機器學習》以及《機器學習 Q 和 AI》的作者。
作者簡介
Sebastian Raschka has been working on machine learning and AI for more than a decade. Sebastian joined Lightning AI in 2022, where he now focuses on AI and LLM research, developing open-source software, and creating educational material. Prior to that, Sebastian worked at the University of Wisconsin-Madison as an assistant professor in the Department of Statistics, focusing on deep learning and machine learning research. He has a strong passion for education and is best known for his bestselling books on machine learning using open-source software.
作者簡介(中文翻譯)
塞巴斯蒂安·拉施卡在機器學習和人工智慧領域工作了十多年。塞巴斯蒂安於2022年加入Lightning AI,現在專注於人工智慧和大型語言模型(LLM)研究,開發開源軟體,並創建教育材料。在此之前,塞巴斯蒂安在威斯康辛大學麥迪遜分校擔任統計學系的助理教授,專注於深度學習和機器學習研究。他對教育充滿熱情,以其使用開源軟體的機器學習暢銷書而聞名。