๐ The Library
AI in Bed is a friendly front door. These are the free and open-source courses, books, papers and tools behind every lesson. All credit to their authors; licences are noted where the material is openly licensed.
Beginner
- Elements of AI โThe gentlest free introduction to what AI is and isn't. No maths or code.
- Ethics of AI โFairness, accountability, transparency and the societal side of AI.
- Machine Learning Crash Course โFast-paced, practical intro with interactive visualisations and exercises.
- Neural Networks video series โThe best visual intuition for neural nets, gradient descent, backprop and transformers.
- TensorFlow Playground โTrain a tiny neural network in your browser and watch it learn.
- Kaggle Learn โBite-sized hands-on courses in Python, pandas, ML and deep learning.
- Prompt Engineering Guide โTechniques and examples for getting better results from LLMs.
Intermediate
- Neural Networks and Deep Learning โA classic free book that builds a digit-recogniser from first principles.
- Practical Deep Learning for Coders โTop-down, code-first: train state-of-the-art models from lesson one.
- Dive into Deep Learning โInteractive textbook with runnable code in PyTorch, JAX and TensorFlow.
- CS229: Machine Learning notes โThe maths behind classical ML, from regression to SVMs.
- CS231n: Deep Learning for Computer Vision โSuperb notes on CNNs, backprop and training neural networks.
- MIT 6.S191: Intro to Deep Learning โYearly-updated lectures and labs covering the whole deep learning stack.
- scikit-learn User Guide โPractical reference for classical ML algorithms and evaluation.
- CNN Explainer โStep inside a convolutional network, layer by layer.
- Understanding LSTM Networks โThe clearest explanation of LSTMs on the internet.
Advanced
- Neural Networks: Zero to Hero โBuild backprop, then a GPT, from scratch in Python.
- Hugging Face LLM Course โTransformers, tokenisers, fine-tuning and building LLM apps.
- Hugging Face AI Agents Course โBuild tool-using agents with open frameworks.
- Hugging Face Diffusion Course โTheory and code for diffusion models.
- Hugging Face Deep RL Course โFrom Q-learning to PPO, with hands-on environments.
- The Illustrated Transformer โThe famous visual walkthrough of the transformer.
- Transformer Explainer โWatch GPT-2 process your own text in the browser.
- CS224n: NLP with Deep Learning โWord vectors to transformers and LLMs, with public lectures.
- Lil'Log โDeep, well-referenced posts on diffusion, agents, RL and more.
- Reinforcement Learning: An Introduction โThe RL textbook, free online.
- Spinning Up in Deep RL โConcise intro to deep RL algorithms with clean implementations.
- Transformer Circuits Thread โResearch on reverse-engineering what happens inside transformers.
- Attention Is All You Need โThe 2017 paper that introduced the transformer.
All levels
- Distill โBeautiful interactive research articles on how ML works.