Fine-Tuning & LoRA
7 min read.
Adapt foundation models to your task without retraining billions of parameters — explore the LoRA rank decomposition, compare full fine-tuning vs. PEFT strategies, and know exactly when to fine-tune vs. prompt or RAG.
Think of it this way: Full fine-tuning is repainting a house — every surface, massive cost. LoRA is installing removable wallpaper in the key rooms: a thin low-rank "diff" stored separately, snapped on top of the frozen original. Same look, a fraction of the cost, and you can swap rooms (tasks) without repainting.
B and A hold 65,536 trainable numbers against 16,777,216 frozen in W: 0.39%, or 256× fewer.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
The LoRA decomposition
Complete the update applied to a frozen weight matrix.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
+
Quiz
20 questionsLoRA stands for…
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.