Skip to content
Book a conversation

Fine-tuning

Understand how fine-tuning adapts a pretrained model and how it differs from writing instructions or supplying documents in a request.

Luiz GardelinUpdated Read in Markdown
All terms

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation
On this pageIntroduction

Also used as: model fine-tuning.

Fine-tuning is an additional training stage applied to a pretrained model to adapt it for a particular purpose. Rather than developing the model from the beginning, it starts with existing parameters and performs further adaptation using examples relevant to the intended task. The key distinction is that the model undergoes additional training. Source: Google, fine-tuning.

What changes

Fine-tuning may modify all parameters, modify only some of them, or add components to the existing structure. Some techniques seek to perform the adaptation while changing fewer parameters than full fine-tuning. These approaches differ from simply writing a more detailed instruction: they involve further training. Sources: Google, fine-tuning and parameter-efficient tuning.

An AI prompt guides behavior through the input to a request. Fine-tuning seeks to adapt the model itself through training. Supplying documents as context makes information available in that input. An organization should distinguish these options before choosing a solution because they act on different parts of the process.

Hypothetical workplace example

A team needs to transform free-form accounts into records with defined categories and fields. It first specifies the expected format and gathers examples of inputs and correct outputs. If it evaluates fine-tuning, it should use examples representative of the task and keep separate examples for assessing the adapted model.

Assessment would need to examine more than a consistent appearance. Were fields filled from the account? Did missing information remain missing? Does the model keep the format when a request is incomplete or differs from the most frequent examples? These questions help test the adaptation rather than assume it worked because training finished.

Evaluation means measuring a model's quality or comparing alternatives. For language models, this includes broader quality and safety considerations. Source: Google, evaluation. Fine-tuning should not be treated as a universal guarantee of improvement. Its value needs to be demonstrated for the intended task and compared with simpler ways to guide the output, such as revising the instructions and supplied examples.

Sources

  1. Machine Learning Glossary: Fine-tuning Google for Developers

    Additional training, without a universal example count or a guarantee of factual retention or improvement across all tasks.

  2. Machine Learning Glossary: Parameter-efficient tuning Google for Developers
  3. Machine Learning Glossary: Evaluation Google for Developers

Written by

Luiz Gardelin

Founder and lead consultant at The Company Brain

Luiz Gardelin is the founder and lead consultant at The Company Brain, an AI organizational transformation consultancy based in Brazil. He also founded Webinhood and Tropk.ai.

See all content by this author

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation

Related terms

Continue reading

All resources