A ai coolAId

LoRA (Low-Rank Adaptation)

In One Sentence
Parameter-efficient fine-tuning that freezes the base model and trains tiny low-rank adapter matrices alongside existing weights.
ELI5 (Intuition)
Instead of rewriting an entire 1,000-page encyclopedia to teach it your company's jargon, you slip a 5-page sticky-note addendum into the back.
ELI18 (Technical)
Replaces a full weight update \(W_0 + \Delta W\) with a low-rank factorization \[W = W_0 + \frac{\alpha}{r} B A,\] where \(A \in \mathbb{R}^{r \times d_{in}}, B \in \mathbb{R}^{d_{out} \times r}\) and \(r \ll d\) (e.g. \(r = 8\) or \(16\)). Cuts trainable parameters and optimizer VRAM by 10–100x.
In Practice
Lets a single consumer GPU fine-tune a 7B–70B model (with QLoRA in 4-bit) on domain-specific support tickets or code styles, and lets servers hot-swap hundreds of customer adapters on one shared base model.