Courses¶
A course is a curriculum someone has already sequenced, with exercises that force you to do the thing rather than watch it. This page lists 67 of the best AI courses that are open to anyone (most of them free), grouped by subject, with what each is for, what to actually do in it, and the page of this site it pairs with, plus routes through them and an honest estimate of what they cost in hours.
10,000 ft
The strongest universities put their AI teaching online: Stanford's CS229, CS231n, CS224N and CS336, MIT's 6.S191 and 6.5940, Berkeley's CS285, CMU's 11-785. With their notes and assignments, they are the same education their students get, minus the grade. Alongside them sit practitioner courses (fast.ai, Hugging Face, Karpathy's Zero to Hero) that go top-down from working code, and specialist programmes for safety and systems. Courses are the backbone of a self-directed AI education; this site's tracks are designed to be read alongside them, so each entry below names the track page that covers the same ground. For the lecture videos on their own, see Videos and lectures; for planning a whole route, Learning paths.
How to take a course so it sticks¶
The assignments are the course. Lectures transmit the picture; problem sets build the skill. If you only have time for one, do the assignments and skim the lectures, not the reverse. Most university courses below publish their assignments with starter code; the autograders are usually private, so write your own tests (a gradient check, a shape assertion, a tiny dataset you can overfit).
Budget honestly. Stanford's rule is that one unit of credit means about three hours of work per week (Stanford Bulletin), and a quarter has ten weeks of teaching. CS336 is a 5-unit course that its own site calls "very implementation-heavy", so for an enrolled student it is about
of which its 22 hours of recorded lectures are about 15%. Self-studying, expect something similar: a serious university course is 100–150 hours, a practitioner course 30–60, a short course 1–5.
One at a time, with a cadence. Pick a fixed weekly slot, finish one course, then start the next. If a course stalls, it is usually a prerequisite gap: drop back to the maths course, do the relevant section, return. The techniques in How to study AI so it sticks (retrieval practice, spacing, building) are what turn 150 hours into lasting skill.
Find a cohort if you can. Courses with a forum or Discord (fast.ai, Hugging Face, the Berkeley LLM Agents MOOC, ARENA, BlueDot) give you people to get unstuck with. Explaining a solution to someone else is the fastest test of whether you understand it.
Choosing a course¶
| If you are… | And you want… | Start with | Then |
|---|---|---|---|
| A programmer with little maths | to build things quickly | fast.ai Part 1 | Zero to Hero, then the maths courses as needed |
| A programmer with little maths | first principles | Imperial M4ML or MIT 18.06 | CS229 |
| Comfortable with linear algebra and probability | the full theory | CS229 or Caltech CS156 | CS231n, CS224N |
| A deep learning practitioner | to train LLMs | CS336 | MIT 6.5940, CMU DLSys |
| A product engineer | to ship LLM features | Hugging Face LLM course | Berkeley LLM Agents, AI Evals |
| Any of the above | to work on safety | BlueDot | ARENA, CS329H |
| A founder or manager | the landscape, not the maths | Elements of AI | Google ML Crash Course, then this site's map of AI |
Routes through the courses¶
Four concrete routes. Video hours are measured from the official playlists (October 2026); work hours assume you do the assignments, at the 100–150 hours per university course estimated above.
| Route | Courses, in order | Lecture video | Total work |
|---|---|---|---|
| LLM builder | CS229 → CS231n (2017) → CS224N → CS336 | 28 + 19.5 + 27.5 + 22 ≈ 97 h | about 400–600 h: a year at 10 h/week |
| Practical engineer | fast.ai Part 1 → Zero to Hero → HF LLM course → HF Agents course | 12.6 + 19.4 h + text courses | about 150–200 h |
| Researcher (generative / RL) | CS229 → CS231n → CS236 → CS285 | 28 + 19.5 + 24 + CS285's short parts | about 400–600 h |
| Safety engineer | Zero to Hero → BlueDot → ARENA → CS329H | 19.4 h + programme time | about 250–400 h |
Whichever route you take, read the matching track on this site alongside: the maths and classical ML tracks with CS229, the deep learning track with CS231n, the transformers track with CS224N and CS336, and the project ladder as your own assignments.
Mathematics¶
- MIT 18.06 Linear Algebra — Gilbert Strang, MIT OpenCourseWare · video, notes, problem sets with solutions, exams · free. The linear algebra course. Do the problem sets; Strang's lecture videos run 28 hours. → Matrices as linear maps
- MIT 18.065 Matrix Methods in Data Analysis, Signal Processing, and Machine Learning — Strang, OCW · video, problem sets · free. The sequel aimed at ML: SVD, low rank, least squares, gradient descent, the structure of deep learning. → Eigenvectors, SVD and PCA
- Mathematics for Machine Learning Specialization — Imperial College London, Coursera · three courses (linear algebra, multivariate calculus, PCA) with notebooks · paid certificate; check the page for audit options. The gentlest rigorous on-ramp; pairs with the free textbook of the same name on Books. → Why the maths matters
- Statistics 110: Probability — Joe Blitzstein, Harvard · 35 lectures (27 h), with a free textbook and problem sets with solutions linked from the course · free. Probability taught through stories; do the strategic practice problems. → Probability from first principles
- EE364a: Convex Optimization I — Stephen Boyd, Stanford · free textbook, slides, CVXPY exercises · free. Convexity, duality and how to recognise a problem you can solve exactly. The first half is enough for ML. → Optimisation: convex and not
- Statistical Rethinking — Richard McElreath · lectures, homework, code in R and Python ports · free. Bayesian statistics and causal inference for people who will analyse real data, including your evals. → Statistics for experiments and evals
Machine learning and AI foundations¶
- Stanford CS229: Machine Learning — Stanford · notes, problem sets, 2018 lectures by Andrew Ng · free materials. The reference graduate ML course. The lecture notes are better than most textbooks; the problem sets are proofs plus NumPy. → What it means to learn from data
- Learning From Data (Caltech CS156) — Yaser Abu-Mostafa · 18 lectures, homework with answer keys · free. Why learning is possible, cleanly: Hoeffding, VC dimension, bias–variance, regularisation, validation. → Learning theory
- Cornell CS4780: Machine Learning for Intelligent Systems — Kilian Weinberger · lecture notes, 41 lectures · free. The most enjoyable classical ML course; strong on kernels, Gaussian processes and boosting. → Kernels and SVMs
- CMU 10-301/601: Introduction to Machine Learning — Matt Gormley, CMU · slides, homework with programming parts · free materials. A careful undergraduate ML course with excellent written homework. → Logistic regression
- Machine Learning Specialization — Andrew Ng, DeepLearning.AI and Stanford Online, Coursera · three courses with labs · paid certificate. The 2022 rewrite of the most-taken ML course ever: regression, neural nets, trees, recommenders, RL basics, in Python. → Linear regression from scratch
- Machine Learning Crash Course — Google · interactive text, exercises · free. A fast practical tour from regression to embeddings, LLMs and production ML; good for teams. → Metrics, validation and leakage
- Kaggle Learn — Kaggle · short notebook-based micro-courses · free. Pandas, intro and intermediate ML, feature engineering, explainability: hands-on in hours. → Features and tabular data
- Stanford CS221: Artificial Intelligence: Principles and Techniques — Stanford · lectures, homework · free materials. The breadth course: search, MDPs, games, constraint satisfaction, Bayesian networks, logic and learning. → The map of AI
- UC Berkeley CS188: Introduction to Artificial Intelligence — Berkeley · lectures, notes, the Pac-Man projects · free materials. Classical AI through famous projects: search, adversarial games, MDPs, RL, Bayes nets. → Dynamic programming
- Elements of AI — University of Helsinki and MinnaLearn · text and exercises · free. A non-technical introduction for managers, founders and colleagues; no code, no maths beyond arithmetic. → The map of AI
Deep learning¶
- MIT 6.S191: Introduction to Deep Learning — Alexander and Ava Amini, MIT · lectures, TensorFlow and PyTorch labs · free. A one-week bootcamp refreshed every year; the quickest complete overview. → Deep learning at 2,000 ft
- Stanford CS231n: Deep Learning for Computer Vision — Fei-Fei Li, Ehsan Adeli, Justin Johnson and colleagues · notes, assignments · free materials. The assignments (implement backprop, batch norm, CNNs, transformers in NumPy and PyTorch) are the best deep learning exercises anywhere. → Backpropagation from scratch
- Stanford CS230: Deep Learning — Andrew Ng and Kian Katanforoosh, Stanford · lectures, syllabus, projects · free materials. How to run deep learning projects: strategy, error analysis, structuring experiments. → A recipe for training networks
- CMU 11-785: Introduction to Deep Learning — Bhiksha Raj and colleagues, CMU · lectures, recitations, homework · free materials. Exceptionally thorough; the homework has you build your own deep learning library, MyTorch. → Automatic differentiation
- NYU Deep Learning (DS-GA 1008) — Yann LeCun and Alfredo Canziani · lectures, practicals, notebooks · free. Energy-based models and self-supervised learning from LeCun, with Canziani's visual PyTorch practicals. → Embeddings and representation learning
- UvA Deep Learning Tutorials — University of Amsterdam · notebooks with videos, PyTorch and JAX · free. Polished notebooks on transformers, GNNs, normalising flows, energy models and multi-GPU training. → Initialisation and normalisation
- Practical Deep Learning for Coders — Jeremy Howard, fast.ai · 8 lessons, notebooks, forum, free book · free. Top-down: a working image classifier in lesson one, then progressively under the hood. The best start for engineers. → A recipe for training networks
- Practical Deep Learning Part 2: From Deep Learning Foundations to Stable Diffusion — Jeremy Howard and colleagues · lessons and notebooks · free. Rebuild a framework from matrix multiplication up and finish by implementing diffusion models. → Diffusion models
- Deep Learning Specialization — Andrew Ng, DeepLearning.AI, Coursera · five courses with programming assignments · paid certificate. A gentle, well-sequenced path through neural nets, tuning, CNNs and sequence models. → Neurons, perceptrons and MLPs
- MIT 6.S898: Deep Learning — Phillip Isola, Sara Beery and Jeremy Bernstein, Fall 2023 · slides, readings · free materials. A graduate course on why deep learning works: representations, generalisation, scaling, geometry of optimisation. → Learning theory
- Neural Networks: Zero to Hero — Andrej Karpathy · 10 videos (19.4 h), code on GitHub · free. A course in all but name: build micrograd, makemore, GPT and the tokeniser yourself, then reproduce GPT-2. → Project ladder
- CSC2541: Neural Net Training Dynamics — Roger Grosse, Toronto 2022 · lecture notes, readings · free. The theory of optimisation in deep learning: curvature, implicit regularisation, NTK, scaling. → Optimisers
Language models and NLP¶
- Stanford CS224N: Natural Language Processing with Deep Learning — Stanford · slides, notes, assignments, 2024 lectures · free materials. From word2vec to transformers, pre-training and post-training; the assignments include implementing a transformer. → Large language models at 2,000 ft
- Stanford CS336: Language Modeling from Scratch — Percy Liang and Tatsunori Hashimoto · lectures, five assignments with minimal scaffolding · free materials. The best LLM course: BPE tokeniser, transformer, Triton kernels, distributed training, scaling laws, data filtering and alignment, all built yourself. → Build a GPT from scratch
- Stanford CME295: Transformers and Large Language Models — Afshine and Shervine Amidi · lectures, cheatsheet · free materials. A compact, current map of the LLM stack from architecture to agents and evaluation. → The transformer block
- Stanford CS25: Transformers United — Stanford seminar · recorded talks by the people who built the models · free. Not a course to finish; a library of first-hand talks to dip into by topic. → Reasoning models
- CMU 11-711: Advanced NLP — Sean Welleck, CMU Spring 2026 (and Graham Neubig's Fall 2024 edition) · lectures, assignments · free materials. Research-level NLP: decoding, retrieval, agents, reasoning and evaluation. → Decoding
- COS 597G: Understanding Large Language Models — Danqi Chen, Princeton 2022 · reading list and slides · free. A paper-reading seminar on the 2018–2022 canon, with discussion questions; pairs with the paper canon. → The language-modelling objective
- Stanford CS324: Large Language Models — Percy Liang and colleagues, 2022 · lecture notes · free. Written notes on capabilities, harms, data, security, legality, scaling and adaptation: unusually broad. → Pre-training data
- Hugging Face LLM Course — Hugging Face · text, notebooks, community · free. Transformers, datasets and tokenisers libraries in practice, then fine-tuning and sharing models. → Instruction tuning
- LLM Course — Maxime Labonne · roadmaps and Colab notebooks · free. A curated path through LLM fundamentals, fine-tuning, merging, quantisation and deployment, with runnable notebooks. → Parameter-efficient fine-tuning
- Generative AI with Large Language Models — DeepLearning.AI and AWS, Coursera · videos and labs · paid certificate. A short practitioner overview of the LLM lifecycle: pre-training, fine-tuning, RLHF, deployment. → Post-training at 2,000 ft
Generative models and multimodal¶
- Stanford CS236: Deep Generative Models — Stefano Ermon · notes, homework, 2023 lectures · free materials. Every family (autoregressive, VAE, flow, GAN, energy, score, diffusion) as a choice of likelihood and training objective. → Generative modelling at 2,000 ft
- Berkeley CS294-158: Deep Unsupervised Learning — Pieter Abbeel and colleagues, Spring 2024 · lectures, homework · free materials. Research-depth generative and self-supervised learning, including LLMs and video. → Autoencoders and VAEs
- MIT 6.S184: Flow Matching and Diffusion Models — Peter Holderrieth and colleagues · lecture notes, labs, videos · free. Diffusion done properly through ODEs and SDEs in a few weeks; the notes are a short textbook. → Score matching and flow matching
- Hugging Face Diffusion Models Course — Hugging Face · notebooks · free. Train and sample diffusion models with the diffusers library, then fine-tune and guide them. → Latent diffusion and guidance
- Hugging Face Computer Vision Course — Hugging Face community · text and notebooks · free. From CNNs to vision transformers, multimodal models and generative vision. → Vision transformers and CLIP
- Hugging Face Audio Course — Hugging Face · text and notebooks · free. Audio data, ASR with Whisper-style models, text-to-speech and audio classification. → Speech and audio
Reinforcement learning¶
- UCL Course on RL — David Silver · slides and ten lectures · free. The classic first RL course, following Sutton and Barto. → Reinforcement learning at 2,000 ft
- CS 285: Deep Reinforcement Learning — Sergey Levine, UC Berkeley · lectures, slides, homework · free materials. Policy gradients, actor-critic, Q-learning, model-based, offline and inverse RL, with code you write. → Policy gradients
- Stanford CS234: Reinforcement Learning — Emma Brunskill · lectures, assignments · free materials. Careful foundations through to offline RL and learning from human preferences. → MDPs and the Bellman equations
- Spinning Up in Deep RL — Joshua Achiam, OpenAI · text, reference implementations, key-papers list · free. Short derivations and clean implementations of VPG, PPO, DDPG, TD3 and SAC. → Actor-critic and PPO
- Hugging Face Deep RL Course — Hugging Face · units with notebooks and leaderboards · free. Hands-on from Q-learning to PPO, training agents you can share and compare. → Q-learning and DQN
- Practical RL — Yandex School of Data Analysis · notebooks and assignments · free. An open, assignment-heavy RL course: you implement the algorithms rather than call them. → Monte Carlo and TD learning
- Stanford CS330: Deep Multi-Task and Meta Learning — Chelsea Finn · lectures, homework · free materials. Multi-task, transfer and meta-learning: the background to in-context learning and continual learning. → Model merging and continual learning
Systems, efficiency and MLOps¶
- MIT 6.5940: TinyML and Efficient Deep Learning Computing — Song Han · lectures, labs · free materials. Pruning, quantisation, distillation, efficient attention, LLM serving and on-device deployment, by the author of AWQ and SmoothQuant. → Quantisation
- CMU 10-414/714: Deep Learning Systems — Tianqi Chen and Zico Kolter · lectures, assignments · free materials. Build "needle", a small deep learning framework with automatic differentiation and GPU kernels. → Automatic differentiation
- Stanford CS149: Parallel Computing — Kayvon Fatahalian and colleagues · lectures, programming assignments · free materials. How parallel hardware actually executes code, from SIMD to GPUs and accelerators. → How a GPU works
- Machine Learning Compilation — Tianqi Chen · lectures and notes · free. How models become efficient code on diverse hardware: tensor programs, scheduling, TVM. → Kernels: CUDA and Triton
- Full Stack Deep Learning 2022 — The Full Stack · lectures and labs · free. Everything around the model: data, experiment tracking, deployment, monitoring, teams. → MLOps
- Made With ML — Goku Mohandas, now with Anyscale · lessons and code · free. Design, develop, deploy and iterate on ML systems with production-grade code. → MLOps
- Stanford CS329S: Machine Learning Systems Design — Chip Huyen · lecture notes, later expanded into her book · free materials. Requirements, data, deployment, monitoring and the human side of production ML. → Data in production
LLM applications and agents¶
- Hugging Face AI Agents Course — Hugging Face · units with notebooks, certification · free. Agent fundamentals, then building with several agent frameworks, ending in a benchmark project. → Agents and tool use
- Large Language Model Agents MOOC — Dawn Song and Xinyun Chen, UC Berkeley, Fall 2024 · recorded guest lectures, quizzes · free. Reasoning, planning, tool use, multi-agent systems and agent safety from the researchers who built them. → Multi-agent systems
- Advanced Large Language Model Agents MOOC — UC Berkeley, Spring 2025 · recorded lectures · free. The sequel: reasoning and planning, code and maths agents, verification. → Computer-use and long-horizon agents
- Anthropic courses — Anthropic · notebook courses · free. API fundamentals, an interactive prompt-engineering tutorial, real-world prompting, prompt evaluations and tool use. → Prompt engineering
- DeepLearning.AI short courses — DeepLearning.AI with partner companies · 1–2 hour video courses with notebooks · mostly free. Quick, tool-specific introductions (RAG, agents, evaluation, fine-tuning); good for one afternoon each. → Retrieval-augmented generation
- AI Evals for Engineers and PMs — Hamel Husain and Shreya Shankar, Maven · cohort course · paid. Error analysis, golden sets, LLM-as-judge alignment and evaluation-driven development for real products. → Evals in practice
Safety, alignment and governance¶
- BlueDot Impact courses — BlueDot Impact · reading-and-discussion cohorts · free. Structured introductions to technical AI safety and AI governance, with facilitated discussion groups. → Safety and evaluation at 2,000 ft
- ARENA — Alignment Research Engineer Accelerator · open curriculum and in-person programme · free materials. Hands-on safety engineering: build transformers, do mechanistic interpretability, RL and model evals in code. → Mechanistic interpretability
- Stanford CS329H: Machine Learning from Human Preferences — Sanmi Koyejo · lectures, readings · free materials. Preference models, elicitation, RLHF, DPO and their social-choice foundations. → Reward models and preference data
Where this leads¶
- Learning paths: how the courses above fit with this site's tracks into a plan for your goal.
- Videos and lectures: the recorded lectures for most of these courses, plus talks to watch between them.
- Books: the textbooks these courses assign, many free online.
- The project ladder: your own assignments, graded by whether the thing works.
- Self-assessment: interview-grade questions to check a course actually stuck.