GTM Engineering term, AI and agents

Fine-tuning

Fine-tuning is the process of further training a pretrained AI model on a smaller set of task-specific examples so it adopts a particular behavior, format or style.

Also called: model fine-tuning, fine tuning, supervised fine-tuning, SFT

Fine-tuning sits under every stage: it's part of the data and systems the whole funnel runs on, near related terms like Prompt engineering, Retrieval-augmented generation and Large language model (the blue squares).

Fine-tuning is further training a pretrained large language model on your own set of input and output examples so it reliably performs a specific task in a specific way. It changes the model's behavior permanently, unlike prompting, which only changes what you ask on each call.

How it works

  1. Collect examples. Pairs of input and ideal output: a lead record and its correct classification, a call transcript and the right summary format, a product brief and an approved email.
  2. Clean them. Remove contradictions, fix formatting and make sure every example reflects the standard you want. The model will copy your inconsistencies faithfully.
  3. Hold out a test set. Keep 10% to 20% aside for evals, never used in training.
  4. Train. Upload the examples to a provider's fine-tuning service or run training on an open-weight model. Parameter-efficient methods such as LoRA adjust a small slice of the model and are cheaper.
  5. Compare. Score the tuned model against your best prompted baseline on the held-out set. Ship only if it wins on quality, cost or speed.

Example

Say a team classifies 300,000 inbound form fills and enrichment records a year into 12 persona buckets. Their prompted setup on a large model costs about $0.01 per record, or $3,000 a year, and matches human labels 88% of the time (assumptions).

They fine-tune a smaller, cheaper model on 2,000 labeled records. On the held-out test set it hits 91% agreement and costs about $0.002 per record, or $600 a year. Training plus labeling time costs, say, $2,500 once. Year one saves $2,400 in inference against $2,500 of setup, close to break-even, and year two saves the full $2,400 plus three points of accuracy. Worth it, but only because the task is narrow, high-volume and stable. If the personas change every quarter, retraining eats the savings.

Fine-tuning vs prompting vs RAG

  • Prompt engineering: fastest to change, no training data needed. Start here every time.
  • Retrieval-augmented generation: for knowledge that changes, like docs, pricing and case studies.
  • Fine-tuning: for a fixed behavior at volume, a strict output style, or moving a task to a smaller model to cut cost and latency.

Our position: most GTM teams should not fine-tune in year one. Prompting, good context and retrieval cover nearly everything. Fine-tune when you have a proven prompt, a large labeled set and a cost line that justifies the maintenance. A consistent brand voice is a fair reason too, if you have hundreds of approved samples.

Common mistakes

  • Fine-tuning to teach facts, then wondering why the model invents outdated pricing.
  • Training on uncleaned historical data that encodes old mistakes and inconsistent labels.
  • No held-out test set, so "it feels better" is the only evidence.
  • Comparing the tuned model to a weak prompt instead of your best prompted baseline.
  • Forgetting the retraining cost when the base model gets deprecated or the task changes.

FAQ

Should I fine-tune a model to write in my brand voice?

Usually try prompting with strong examples first. If you have hundreds of approved samples and prompting still drifts, fine-tuning can lock in tone and format. It will not keep the model updated on new products; that still needs retrieval or context.

How many examples do I need to fine-tune?

Providers commonly suggest starting with dozens to a few hundred high-quality examples and scaling up if results improve. Quality matters more than volume: 300 clean, consistent examples beat 3,000 messy ones.

Does fine-tuning teach the model new facts?

Not reliably. Fine-tuning is good at teaching patterns, formats and style. For facts that change, like pricing or product features, use retrieval-augmented generation so the model reads current sources at run time.

See all AI and agents terms ↳