Build a Large Language Model (From Scratch) – Sebastian Raschka

No reviews yet
AuthorSebastian Raschka
ISBN978-1633437166
FormatPaperback
PublisherManning Publications
LanguageEnglish
Price$39.24
AvailabilityAvailable to order
$39.24 Subtotal: $39.24
About this book

Build a Large Language Model (From Scratch) is the definitive, hands-on guide for engineers who want to demystify the technology behind ChatGPT and Claude. Written by renowned educator Sebastian Raschka, this book takes you on a step-by-step journey through the creation of a fully functional LLM using Python and PyTorch. By building every component from the ground up, you gain an unparalleled understanding of how these massive models process language and generate human-like text.

About the Book

This Manning publication provides a clear, technical blueprint for the "Transformer" architecture that powers the modern AI revolution. Build a Large Language Model (From Scratch) avoids the "black box" approach by requiring you to code the attention mechanisms, data loaders, and training loops yourself. Raschka’s pedagogical style simplifies complex concepts like BPE tokenization and multi-head self-attention, making this the perfect resource for developers ready to transition from AI consumers to AI creators.

What You’ll Learn / Why Read

Build a Large Language Model (From Scratch) teaches you the full lifecycle of an LLM. You will learn how to prepare massive datasets for training, implement the core Transformer layers, and load pre-trained weights into your custom-built architecture. The book also covers the essential final steps: fine-tuning your model for specific tasks and using human feedback to improve its performance. This is an essential read for software architects, data scientists, and curious programmers who want to stay at the cutting edge of the AI landscape.

Author Bio

Sebastian Raschka, PhD, is a machine learning researcher and the author of several bestselling books on Python and AI. He is known for his work in the open-source community and his ability to explain high-level research in a way that is accessible to practical developers.

Product Details

  • Author: Sebastian Raschka

  • Publisher: Manning Publications

  • Language: English

  • Format: Paperback

  • ISBN-13: 978-1633437166

  • Genre: Computers / Artificial Intelligence / Data Science

  • Pages: 350+ Pages

Why Buy from Nybookshub

AI Researchers and engineers choose Nybookshub because we provide 100% authentic editions from Manning Publications. In a field as complex as Large Language Models, the clarity of code blocks and the precision of architecture diagrams are critical to your success; we ensure you receive a verified printing that is as durable as it is detailed. Our global shipping network ensures that Sebastian Raschka’s essential guide reaches innovators from Silicon Valley to Bangalore. At Nybookshub, we empower the creators of the next generation of intelligence.

Questions & Answers

Do I need a supercomputer to follow this book? No, the book is designed so that the core components can be built and tested on standard consumer hardware (laptops with modest GPUs or cloud-based environments).

Is the code written in PyTorch or TensorFlow? The book focuses entirely on PyTorch, which is the industry standard for LLM research and development.

Does Nybookshub ship this internationally? Yes, we offer fast, tracked global shipping to ensure developers everywhere can master LLM construction.

Does it cover the math behind self-attention? Yes, but it does so through a "code-first" approach, explaining the linear algebra by implementing it in Python.

Will I be able to build a model as big as GPT-4? While the book teaches you the architecture of such models, it focuses on building a smaller, manageable version (GPT-2 scale) that you can actually train and run yourself.

Key details
TitleBuild a Large Language Model (From Scratch) – Sebastian Raschka AuthorSebastian Raschka ISBN978-1633437166 Binding / FormatPaperback PublisherManning Publications LanguageEnglish Page count350+ Pages
Shipping and returns
Shipping options and delivery estimates are shown at checkout. Returns are subject to your store policy.

Review our Shipping & Delivery Policy for the applicable shipping commitment, and our Returns & Refund Policy for eligibility and return-shipping responsibilities.

COMPLETE YOUR BOOKSHELF

Books to Buy Together

Pair this title with complementary books and curated collections.

🚚
U.S. delivery12–14 business days for fulfillment and delivery
🔒
Secure checkoutProtected payments
↩
Clear return policyClear return policy
💬
Reader supportWe're here to help