internalsGet Pro

Module 13 · Lesson 8 of 8Pro

Design: training a model on a small budget

Level
Intermediate
Topic
Tuning and efficient training
Reading time
28 min

When you finish this page you can

  1. Estimate a fine-tune’s GPU time from a short timing run, and tell whether the GPU or the data loader sets the pace.
  2. Build a training run that survives a notebook session ending and loses at most about ten minutes of work.
  3. Spend a fixed monthly GPU budget on one full run and an occasional cheap search, instead of a grid.
  4. Say what changes when the photos grow 10× and 100×, or when no GPU is available at all.
  1. Training on GPUs: memory, precision and speed18 min
  2. Design: a classifier for product photos28 min
  3. Hyperparameter tuning: search methods and AutoML17 min
  4. Training pipelines: from notebook to repeatable job17 min

Video lesson · coming soon

Four hours in, the runtime went away

is the online store this course uses as its example. Sellers list products and pick a category for each. In Design: a classifier for product photos, Farah, an ML engineer, built the model that predicts one thing per new listing: which of Kartly’s 20 categories its main photo shows. It is a pretrained ResNet-50, fine-tuned on about 83,000 training photos, and it fills in the category for confident listings and sends the rest to a review team.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan