Fine-tuning Small LLMs on a Budget: LoRA, PEFT & When Not to Train
By Venkata Subbaraju Dommaraju · LLM · 7 min read
Fine-tuning sounds like the senior move. Often it's the expensive detour. Here's a practical framework for adapting small language models — and the cases where you genuinely should.
First ask: do you need to fine-tune at all?
- Need fresh or private facts? → Use RAG (retrieval), not fine-tuning.
- Need a specific format, tone, or behavior prompting won't give you? → Fine-tuning helps.
- Need lower latency/cost on a narrow task? → A fine-tuned small model can beat a large general one.
LoRA / PEFT: fine-tuning without the GPU farm
Full fine-tuning updates every weight — expensive and storage-heavy. Parameter-Efficient Fine-Tuning (PEFT), and LoRA in particular, freezes the base model and trains small low-rank adapter matrices. You get most of the benefit for a fraction of the compute, and you can swap adapters per task.
A sane recipe for a small model
- Curate a few hundred to a few thousand high-quality, consistent examples — quality beats quantity.
- Hold out a real eval set; decide your success metric before training.
- Train LoRA adapters (low rank, modest epochs); watch for overfitting.
- Evaluate against the base model — if it's not clearly better, don't ship it.
The traps
Training on a tiny or noisy dataset overfits and degrades general ability. Fine-tuning to inject facts is fragile — those facts go stale and you retrain. And every fine-tune is a model you now have to version, evaluate, and maintain.
Rule of thumb
Retrieve for knowledge, fine-tune for behavior. Reach for LoRA when prompting plateaus and you have clean, representative data — and always measure against the base model before you commit.