Why it matters
Transfer learning is why LLMs are practical. Without it, everyone would need to train from scratch. Understanding it enables cost-effective ML.
Advertisement
The architecture
Pretrain: train big model on generic huge data. Learn general representations.
Fine-tune: continue training on task-specific data. Adapt to task.
Advertisement
How it works end to end
Full fine-tune: update all weights. Best quality; expensive.
Frozen features: freeze base, train only new head. Fast, less quality.
PEFT (LoRA, adapters): parameter-efficient fine-tuning. Best cost-quality trade-off.
Prompt engineering / few-shot: no training. Only prompt the pretrained model. Simplest.