Book a free call

Fine-Tuning Best Practices: Small Data, Measured Gains

Fine-tuning works when the training data is clean, the test set is fixed and every change is measured. These practices cover data, method, settings and evaluation.

Hertiv engineering teamReviewed by a senior engineer
7 min read
Fine-Tuning Best Practices: Small Data, Measured Gains
On this page

Short answer

Fine-tuning best practices start with clean, representative training data and a fixed test set built from real work. Choose the lightest method that fits the job, train in small steps, and measure the tuned model against the base model on the same cases. Ship only when the tuned model wins clearly, and keep monitoring it, because tuned models drift as the work changes.

What are fine-tuning best practices?

Fine-tuning best practices are the habits that make training a model on your own data pay off instead of wasting time and money. Fine-tuning means taking a pre-trained model and training it further on examples from your own work, so it learns your format, your vocabulary and your edge cases.

It is not the first tool to reach for. Prompting and retrieval often solve the problem with far less effort, and fine-tuning only earns its place when the base model keeps failing on your specific cases in ways a better prompt cannot fix. The table below shows when each approach fits.

ApproachWhen it fitsEffort
Better promptingInstructions or examples fix the errorsLow
Retrieval (RAG)Answers need your documentsMedium
Fine-tuningFormat, tone or task behaviour must changeMedium to high
Train from scratchNo suitable base model existsVery high

The practices in this article assume you have already decided fine-tuning is the right step. They cover the data, the method, the training settings and the evaluation that decide whether the result is worth shipping. For the basics, see what fine-tuning is.

How do you prepare training data?

Prepare training data by collecting real examples from your own work and cleaning them before training starts. The data should look like the inputs the model will see in production: the same formats, the same vocabulary and the same awkward cases, not a tidy sample that hides the hard ones.

Check every example for a correct output. A training set with wrong answers teaches the model to be wrong with confidence, and no amount of tuning fixes that. Remove duplicates, fix formatting errors and drop examples that are ambiguous even to a person. If two reviewers disagree on the right answer, the example needs a clearer rule before it goes into the set.

Keep a separate test set that the model never trains on. A few hundred labelled cases is a workable start for many jobs, and the test set should include the edge cases: unusual formats, rare categories and inputs that look like one thing but mean another. Measure on this set, and only on this set, when you judge whether the tuned model is better.

Should you fine-tune the whole model or use LoRA?

Choose the lightest method that fits the job. Full fine-tuning updates every weight in the model and needs the most data, compute and care; it suits cases where the model's behaviour must change deeply. LoRA, which trains a small set of extra weights while the base model stays frozen, suits most business jobs: it needs less data, trains faster and is cheaper to store and swap.

LoRA also makes it easy to keep several tuned versions for different jobs on top of one base model, since each version is a small file. That matters when one team needs a support-drafting model and another needs a document-classification model: two small adapters beat two full copies of a large model.

Start with LoRA unless you have a clear reason to train the whole model. If LoRA does not close the gap on your test set, then consider full fine-tuning with more data. For how LoRA works, see what LoRA is.

How do you set training settings?

Set training settings conservatively and change one thing at a time. Train for a small number of passes over the data first, then check the test set before training longer. More passes can improve the score on training data while making the model worse on new cases, which is the classic sign of overfitting: the model memorised the examples instead of learning the pattern.

Keep the learning rate low. A rate that is too high makes training unstable and the model can forget what it knew; a low rate trains slowly but safely. Save a checkpoint after each pass so you can go back to the best version instead of the last one, because the last version is not always the best.

Watch the loss on a held-out set, not just on the training data. When the training loss keeps falling but the held-out loss starts rising, stop. That gap is the signal that further training is memorisation, not learning, and the checkpoint from just before the rise is usually the one to ship.

How do you evaluate the fine-tuned model?

Evaluate the fine-tuned model against the base model on the same fixed test set, and require a clear win before shipping. A small improvement that could be noise is not a reason to ship a tuned model with its extra cost and maintenance. Decide the pass bar before training starts, such as five more correct answers out of a hundred, so the decision is made by the numbers and not by enthusiasm.

Score by category, not just overall. A tuned model can improve the average while getting worse on one important category, and the average will hide it. Check the categories that matter most to your users first, and look at the failures one by one: are they the same kind of error, or new errors the base model did not make?

