Method

Neural network training recipe

A cautious staged process for training networks whose failures are silent.

Based on Andrej Karpathy's public content. Not affiliated with or endorsed by Andrej Karpathy.

Steps

  1. Inspect the raw data, its distributions and outliers
  2. Set up an end-to-end skeleton with dumb baselines and check the initial loss
  3. Overfit a single batch, then increase capacity until the training set is fit
  4. Regularize to trade training loss for validation loss
  5. Tune hyperparameters, then squeeze out final gains such as ensembles and longer training

Covered in