You will make the digits network twenty layers deep and still have it learn, with a skip round each layer and a norm before it, then keep a run with wrong labels from learning them by heart with dropout, weight decay and early stopping.

About 45 minutes. You do it on your own computer. You need your own computer, with uv (free); Windows, Linux or a Mac with Apple silicon, since PyTorch no longer ships for Intel Macs; about 1 GB of disk for PyTorch.

  1. Twenty plain layersRun it
  2. A skip round each layerYour turn
  3. A norm before each blockYour turn
  4. A run that learns its mistakesYour turn
  5. Dropout, and scoring itYour turn
  6. Weight decayYour turn
  7. All three at onceOn your own
Terminal
curl -LsSf https://astral.sh/uv/install.sh | sh
cd learn-deep-learning/labs/dl-lab-deep-reader/starter
uv sync

See it on GitHub

When you have run it

Of the three fixes on their own, in steps 4 to 6, which let the network learn the fewest wrong labels?

Run on macOS on an M1 Max, uv 0.11.15, Python 3.12, PyTorch 2.15.0, NumPy 2.5.5, scikit-learn 1.9.1. Checked on .