Lessons32
0/32 modules masteredStart Here
2 lessons · 40 minNo code and no calculus: one neuron worked by hand, then how a network learns by guess, measure and nudge. Pictures, sliders and small whole numbers.
Deep Learning: Start Here, a Neuron by Hand
Up NextWhat a neural network is made of, how one neuron multiplies, adds and decides, and how three neurons together do something one cannot. Worked on paper first, then checked in code. No maths beyond adding and multiplying small whole numbers.
How a Network Learns: Start Here
What it means for a machine to learn: make a guess, measure how wrong it is, nudge a dial the right way, and repeat. Worked by hand with one dial and three data points, then checked in code. No calculus needed.
Foundations and Training
10 lessons · 6 hrTensors and autograd, the perceptron and multilayer networks, activations, losses, backpropagation, then optimizers, initialization, regularization, normalization and practical tricks.
Tensors & Automatic Differentiation
Tensors as multi-dim arrays + autograd as the engine that records every op and replays the chain rule backwards. The substrate every modern DL framework runs on.
Perceptron & Multilayer Networks
From the McCulloch-Pitts neuron to the multilayer perceptron. Why a single perceptron fails on XOR, and how stacked layers + nonlinearity solved it.
Activation Functions
Why neural nets need nonlinearity, and the activation evolution from sigmoid to GELU.
Loss Functions: Teaching the Network What 'Wrong' Means
MSE, MAE, Huber, cross-entropy, focal loss, and why picking the wrong one silently breaks training.
Backpropagation
The chain rule applied to neural networks. How gradients flow backwards through a computational graph.
Optimization Algorithms: SGD to AdamW
SGD, Momentum, RMSprop, Adam, AdamW, plus learning rate scheduling, the optimizer evolution that powers modern deep learning.
Initialization & Vanishing Gradients
Why deep networks failed before 2010 and what fixed them. Xavier and He initialization, dying ReLUs, and the gradient flow that depth depends on.
Regularization in Deep Networks
Dropout, weight decay, label smoothing, mixup, CutMix, stochastic depth, keeping deep nets from memorizing.
Normalization: BatchNorm, LayerNorm, GroupNorm
BatchNorm, LayerNorm, GroupNorm, RMSNorm, the family of techniques that stabilized training and let networks reach 100+ layers.
Practical Training Tricks
Warmup, OneCycle, gradient clipping, mixed precision (fp16/bf16), gradient checkpointing, the tricks that decide whether a training run succeeds or wastes a week of GPU time.
Vision and Sequences
7 lessons · 4 hrConvolutions and modern CNNs, transfer learning, then recurrent networks, LSTM and GRU, and sequence-to-sequence models with attention.
Convolutional Neural Networks
Filters, feature maps, and the hierarchy of visual features that made vision a deep-learning problem.
Modern CNN Architectures
LeNet to AlexNet to VGG to Inception to ResNet to DenseNet to EfficientNet to ConvNeXt, the evolution of vision architectures and what each one contributed.
Transfer Learning
Stand on the shoulders of giants. Pretrained backbones, freezing layers, discriminative learning rates, fast.ai's signature method.
Recurrent Neural Networks
Processing sequences with memory. Unrolling, BPTT, and why vanilla RNNs vanish on long sequences.
LSTM, GRU & Seq2Seq
Gating mechanisms (LSTM forget/input/output, GRU update/reset), encoder-decoder, teacher forcing, and Bahdanau attention as the bridge to transformers.
Seq2Seq, Attention & Beam Search, Part 1: The Bottleneck and How Attention Fixed It
Why squeezing a whole sentence into one vector fails, how Bahdanau and Luong attention let the decoder look back at every source word, and the coverage, copy and pointer fixes that followed.
Seq2Seq, Attention & Beam Search, Part 2: Decoding, Beam Search and Where It Lives Today
How a trained model's word probabilities become a finished sentence: greedy and beam search, length normalization, sampling and constrained decoding, with a hands-on lab and a look at where each one ships in 2026.
Transformers and Generative Models
8 lessons · 5 hrSelf-attention and the transformer in two parts, vision transformers and detection, autoencoders, GANs and VAEs, diffusion, flow matching and self-supervised pretraining.
Transformers & Self-Attention, Part 1: Queries, Keys, Values, Multi-Head Attention and Positions
How a sequence looks at itself: queries, keys and values, the scaled dot-product formula, many heads in parallel, a numpy run, and the position signal attention cannot do without.
Transformers & Self-Attention, Part 2: Rotary Positions, GQA, the Causal Mask and the Full Transformer Block
From one attention layer to a whole transformer: rotary positions, grouped-query attention, the causal mask, the residual-norm-FFN block, a full encoder block in numpy, the three model families and the O(N^2) wall.
Vision Beyond Classification: ViT, Detection & Segmentation
Vision beyond classification: vision transformers, object detection and segmentation, with the output formats and metrics each task uses.
Autoencoders
Self-supervised learning by reconstruction. Vanilla, denoising, sparse, and contractive autoencoders, foundational representation learning that bridges to VAEs and diffusion.
Generative Models: GANs & VAEs
Two neural generative models: GANs learn from a generator and discriminator game, VAEs learn a smooth latent space with a reconstruction plus KL objective.
Diffusion Models: Hierarchical VAE with Fixed Encoder
Diffusion seen as a hierarchical VAE with a fixed encoder: the noising chain, the noise-prediction loss, the U-Net, DDIM sampling and guidance, with the derivation worked by hand.
Flow Matching: The Training Objective Behind SD3 and FLUX
Learn a velocity field that carries noise to data along straight paths, why that trains more simply than diffusion, and how the two views relate.
Self-Supervised Pretraining: Learning Without Labels
Learning useful representations without labels: contrastive, masked and self-distillation objectives, and how a pretrained model is reused downstream.
Advanced Architectures and Scale
5 lessons · 4 hrGraph neural networks, state-space models, mixture-of-experts and distributed, efficient training.
Graph Neural Networks: Message Passing for Non-Euclidean Data
Learning on data that is a graph, neither a grid nor a sequence: message passing over nodes and edges, the common layer types and the graph tasks they solve.
State-Space Models & Mamba: The Post-Transformer Family
State-space models and Mamba: sequence models with a compressed recurrent state and linear-time scaling, how they work, and when to choose them over attention.
Mixture-of-Experts: Sparse Computation for Larger Models
Sparse mixture-of-experts: a router sends each token to a few expert sub-networks, so parameters grow without compute growing in step. Routing, load balancing and trade-offs.
Distributed & Efficient Training
Multi-GPU, FSDP/ZeRO, pipeline + tensor parallelism, profiling, and the production capstone for training models bigger than your GPU.
Deep Learning From Scratch Lab
Eight from-scratch numpy exercises with automatic checking: sigmoid and ReLU with their slopes, a dense layer, stable softmax with cross-entropy, backprop checked against numerical gradients, SGD with momentum, Adam, batch normalization and dropout, plus the traps and a capstone checklist.
Practice labs
10 interactive labs — hands-on exercises for this track
Activation Playground
A neuron deciding whether to fire — explore how different activation functions shape the decision
Neural Network Builder
Build a brain layer by layer — add neurons, connect them, and watch data flow through
Backprop Flow
When the network makes a mistake, blame flows backwards — watch error propagate through each layer
Training Dashboard
You're training a model live — watch the loss drop, accuracy rise, and spot when overfitting starts
Activation Atlas
See what a neural network is actually looking for — a map of every feature detector inside a CNN
CNN Filter Lens
Peer through the eyes of a convolutional filter — see exactly which patterns it's trained to detect
Computation Graph
Trace the mathematical operations as data flows forward — then watch gradients flow back
Neural Sandbox
A free-form neural network playground — wire up any architecture and watch it learn
Batch Normalization Impact
5-layer network with activation distributions evolving across 60 epochs. BN off: wild drift. BN on: stable + trains at 10× learning rate.
Skip Connection Architectures
Plain vs ResNet vs DenseNet vs Highway. Depth slider 4-40 layers. Animated gradient wavefront — gradients die in Plain, survive in the others.
Test your knowledge
546 questions across 32 modules — check how well you understood this track.