Test the tuned model on cases it has never seen, in the formats it will meet in production. A model that only works on clean, well-formed inputs will fail on the messy ones that real work produces. For the build steps, see how to fine-tune an LLM.

How do you ship and monitor a fine-tuned model?

Ship a fine-tuned model the way you would ship any service: with a version, a rollback plan and monitoring. Record the base model, the training data version, the method and the settings, so the result can be reproduced and a bad release can be rolled back to the previous version.

Start with a small share of traffic, or run the tuned model alongside the base model and compare their outputs on real requests. That comparison catches problems the test set missed, because real traffic always contains cases the test set did not.

Monitor the same way you evaluated: sample live outputs each week, score them against the same rules, and watch for drift. Tuned models drift as the work changes, new formats appear and language shifts. When accuracy falls, the fix is usually fresh training data from recent cases, not more training on the old set. For platforms that host tuned models, see best fine-tuning platforms.

Example (hypothetical): a team fine-tunes an invoice-coding model

Example (hypothetical): a finance team codes 500 supplier invoices a week, and a clerk spends about 4 minutes on each one, which is 500 x 4 = 2,000 minutes, or about 33 hours a week. The team fine-tunes a model on 800 past invoices with correct codes, keeping 200 aside as a test set.

On the test set the base model codes 120 of 200 invoices correctly, and the tuned model codes 170 of 200 correctly. That is a clear win, so they ship it with a human check on every invoice the model is unsure about.

In the first live week the model codes 425 of 500 invoices correctly and 75 go to a clerk for review at 4 minutes each, which is 300 minutes, or 5 hours. The team saves about 28 hours a week.

After two months they add the recent invoices to the training data and train again. The model now codes 460 of 500 correctly, and review time falls to 40 x 4 = 160 minutes, or under 3 hours a week. The gain came from fresh data, not from training longer on the old set.

What are the common mistakes?

The most common fine-tuning mistakes are training on dirty data, training too long, and judging the result on the training data instead of a fixed test set.

  • Dirty training data. Wrong answers in the training set teach the model to be wrong with confidence. Clean and check the data first.
  • Training too long. More passes memorise the examples instead of learning the pattern. Stop when the held-out loss starts rising.
  • No fixed test set. Judging on training data always looks good. Keep a test set the model never trains on.
  • Full fine-tuning by default. LoRA fits most business jobs with less data and less cost. Start there.
  • Shipping a marginal win. A tiny improvement over the base model is not worth the extra cost and maintenance. Require a clear win.
  • No monitoring after launch. Tuned models drift as the work changes. Sample live outputs weekly and retrain on fresh data.

Fine-tuning is a loop, not a single event: clean data, train, measure on a fixed set, ship only on a clear win, then monitor and retrain on fresh cases.

Key takeaways

  • Try prompting and retrieval first; fine-tune only when the base model keeps failing on your cases
  • Clean, checked training data matters more than any training setting
  • Start with LoRA; it fits most business jobs with less data and less cost
  • Judge on a fixed test set the model never trained on, and require a clear win
  • Monitor live outputs weekly and retrain on fresh data when accuracy drifts

Frequently asked questions

When should I fine-tune instead of improving the prompt?

Fine-tune when the base model keeps failing on your specific cases in ways a better prompt cannot fix, such as a format, tone or task behaviour that must change. If instructions or examples fix the errors, prompting is cheaper and faster.

How much training data do I need to fine-tune?

A few hundred clean, labelled examples is a workable start for many jobs, plus a separate test set the model never trains on. More data helps, but wrong answers in the data hurt more than a small dataset does.

What is the difference between LoRA and full fine-tuning?

Full fine-tuning updates every weight in the model and needs more data and compute. LoRA trains a small set of extra weights while the base model stays frozen, so it is cheaper, faster and easier to store several versions.

How do I know if fine-tuning worked?

Compare the tuned model with the base model on the same fixed test set and require a clear win decided before training, such as five more correct answers out of a hundred. Score by category, not just overall.

Can fine-tuning make a model worse?

Yes. Training too long memorises the examples instead of learning the pattern, and dirty data teaches wrong answers with confidence. Watch the held-out loss and stop when it starts rising.

How often should I retrain a fine-tuned model?

Retrain when weekly monitoring shows accuracy falling on live cases, which usually means the work has changed. Use fresh data from recent cases rather than training longer on the old set.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: AI and agent systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Planning to fine-tune a model for your product? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Machine Learning Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call