Skip to main content

LiveStart free with 200 credits

Product

Fine-Tuning Open-Weight Models for Specialised Tasks

What fine-tuning is, when it is worth doing, what it needs from you and what to try first. A plain guide for private AI deployments.

AUArsalan UsmaniFounder and Director4 min read
Fine-Tuning Open-Weight Models for Specialised Tasks

Part of our air-gapped and on-premise AI series, which describes how we deliver private deployments with customers.

What fine-tuning is

A general model knows a little about everything. Fine-tuning is further training on your own examples, so the model gets better at one specific job: reading your style of contract, sorting your kinds of request, writing in your house format.

You can only fine-tune freely when you hold the model. That is one of the practical reasons open weight matters.

Try these first

Fine-tuning is the last tool to reach for, not the first. Most gaps close with something simpler:

  1. Clearer instructions. Tell the model exactly what the task is and what a good answer looks like.
  2. Your own documents. Give the model the relevant policy, record or drawing at the moment it needs it.
  3. Structured answers. Ask for the answer in a fixed format, so the next step can rely on it.
  4. A better-suited model. Sometimes a different open-weight model already does the task well.

If the task still fails in the same way after these, fine-tuning is worth considering.

When it is worth it

  • The task is narrow and repeated many times.
  • You have good examples of it being done well.
  • A general model keeps making the same kind of mistake.
  • You want a small model to do a job that currently needs a large one, to cut hardware cost.

What it needs from you

WhatWhy it matters
Good examplesOften hundreds to a few thousand, depending on the task. Quality counts for more than volume.
Permission to use themThe examples are your data. If they include personal information, check that you are allowed to train on it.
A test setExamples held back from training, so you can measure whether the tuned model is actually better.
Hardware timeTraining runs on graphics processors, in your environment.

How modern fine-tuning stays affordable

Training every weight in a large model is expensive. Newer methods avoid that. One widely used approach, known as LoRA, keeps the original model frozen and trains a small add-on beside it (Hu and others, 2021). The add-on is a fraction of the size of the model, which makes training faster and lets one base model carry several specialisations.

The risks, stated plainly

  • Stale knowledge. A tuned model knows what it was trained on. Facts that change often belong in documents the model reads, not in training.
  • Narrowing. A model tuned hard for one job can get worse at others. That is fine for a specialist and a problem for a generalist.
  • Sensitive data in the weights. A model trained on confidential material should be handled as confidential itself.
  • Upkeep. When the base model is replaced, the tuning has to be repeated and tested again.

Who owns the result

When you fine-tune an open-weight model on your own hardware with your own data, the tuned model stays with you, subject to the base model's licence. It becomes an asset that reflects how your organisation works. Owning your own models covers why that matters.

How Agento approaches it

We treat fine-tuning as a decision made from test results. We build a test set from your real workflows, try the simpler options first, and recommend tuning only where a clear, repeated gap remains. Where it goes ahead, the training happens inside your environment and your data does not leave it.

This is part of how we deliver a private deployment with you. See air-gapped and on-premise AI and specialist models.

Frequently asked questions

Do we have to fine-tune to use a private deployment?
No. Many deployments start without it.
How long does it take?
Preparing good examples takes longer than the training itself. Allow weeks, not days, for the first one.
Can a tuned model repeat what it was trained on?
In some cases it can, so control who may use it in the same way you control the data.
Back to all articles