Topic
Loss Function
11 episodes
-
GitHub FareedKhan Dev/train LLM From scratch: A straightforward method for training your LLM, from downloading data to generating text.
A single-GPU end-to-end LLM training guide lands on GitHub—hand-written PyTorch, pretrain to chat in one repo, plus full RLHF. Vince is giddy; Ava wants to know which corner of the GPU shelf this actually runs on. Build Next shows the exact CLI to kick it off on a T4.
-
Overview: Calibration
We finally slow down and make calibration click: what it means for a model’s confidence to match reality, how you measure that, and why it matters when you actually want to trust the thing. We keep it grounded in the systems we’ve been circling for ages, because calibration is everywhere once you start looking.
-
Overview: Model Generalization
We finally slow down and make model generalization click from the ground up: what it means, how you measure it, and why memorizing the training set is a dead end. We keep coming back to the same simple idea, because that’s the whole game.
-
Overview: Supervised Fine Tuning
We finally slow down and make supervised fine-tuning click, because we keep leaning on S F T like everyone already has the whole shape of it. We build it from the apprentice-and-worked-examples picture into the actual training loop, the examples, and the trade-offs.
-
Overview: Fine Tuning
We finally do the fine-tuning episode we kept circling, and we make the core idea click: you start with a pretrained model, then adjust its weights on your own examples so it behaves the way your task actually needs. We also dig into when that helps, when it doesn’t, and why the quality of the data is the whole game.
-
Overview: Deep Learning
We finally slow down and make deep learning click: what the deep part means, how layers learn features, and why training needs data, compute, loss, backpropagation, and gradient descent all working together.
-
Overview: Classifier
We finally slow down and make classifier click from the ground up: what it is, how it learns, and why the boring details like labels, loss, and held-out tests matter. We keep it in first-person and keep it practical, because that’s the whole point of calling this a Classifier episode.
-
Overview: Loss Function
We’re finally slowing down and making loss function click: the scoreboard that tells a model how wrong it was, and the signal that lets training move in a useful direction. We also keep the usual Justy-Cody back-and-forth, because apparently even a loss function needs two friends arguing about it for forty minutes.
-
Overview: Backpropagation
We finally define backpropagation the way we probably should’ve ages ago: as the backward bookkeeping step that tells a neural network which knobs caused the miss. We also connect it to loss, gradients, and gradient descent so the whole training loop actually clicks.
-
Overview: Gradient Descent
We’re finally giving gradient descent the full couch-table treatment, because it’s hiding under half the AI stories we keep talking about. We get into the hill-climbing mental model, how loss, parameters, and backpropagation fit together, and why the whole thing is the boring engine that actually makes learning happen.
-
Overview: Neural Network
We finally slow down on neural networks: what they are, how the little adjustable pieces learn from examples, and why this basic idea sits underneath so much of modern A I.