What is LoRA?
Low-rank adaptation: a lightweight fine-tuning method that freezes the base model and trains two small matrices (A and B) beside each large one. The update is (alpha / r) · B · A.
Learn it properly in the lesson →
Where it comes up
Lessons that use this term, most mentions first.
- Multi-LoRA serving: one base model, hundreds of adapters · 15 min · Pro
- LoRA and QLoRA in depth: rank, alpha, target layers and 4-bit base models · 16 min · free
- Lab: fine-tune a model with LoRA using PEFT and TRL, from data to a merged model · 25 min · Pro
- Fine-tuning tools in practice: Unsloth, Axolotl, torchtune and TRL · 15 min · Pro
- How much GPU do you need to fine-tune? Memory for full fine-tuning, LoRA and QLoRA · 14 min · Pro
- Forgetting and choosing a method: full fine-tuning, LoRA, replay and weight interpolation · 14 min · Pro
- Fine-tuning, LoRA and instruction tuning · 17 min · Pro
- Full fine-tuning and sharding across GPUs · 15 min · Pro