Section 01
Introduction: A Complete Hands-On Tutorial for Building Large Models from Scratch
The GitHub project walkinglabs/modern-llm-notebook is a systematic LLM learning resource. It guides learners to implement core LLM components (Tokenizer, Attention, MoE, RLHF, inference acceleration, etc.) from scratch using PyTorch through 23 independent Jupyter Notebooks. It bridges the gap between calling APIs and understanding the internal mechanisms of models, following the teaching cycle of "intuitive understanding → manual calculation verification → code implementation → experimental observation".