A study plan, from maths to language models
AI
roadmap
Everything it takes to build a Claude-level AI, phase by phase: from the maths basics to training language models with billions of parameters. Each phase lists the papers, books, courses and hands-on projects to work through.
Estimate your timeline- Phases
- 6
- Years, full time
- 5–7
- Research papers
- 25+
- Books
- 15+
- Courses
- 20+
Your timeline
Move the sliders to match how much time you can give each week. The whole plan takes about 10,000 to 15,000 hours of study.
Timeline estimator
- Years
- 12.0
- Months
- 144
- Total hours
- 12,500
Six phases
Each phase builds on the one before it. Open a phase to see its books, papers, courses and projects.
Papers to read
The papers behind today's large language models. Read them in this order.
- 2017
Attention Is All You Need
Vaswani et al. (Google Brain)
THE transformer paper. Every modern LLM is built on this architecture.
Read on arXiv - 2018
BERT: Pre-training of Deep Bidirectional Transformers
Devlin et al. (Google)
Established masked language modeling pre-training. Still widely used.
Read on arXiv - 2020
Language Models are Few-Shot Learners (GPT-3)
Brown et al. (OpenAI)
175B parameter model that showed emergent capabilities at scale.
Read on arXiv - 2022
Constitutional AI: Harmlessness from AI Feedback
Bai et al. (Anthropic)
How Claude is trained to be helpful and safe. Core Anthropic technique.
Read on arXiv - 2020
Scaling Laws for Neural Language Models
Kaplan et al. (OpenAI)
Predicts how model loss scales with compute, data, and parameters.
Read on arXiv - 2022
Training Language Models to Follow Instructions (InstructGPT)
Ouyang et al. (OpenAI)
Introduced RLHF pipeline. The paper that created the 'assistant' paradigm.
Read on arXiv - 2023
LLaMA: Open and Efficient Foundation Language Models
Touvron et al. (Meta AI)
Best documented open-source LLM. Great for studying architecture.
Read on arXiv - 2022
FlashAttention: Fast and Memory-Efficient Exact Attention
Dao et al.
IO-aware exact attention. Critical for training long-context models.
Read on arXiv - 2023
Direct Preference Optimization (DPO)
Rafailov et al.
Simplified RLHF without separate reward model. Widely adopted.
Read on arXiv - 2021
LoRA: Low-Rank Adaptation of Large Language Models
Hu et al. (Microsoft)
Fine-tune 70B models on a single GPU. Most useful paper for practitioners.
Read on arXiv - 2017
Proximal Policy Optimization Algorithms
Schulman et al. (OpenAI)
The RL algorithm that powers RLHF training. Must understand.
Read on arXiv - 2023
Sparks of Artificial General Intelligence: Early experiments with GPT-4
Bubeck et al. (Microsoft)
Fascinating analysis of GPT-4's emergent capabilities and reasoning.
Read on arXiv - 2023
GPT-4 Technical Report
OpenAI
State-of-the-art LLM. Understand what the frontier looks like.
Read on arXiv - 2019
ZeRO: Memory Optimizations Toward Training Trillion Parameter Models
Rajbhandari et al. (Microsoft)
Distributed training memory optimization. You need this to train large models.
Read on arXiv - 2014
Adam: A Method for Stochastic Optimization
Kingma & Ba
The optimizer behind almost every LLM. Understand it at a deep level.
Read on arXiv - 2021
RoPE: Rotary Position Embedding
Su et al.
Position encoding used in LLaMA, Mistral, Claude. Better than learned.
Read on arXiv - 2020
The Pile: An 800GB Dataset of Diverse Text for Language Modeling
Gao et al. (EleutherAI)
How to build training datasets at scale. Data quality matters most.
Read on arXiv - 2024
Mixtral of Experts
Jiang et al. (Mistral AI)
Best open MoE model. Understanding sparse expert routing.
Read on arXiv
Books
Picked by hand, from beginner to advanced, covering maths, machine learning, deep learning and NLP.
- Beginner
Mathematics for Machine Learning
Deisenroth, Faisal & Ong
Free PDF. Covers linear algebra, calculus, probability — everything you need.
- Intermediate
Deep Learning
Goodfellow, Bengio & Courville
Free at deeplearningbook.org. The textbook for the field. Dense but essential.
- Advanced
The Elements of Statistical Learning
Hastie, Tibshirani & Friedman
Free PDF at ESL website. Statistical ML — rigorous and thorough.
- Beginner
Hands-On Machine Learning (3rd Ed.)
Aurélien Géron
Best practical ML book. Scikit-learn to neural networks. Highly recommended.
- Intermediate
NLP with Transformers
Lewis Tunstall et al. (Hugging Face)
The go-to practical book for transformers. Pairs with HF libraries perfectly.
- Intermediate
Build a Large Language Model From Scratch
Sebastian Raschka
Step-by-step code. You build a GPT-2 equivalent from scratch. Outstanding.
- Intermediate
Speech and Language Processing (3rd Ed.)
Jurafsky & Martin
Free online. Stanford's NLP bible. Theory of language models from first principles.
- Beginner
Deep Learning with PyTorch
Eli Stevens, Luca Antiga
Best PyTorch book. Goes from tensors to production models.
- Intermediate
Designing Machine Learning Systems
Chip Huyen
ML in production: data, training, deployment, monitoring. Invaluable.
- Beginner
Human Compatible: AI and the Problem of Control
Stuart Russell
Why AI safety matters and how to think about aligned AI systems.
- Beginner
The Alignment Problem
Brian Christian
Accessible deep dive into AI alignment challenges. Essential background.
- Intermediate
Designing Data-Intensive Applications
Martin Kleppmann
Distributed systems for ML infrastructure. Required for serious scaling.
- Advanced
Pattern Recognition and Machine Learning
Christopher Bishop
Bayesian perspective on ML. Essential for cutting-edge research understanding.
- Beginner
Neural Networks and Deep Learning (online book)
Michael Nielsen
Free at neuralnetworksanddeeplearning.com. Best visual explanation of backprop.
Courses
Free and paid courses from the best AI teachers around.
MIT OpenCourseWare
Linear Algebra (18.06SC)
Gilbert Strang
FreeMathsView courseKhan Academy
Multivariable Calculus & Probability
Khan Academy
FreeMathsView courseCoursera / DeepLearning.AI
Machine Learning Specialization
Andrew Ng
PaidMachine learningView courseCoursera / DeepLearning.AI
Deep Learning Specialization (5 courses)
Andrew Ng
PaidDeep learningView courseFast.ai
Practical Deep Learning for Coders (Part 1 & 2)
Jeremy Howard
FreeDeep learningMachine learningView courseYouTube / karpathy.ai
Neural Networks: Zero to Hero
Andrej Karpathy
FreeDeep learningNLPView courseStanford University
CS224N — NLP with Deep Learning
Christopher Manning
FreeNLPView courseStanford University
CS229 — Machine Learning
Andrew Ng
FreeMachine learningMathsView courseHugging Face
NLP Course (Transformers & Datasets)
Hugging Face Team
FreeNLPView courseNYU / Collège de France
Deep Learning Course (DS-GA 1008)
Yann LeCun
FreeDeep learningView courseUC Berkeley
CS285 — Deep Reinforcement Learning
Sergey Levine
FreeMachine learningView courseOpenAI
Spinning Up in Deep RL
OpenAI Research
FreeMachine learningView courseFull Stack Deep Learning
LLM Bootcamp 2023
FSDL Team
FreeNLPDeep learningView courseDeepLearning.AI (Short Course)
Reinforcement Learning from Human Feedback
DeepLearning.AI
PaidNLPView courseGoogle
Machine Learning Crash Course
Google Team
FreeMachine learningView courseCoursera / DeepLearning.AI
MLOps Specialization
Andrew Ng
PaidMachine learningView course3Blue1Brown YouTube
Neural Networks (visual explanations)
Grant Sanderson
FreeDeep learningMathsView courseWeights & Biases
Effective MLOps: Model Development
W&B Team
FreeMachine learningView course
Skills checklist
Tick off skills as you learn them. Your ticks are saved in this browser.
Overall progress
0%
0 of 34 skills done
Phase 1 — Math Foundations
0/5Phase 2 — Machine Learning
0/5Phase 3 — Deep Learning
0/6Phase 4 — Transformers & LLMs
0/6Phase 5 — RLHF & Alignment
0/6Phase 6 — Infrastructure
0/6“Building a Claude-level AI is not a sprint. It's a marathon of learning, building, failing and trying again.”
Good places to keep learning
Built as a personal AI study companion. Good luck on your journey.