← All posts

When to fine-tune an open-source model

Frontier models, open models, and how we choose between them.

Fine teal and periwinkle filaments converge into an ordered luminous lattice against a dark navy background.

Fine-tuning becomes interesting when a team can describe a recurring mistake precisely. The model understands the input, has the evidence it needs, and still applies the wrong label, misses a field, or writes in a form that creates avoidable review work.

“Make the model understand our business” is too broad to guide a training decision. “Extract these twelve fields from this document family, flag missing evidence, and return the agreed schema” is something a team can test.

The question is whether changing the model’s learned behavior will improve a defined workflow enough to justify another system to maintain. Here is the decision process we recommend.

Start with the work, then choose the model#

“Frontier” describes a capability position; “open” describes aspects of access and licensing. They are different dimensions. For this discussion, the practical comparison is a capable hosted model against a model whose weights can be deployed and adapted under suitable terms.

Begin with a representative set of real tasks and an explicit acceptance standard. For document extraction, measure field correctness, unsupported values, and review time. For classification, inspect each important class, especially rare ones. For drafting, define what a reviewer would reject.

Run the same tasks through a strong hosted baseline and a plausible open model. Keep the surrounding instructions and evidence as comparable as their interfaces allow. Record quality, latency, and cost. This establishes the gap adaptation would need to close.

If the base open model fails on ordinary examples even with clear instructions and complete evidence, try a different candidate before training. Fine-tuning should begin with a specific hypothesis about an observable failure.

Use the smallest intervention that addresses the failure#

A useful sequence is baseline, clearer prompting, better evidence, then adaptation. Treat it as a diagnostic process.

What goes wrong?First intervention to test
The task or output format is ambiguousClarify instructions, examples, and validation.
The answer depends on current internal informationRetrieve permitted evidence or query the source system.
The evidence is present, but behavior is repeatedly inconsistentTest fine-tuning on reviewed examples.
The workflow requires exact arithmetic or a business ruleUse deterministic code or a controlled tool.

Retrieval-augmented generation gives the model external information selected for the task. That makes it possible to supply a current policy, a relevant contract clause, or an account record at the point of use, with a source the reviewer can inspect.

For a practical enterprise design, keep changing facts—inventory, policy revisions, account status—in their governed sources. Teach the model how to use supplied evidence, and retrieve the evidence when needed. A tuned model can still use retrieval.

Fine-tuning can change factual recall, but we would not choose it as the primary distribution mechanism for frequently changing business information. A policy update should not depend on a new training run. Equally, better retrieval will not necessarily solve a persistent labeling convention when the relevant evidence is already visible.

Check what “open” actually permits#

Downloadable weights do not tell you everything about how a model may be used or adapted. Check which weights, code, and training information are available, and what rights come with them. Releases described as open can differ substantially in both access and restrictions.

Review the actual model license and accompanying terms before investing in adaptation. Check that the intended deployment, modification, and distribution are permitted, including any obligations affecting derived artifacts. Record the exact base-model version and license alongside the training configuration.

The title of this article uses the familiar phrase “open-source model.” In an implementation decision, use the more precise description supported by the release: an open-source model or an open-weight model under its particular license.

Treat the dataset as a product decision#

The most valuable examples express an agreed standard. A historical answer is useful only if it reflects the behavior the team wants now.

For a hypothetical support-routing task, a training example should include the input available at routing time, the approved destination, and any permitted explanation. Exclude later investigation notes if those notes will be unavailable in production. Resolve disagreements about borderline cases before asking the model to learn them.

Separate training, validation, and final testing. Training examples shape the model; validation examples help select the configuration; the final test measures the chosen candidate. Letting final-test examples influence earlier decisions can make the result look better than performance on unfamiliar work.

In practice, split by the unit that could leak: customer, case, document family, or time period. Near-identical versions of one contract should not quietly land on both sides of an evaluation. Keep the final holdout out of prompt selection, training-example generation, and repeated model selection.

Judge the tuned model against both its untuned base and the hosted baseline. Inspect individual failures as well as averages. A gain on common cases can conceal worse handling of missing information, unusual formats, or requests outside scope.

Begin with a bounded adaptation experiment#

Supervised fine-tuning adjusts a pretrained model using examples of desired behavior. Full fine-tuning updates all model parameters. LoRA instead freezes the pretrained weights and trains smaller low-rank updates, reducing the number of trainable parameters.

For a first experiment on a stable, narrow task, a LoRA adapter is a reasonable starting point. Define success in advance, use reviewed examples, and compare candidate checkpoints on validation data. Stop if the improvement is too small to matter operationally.

LoRA is an efficiency technique, not a guarantee of quality. Adapter configuration and training choices still require evaluation. Depending on the model and serving stack, an adapter may be loaded separately or merged into a deployment artifact. Test the configuration you intend to operate.

Consider full fine-tuning when a measured limitation of the lighter approach justifies its additional resource and maintenance requirements. Evaluate the artifact that will actually serve requests, including any deployment conversion, rather than assuming training-time results carry through unchanged.

Compare the whole operating cost#

An inference price is one line in the decision. Include data preparation, experiments, hosting, monitoring, upgrades, failure handling, and human review.

Consider a deliberately fictional monthly comparison. These are planning assumptions, not provider prices or measured NexVega results:

AssumptionHosted baselineTuned, self-managed deployment
Completed tasks per month100,000100,000
Model usage or serving infrastructure$1,200$800
Operations and maintenance allocation$200$900
Review and correction$1,000$500
Fine-tuning and training-data preparation, amortized$0$400
Total$2,400$2,600

Here, lower serving and review costs do not yet repay the operating overhead. Change the workload volume, staffing assumptions, or measured correction rate and the decision may change. Compare cost per acceptable completed task under the same quality standard.

Benchmark realistic request lengths, concurrent demand, and quiet periods. Measure tail latency as well as throughput: an acceptable average can hide slow responses during a burst. Include startup time, capacity limits, and the behavior of the queue when demand exceeds available compute.

Make privacy a deployment requirement#

Self-managed deployment can place processing inside a chosen environment. It still requires decisions about training-data access, logging, artifact storage, backups, and who may query the model.

Do not treat training as a way to hide sensitive information. Include only the data needed to teach the task, and evaluate whether outputs reveal details they should withhold. A trained model should never become the mechanism for deciding which customer records a user may access.

Prefer sanitized examples where they preserve the task. Keep record-level permissions in the application and retrieval layer. Give checkpoints, adapters, and training datasets named owners and controlled access.

Know what would justify the move#

Proceed when the task is stable, the remaining failure concerns learnable behavior, the examples represent an agreed standard, and the evaluation demonstrates a useful gain. Add an operating owner, a rollback path, and a schedule for reassessing the comparison.

A hosted model may remain the best choice for broad or infrequent work. An untuned open model may already meet the requirement. A tuned model earns its place when the complete workflow becomes more reliable or economical under the constraints that matter.

That is the standard to apply: a measurable improvement in the work, supported by a system the team can operate.

Get started

You know the problem. Let’s solve it.