IV — What Makes an LLM → Chapter 19
FROM SYSTEMS TO FRONTIER ML

Fine-tuning, LoRA, and PEFT

How to adapt a pretrained model to your task without retraining all 70B parameters. Full fine-tuning vs feature-based extraction vs parameter-efficient methods (LoRA, QLoRA, adapters). The LoRA math — why a rank-8 update matrix captures most of the adaptation signal — falls out of the intrinsic-dimensionality argument (Aghajanyan 2020).

§1 Three fine-tuning approaches — full, feature, PEFT §2 LoRA — the math and the intrinsic-dim argument §3 The PEFT family — adapters, prefix, IA³, prompt tuning

← ALL CHAPTERS