Stage 3
Stage 3: Deep Learning
Goal: Understand neural networks from the inside, then build and train them with PyTorch. Time: ~2 weeks at 30–60 minutes a day.
By the end of this stage you can:
- Implement forward and backward passes by hand
- Write a correct PyTorch training loop
- Diagnose training problems: learning rate, overfitting, early stopping
- Explain CNNs, embeddings, attention and the transformer
How to study
Part 9 builds a network in plain NumPy — slow on purpose, so nothing is magic. Part 10 hands the same mechanics to PyTorch. Parts 11–12 are where real training skill lives: diagnosing runs and knowing the building blocks.
Parts
| Part | Area | You will build | Time |
|---|---|---|---|
| 9 | Neural network fundamentals | A NumPy network that learns XOR, gradient-checked | ~3 h |
| 10 | PyTorch | A digits classifier with a clean train/eval loop | ~3 h |
| 11 | Training well | A training lab: four learning rates, explained | ~3 h |
| 12 | Architectures | Attention from scratch, checked against PyTorch | ~3 h |
Stage project
Image classifier — a CNN on the digits images with early stopping and a saved checkpoint.