Loading lesson page...
AI From Scratch/Lesson 38/~90 minutes
Capstone Lesson 38: Classifier Fine-Tuning by Head Swap
Track B's first capstone. A pretrained language model is a stack of self-attention blocks ending in a token-prediction head. When you want spam vs ham, the head is wrong but the body is mostly right. This lesson rips the head off, glues a...
BuildPython (torchnumpy)No prerequisites