Who it is for
For learners familiar with Python and basic PyTorch who want to understand LLM algorithms and systems through code.
What you can learn
Begin with decoder components and attention, then choose training, fine-tuning, inference or quantization topics and consult the project’s experiment and environment guidance.
Try it first
Choose an attention or normalization exercise. Record input and output tensor shapes and expectations, run its basic checks, then change one parameter and compare results.
Free access and conditions
The Chinese tutorial is free to read without an account. The project overview includes English; check individual lessons for language availability. Some basics run on CPU; advanced performance, training or serving exercises may need GPUs, additional setup or paid cloud compute.
Source and rights
The repository identifies CC BY 4.0 for notebook text and Apache-2.0 for code, while the web chapter footer says MIT; the scope needs author clarification. This page links to the source; check third-party data, models and materials separately.
Source: Datawhale · lynn_jingjing
Related learning resources
- Datawhale Diy-LLM: Building Language Models from Scratch — Follow the language model development workflow from tokenization and architecture to training, data, evaluation and systems.
- Happy-LLM: Learn and Build Language Models — Learn NLP foundations, Transformers, pretraining and fine-tuning with hands-on exercises.
- AI Infra in Depth: Quantitative Analysis and System Design — Study AI inference and training systems through hardware constraints and quantitative analysis.
Continue learning: Free courses on AI MOOC