Hirestack
Hirestack
Chapter 19

Production · Fine-tuning when prompting hits a wall

📖 2 min read · 6 sections · May 2026

Why this matters

Most teams reach for fine-tuning too early — it's the shiny option. Most don't need it. Knowing when fine-tuning genuinely beats prompting + RAG is a senior-level call.

The decision tree

flowchart TB
    P[Is the task working with prompting?] -->|yes| K[Keep prompting
don't fine-tune] P -->|no| R[Have you tried RAG
+ few-shot?] R -->|no| RR[Try those first] R -->|yes| D[Do you have 500+
high-quality examples?] D -->|no| C[Curate data first
fine-tuning won't fix this] D -->|yes| S[Is the task pattern that
even GPT-4 / Claude fails at?] S -->|no| Q[Re-examine prompts] S -->|yes| F[Fine-tune]

When fine-tuning actually helps

LoRA vs QLoRA vs full fine-tune

MethodWhat it doesWhen
Full fine-tuneUpdates all model weightsYou have lots of data + lots of GPU; rarely necessary
LoRAAdds small trainable matrices alongside frozen weightsDefault for most adapter-style fine-tuning
QLoRALoRA on a 4-bit quantised base — fits a 70B model on one A100Budget GPUs; experimentation
DPO / preferenceTrains on pairs (good, bad) instead of single examplesAligning model to subjective preferences

Dataset curation is the hard part

People fixate on the training script. The real work is the data: 500-2000 examples of (input, ideal output) pairs that represent the target behaviour. Mediocre data + fine-tuning is worse than no fine-tuning — the model learns your inconsistencies.

Eval before AND after

Run your golden eval set on the base model. Fine-tune. Run again. If the fine-tune doesn't beat the base by at least 10% on your eval, the cost (operational + ongoing) isn't worth it — go back to better prompts.

War story: team spent 6 weeks fine-tuning Llama 70B for a classification task. Eval delta: +3% over the base. Meanwhile, switching to few-shot Claude 3.5 Sonnet would have given +12% in one afternoon. Lesson: try the cheap option first, fully, before reaching for fine-tuning.