The Preface of the key technological stuffs here
Tips & Tricks
LR Scheduler
- Similar to the
learning rate, thelr-schedulerto apply depends on the classifier & the model. - For image classifiers and
SGDoptimizer, theMulti-Step LR Scheduleris shown to be a good choice. - Models trained with
Adamcommonly use a smooth exponential-decay in thelror a cosine-like scheduler. - For TRANSFORMERS:
- 🚨 Remember to use a
learning rate WARMUP - 🚨 The
cosine-scheduleris often used for decaying thelrafterwards (but can also be replaced byexponential decay)
- 🚨 Remember to use a
Regularization
- Regularization is important in networks when we see a significantly higher training performance than test performance.