Fine-tuning for tasks
Step 9 of 10 in NLP · Build · Medium
Add a small head on a pretrained model and train on labelled data for classification, entity tagging or QA.
Build it
Fine-tune DistilBERT
Sentiment classification on IMDB with Hugging Face Trainer.
Done when: Over 90% accuracy; error analysis of 10 mistakes.
Resources
- Wikipedia: Fine-tuning (deep learning) Article
- The Illustrated Transformer Article
- Attention Is All You Need Paper
- Karpathy: nanoGPT Article
Earn this star
On the map, you log what you built. Finish the step and its star lights.
Open this step on the map