{"schema_version":"bf_book_companion_v1","release_id":"site_cron_amazon_bestseller_frontier_20261027T020001Z","book":{"amazon_purchase_url":"https://www.amazon.com/dp/1633434672?tag=bookfrontie00-20","asin":"1633434672","authors":["Sebastian Raschka"],"book_id":"9781633434677","canonical_url":"https://bookfrontier.com/books/build-a-reasoning-model-from-scratch-1633434672","cover_image_url":"https://img.bookfrontier.com/9781633434677.jpg?v=fd54f20e7007bb6e","description":"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.","forthcoming":false,"isbn13":"9781633434677","publication_date":"20260728","publisher":"Manning","slug":"build-a-reasoning-model-from-scratch","subtitle":"","title":"Build a Reasoning Model (from Scratch)"},"discovery":{"categories":{"all":[{"bisac_code":"COM042000","confidence_band":"unbanded","label":"Natural Language Processing","score":0.81,"source":"bisac_hint_model"},{"bisac_code":"COM094000","confidence_band":"unbanded","label":"Machine Learning","score":0.51,"source":"bisac_hint_model"},{"bisac_code":"COM044000","confidence_band":"unbanded","label":"Neural Networks","score":0.45,"source":"bisac_hint_model"}],"hint":[{"bisac_code":"COM042000","confidence_band":"unbanded","label":"Natural Language Processing","score":0.81,"source":"bisac_hint_model"},{"bisac_code":"COM094000","confidence_band":"unbanded","label":"Machine Learning","score":0.51,"source":"bisac_hint_model"},{"bisac_code":"COM044000","confidence_band":"unbanded","label":"Neural Networks","score":0.45,"source":"bisac_hint_model"}],"publisher":[{"bisac_code":"COM018000","confidence_band":"high","label":"Data Science","score":1,"source":"onix_publisher_code"},{"bisac_code":"COM051300","confidence_band":"high","label":"Algorithms","score":1,"source":"onix_publisher_code"},{"bisac_code":"COM094000","confidence_band":"high","label":"Machine Learning","score":1,"source":"onix_publisher_code"}]},"genres":[{"label":"Natural Language Processing","score":0.81,"slug":"natural-language-processing"},{"label":"Machine Learning","score":0.51,"slug":"machine-learning"},{"label":"Neural Networks","score":0.45,"slug":"neural-networks"}],"reader_fit":["Readers who want to build reasoning-focused LLMs from a pre-trained model","Readers seeking practical code for evaluating and improving LLM reasoning"],"related_lists":[],"series":null,"similar_books":[{"authors":["Sebastian Raschka"],"book_id":"9781633437166","cover_image_url":"https://img.bookfrontier.com/9781633437166.jpg?v=3bd993b672b67fca","score":0.7887,"title":"Build a Large Language Model (from Scratch)","url":"https://bookfrontier.com/books/9781633437166"},{"authors":["Trey Grainger","Doug Turnbull","Max Irwin"],"book_id":"9781617296970","cover_image_url":"https://img.bookfrontier.com/9781617296970.jpg?v=2ad1266614055d18","score":0.5823,"title":"AI-Powered Search","url":"https://bookfrontier.com/books/9781617296970"},{"authors":["Kevin P. Murphy"],"book_id":"9780262018029","cover_image_url":"https://img.bookfrontier.com/9780262018029.jpg?v=b6b983223b95b74e","score":0.5301,"title":"Machine Learning","url":"https://bookfrontier.com/books/9780262018029"},{"authors":["Edward Raff"],"book_id":"9781617298639","cover_image_url":"https://img.bookfrontier.com/9781617298639.jpg?v=e3ec698446846a6e","score":0.5297,"title":"Inside Deep Learning","url":"https://bookfrontier.com/books/9781617298639"},{"authors":["Aurélien Géron"],"book_id":"9781098125974","cover_image_url":"https://img.bookfrontier.com/9781098125974.jpg?v=08030a1e0e269d32","score":0.5256,"title":"Hands-on Machine Learning With Scikit-learn, Keras, and Tensorflow","url":"https://bookfrontier.com/books/9781098125974"},{"authors":["Mark Fenner"],"book_id":"9780134845623","cover_image_url":"https://img.bookfrontier.com/9780134845623.jpg?v=9a426a9686283467","score":0.51,"title":"Machine Learning With Python for Everyone","url":"https://bookfrontier.com/books/9780134845623"},{"authors":["Anil Ananthaswamy"],"book_id":"9780593185766","cover_image_url":"https://img.bookfrontier.com/9780593185766.jpg?v=7e4bcc4158d9f903","score":0.5069,"title":"Why Machines Learn","url":"https://bookfrontier.com/books/9780593185766"},{"authors":["Chip Huyen"],"book_id":"9781098107963","cover_image_url":"https://img.bookfrontier.com/9781098107963.jpg?v=2407cd9a95157c9e","score":0.4992,"title":"Designing Machine Learning Systems","url":"https://bookfrontier.com/books/9781098107963"}],"topics":[],"what_you_get":["Themes: LLM reasoning, Reasoning model development, Reinforcement learning.","Pacing: steady blend of plot and character.","Reading lane: Natural Language Processing and Machine Learning."]},"llm_signals":{"confidence":0.94,"pacing":"steady","reader_fit":["Readers who want to build reasoning-focused LLMs from a pre-trained model","Readers seeking practical code for evaluating and improving LLM reasoning"],"themes":["LLM reasoning","Reasoning model development","Reinforcement learning"],"tropes":[]},"source_presence":{"amazon":true,"book_detail":true,"goodreads":true,"llm_signals":true,"similarity_seed":true},"stats":{"amazon_ratings_count":42,"goodreads_ratings_count":0,"goodreads_reviews_count":1,"quality_score":0.8221}}