Build a Large Language Model
{"all_nodes":"stitched from OCR output; frontier verification status per node"}local graph
Build a Large Language Model — Sebastian Raschka
Section titled “Build a Large Language Model — Sebastian Raschka”From Scratch — Manning, 2024.
The book is organized as 7 chapters followed by appendices A–E and an index; there are no part dividers. Known scan gaps, documented in the stitch spec: acknowledgments, about-this-book, and about-the-author are absent, and the index is likely truncated. Companion volume to Build a Reasoning Model (already in the corpus).
front-about-the-cover
Section titled “front-about-the-cover”node-book_build-a-large-language-model_front-about-the-cover — About the Cover Illustration
chapter_01
Section titled “chapter_01”node-book_build-a-large-language-model_chapter-01-understanding-large-language-models — Chapter 1 — Understanding large language models
chapter_02
Section titled “chapter_02”node-book_build-a-large-language-model_chapter-02-working-with-text-data — Chapter 2 — Working with text data
chapter_03
Section titled “chapter_03”node-book_build-a-large-language-model_chapter-03-coding-attention-mechanisms — Chapter 3 — Coding attention mechanisms
chapter_04
Section titled “chapter_04”node-book_build-a-large-language-model_chapter-04-implementing-a-gpt-model-from-scratch-to-generate-text — Chapter 4 — Implementing a GPT model from scratch to generate text
chapter_05
Section titled “chapter_05”node-book_build-a-large-language-model_chapter-05-pretraining-on-unlabeled-data — Chapter 5 — Pretraining on unlabeled data
chapter_06
Section titled “chapter_06”node-book_build-a-large-language-model_chapter-06-fine-tuning-for-classification — Chapter 6 — Fine-tuning for classification
chapter_07
Section titled “chapter_07”node-book_build-a-large-language-model_chapter-07-fine-tuning-to-follow-instructions — Chapter 7 — Fine-tuning to follow instructions
appendix-a-introduction-to-pytorch
Section titled “appendix-a-introduction-to-pytorch”node-book_build-a-large-language-model_appendix-a-introduction-to-pytorch — Appendix A: Introduction to PyTorch
appendix-b-references-and-further-reading
Section titled “appendix-b-references-and-further-reading”node-book_build-a-large-language-model_appendix-b-references-and-further-reading — Appendix B: References and further reading
appendix-c-exercise-solutions
Section titled “appendix-c-exercise-solutions”node-book_build-a-large-language-model_appendix-c-exercise-solutions — Appendix C: Exercise solutions
appendix-d-adding-bells-and-whistles-to-the-training-loop
Section titled “appendix-d-adding-bells-and-whistles-to-the-training-loop”node-book_build-a-large-language-model_appendix-d-adding-bells-and-whistles-to-the-training-loop — Appendix D: Adding bells and whistles to the training loop
appendix-e-parameter-efficient-fine-tuning-with-lora
Section titled “appendix-e-parameter-efficient-fine-tuning-with-lora”node-book_build-a-large-language-model_appendix-e-parameter-efficient-fine-tuning-with-lora — Appendix E: Parameter-efficient fine-tuning with LoRA