LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Training & Optimization

Fine-tuning

Fine-tuning is the process of further training a pretrained model on a smaller, task-specific dataset so it specializes in a particular style, domain, or behavior — without retraining from scratch.

Full definition

Modern fine-tuning is usually parameter-efficient — methods such as LoRA (Low-Rank Adaptation) and QLoRA update only a small fraction of weights, making fine-tuning feasible on a single GPU. Full fine-tuning updates all weights and requires significant compute. Fine-tuning is most justified when the task has a distinctive style or narrow distribution that prompting + RAG cannot capture; otherwise prompting is usually faster and cheaper.

Why it matters

Fine-tuning is now a real procurement decision: build a custom model on top of an open-weights base (Llama, Mistral, Qwen) and own the artifact, or pay an API per token forever. For high-volume or sensitive workloads, fine-tuned models on owned infrastructure can deliver 60-90% lower TCO than equivalent API usage.

Example

A law firm fine-tunes Llama 3 70B on 5 years of redacted internal memos, producing a private model that drafts in the firm's house style — something prompt engineering alone could not reliably achieve.

Source & further reading

Primary source: Hu et al. — "LoRA: Low-Rank Adaptation of Large Language Models" (ICLR) (2022).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/en/glossary/fine-tuning/.