Training basics
The core ideas behind building a model, one short lesson at a time. New to all this? The learning path puts these lessons and the guides in order.
- 1 The ML workflow at a glanceEvery model project follows the same loop: define, collect, prepare, train, evaluate, deploy, monitor.
- 2 Prompting vs fine-tuning vs training from scratchStart with the cheapest option that could work, and only move up when you have the data and a reason.
- 3 Labeling data: write the rules firstA model learns only what its labels teach it, and labels are only consistent when everyone follows the same written rules.
- 4 Checking label quality InteractiveHave two people label the same examples. How often they agree, beyond chance, tells you whether the task is clear enough to learn.
- 5 Label less: active learning and draftsYou rarely need to label everything. Label the examples that teach the model most, and let a model draft labels for people to check.
- 6 Train, validation and test splits InteractiveSplit your data so you can check the model on examples it has never seen.
- 7 Overfitting and underfitting InteractiveOverfitting is memorizing the training data; underfitting is not learning enough from it.
- 8 Hyperparameters that matter most InteractiveHyperparameters are the settings you choose before training. A few matter far more than the rest.
- 9 CPU vs GPU, and keeping costs downTabular models train fine on a laptop CPU; images, text, audio and LLMs usually need a GPU.
- 10 Picking the right metric InteractiveThe metric should match what a mistake costs in real life.
- 11 Reproducibility and MLOpsMake every result repeatable: same data + same code + same settings = same model.