← Back
Build a Large Language Model from Scratch
A book by Sebastian Raschka that teaches readers how to implement and understand large language models by coding them from the ground up.
Check price →
2
sources
Mentioned by
All mentions
"First is Build a Large Language Model from Scratch and Build a Reasoning Model from Scratch. I truly believe in the machine learning world, the best way to learn and understand something is to build it yourself from scratch."
From:
State of AI in 2026: LLMs, Coding, Scaling Laws, China, Agents, GPUs, AGI | Lex Fridman Podcast #490
•
▶ 0:53
•
Jan 2026
Attribution: Lex explicitly recommends Sebastian's books and explains why building from scratch is the best way to learn
"The goal with the book is basically to understand how the LLM works. It's not going to be a production-level LLM, but once you have that, you can understand the production-level LLM."
From:
State of AI in 2026: LLMs, Coding, Scaling Laws, China, Agents, GPUs, AGI | Lex Fridman Podcast #490
•
▶ 1:59:46
•
Jan 2026
Attribution: Sebastian refers to 'the book' in context of his educational goals, and this matches his known authorship of this LLM book