Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Fine-tuning

Also: fine tuning

In plain words

More training on a chosen set of examples. It changes a model to suit a task or style.

Teaching a general model your house style
BeforeA general model writes competent, generic letters.
Training examplesTwo hundred of the firm’s own letters, with their final wording.
AfterThe model writes in the firm’s style by default.

Fine-tuning changes how the model writes, not what it knows about this week’s facts. For facts, give it the documents instead.

The fuller definition

Fine-tuning is additional training that changes some or all model parameters for a task, behavior, or domain.

Go deeper

Three ways to change what a model does
IN THE PROMPT

Supply instructions and examples each time. Nothing in the model changes.

RETRIEVAL

Fetch current documents and put them in context. Facts can change daily.

FINE-TUNING

Train the parameters on examples. Changes behaviour and style; poor at keeping facts current.

Most legal tasks need the first two. Fine-tuning is a project, with data, evaluation, and maintenance, and it is the wrong tool for facts that change.

A concrete example

A developer trains on reviewed examples to make extraction outputs follow a consistent classification scheme.

The distinction that matters

Fine-tuning differs from retrieval and saved instructions. It is not automatically the best way to add changing facts.

Related terms

Where it is taught

How models learn from examples

Source and further reading

Hugging Face · LLM course

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC