Section 01
[Introduction] From Scratch Implementation of Core LLM Modules: Dual Implementation Guide for Underlying Understanding and Interview Preparation
This project, llm-core-from-scratch, maintained by XUHIT, is published on GitHub (link: https://github.com/XUHIT/llm-core-from-scratch). It is a systematic hands-on tutorial for core LLM components. Using dual implementation approaches (NumPy and PyTorch), it explains 35 core modules one by one, covering everything from basic linear layers to a complete inference and training loop. It helps developers build an understanding of underlying mechanisms and is suitable for interview preparation, technical research, and educational scenarios.