1. Andrej Karpathy — Zero to Hero
Build intuition for neural networks, backpropagation, language models and GPT by implementing the ideas.
Learn how large language models work, how they are trained and optimized, and how to build reliable LLM-powered applications and agents.
The objective is not just to use AI APIs. It is to understand the models and the engineering systems around them.
| Stage | Weeks | Focus |
|---|---|---|
| 1. Foundations | 1–2 | Math, neural networks and PyTorch |
| 2. Language models | 3–4 | Tokenization, embeddings and next-token prediction |
| 3. Transformers | 5–6 | Attention and transformer internals |
| 4. Pretraining | 7 | Data, optimization and training systems |
| 5. Post-training | 8–9 | SFT, LoRA, RLHF, DPO and GRPO |
| 6. Inference | 10–11 | KV cache, quantization and performance |
| 7. LLM applications | 12–14 | Prompting, embeddings, RAG and context |
| 8. Evaluation | 15–16 | Benchmarks, reliability and safety |
| 9. Advanced topics | 17–18 | Reasoning, agents and research |
| 10. Projects | 19–20 | Build and consolidate your knowledge |
Use these as the backbone of the curriculum rather than jumping between dozens of disconnected tutorials.
Build intuition for neural networks, backpropagation, language models and GPT by implementing the ideas.
A structured implementation path covering tokenization, attention, transformer blocks, pretraining and fine-tuning.
Learn to use pretrained models, tokenizers, datasets, fine-tuning and the open-source model ecosystem.
A rigorous, implementation-heavy course on building language models, training, GPUs, scaling and systems.
Understand supervised fine-tuning, reward models, preference optimization and reinforcement learning for language models.
Each phase includes topics, recommended resources and a practical exercise.
Learn enough of the mathematics and machine learning machinery to understand what happens inside a neural network. You do not need to become a mathematician.
Understand what a language model predicts, how text becomes tokens and how a model generates text one token at a time.
This is one of the most important phases. Aim to explain each major component and how data flows through a transformer.
Learn what it takes to create a foundation model, from collecting training data to optimizing a large distributed training run.
Understand how a pretrained model is adapted to follow instructions, reflect preferences and improve at tasks such as reasoning.
| Technique | What to understand |
|---|---|
| SFT | Supervised fine-tuning on examples |
| Instruction tuning | Teaching a model to follow instructions |
| PEFT / LoRA | Efficiently adapting a small number of parameters |
| QLoRA | Memory-efficient fine-tuning with quantization |
| RLHF | Using human preference feedback |
| Reward models | Learning to score preferred outputs |
| PPO | Policy optimization |
| DPO | Preference optimization without a traditional reward-model RL loop |
| RLAIF | AI-generated feedback |
| GRPO and RLVR | Group-relative and verifiable-reward training |
| Distillation | Transferring capabilities to smaller models |
Learn how trained models are executed efficiently. This is especially useful for understanding local LLMs, hardware requirements and serving systems.
Learn how models are integrated into useful applications and how external knowledge, tools and memory extend what a model can do.
Note: some bootcamp recordings are older. Use them for fundamentals and verify current library APIs against official documentation.
Learn how to determine whether a model or application is actually reliable. Fluent answers are not necessarily correct answers.
Explore mixture-of-experts architectures, multimodal models (vision, audio and video), long-context models, mechanistic interpretability, sparse attention, model merging, synthetic data generation, compression and distillation.
Finish with working implementations rather than only notes and videos.
Read these after learning the relevant concepts. Focus on the problem, proposed solution, experiments and limitations.
| Paper | Key contribution / topic | Read |
|---|---|---|
| Attention Is All You Need | Transformer architecture | arXiv ↗ |
| BERT | Bidirectional language-model pretraining | arXiv ↗ |
| GPT-3 | Scaling and few-shot learning | arXiv ↗ |
| Chinchilla | Compute-optimal training | arXiv ↗ |
| InstructGPT | Instruction tuning and RLHF | arXiv ↗ |
| LoRA | Parameter-efficient fine-tuning | arXiv ↗ |
| DPO | Direct preference optimization | arXiv ↗ |
| DeepSeek-R1 | Reasoning-focused reinforcement learning | arXiv ↗ |
A balanced approach to learning, reading, implementation and recall.
Watch lectures and understand the high-level concept.
Read technical blogs, papers or documentation.
Write code to reproduce the concept. Prioritize this time.
Explain the topic without notes, find gaps and create flashcards.
Use these outcomes to judge whether the learning is becoming practical knowledge.
Track the concepts you have genuinely learned. Your progress is saved in this browser using local storage.
0 of 36 concepts completed