Skip to content

Fine-Tuning

Abstract

Fine-Tuning — the process of training an already trained model on a specific dataset to tailor it to narrow tasks: company style, response format, specific jargon.

Why is it needed

A pre-trained model is trained on 'the whole internet', but it doesn't know your specific tasks. If you want the model to respond in your company's style, generate texts strictly according to a template, or understand internal jargon — it is fine-tuned on your own examples.

What it changes and what it doesn't

What it changes What it doesn't change
Style and tone of responses Exact facts (for this use RAG)
Output format Knowledge of new dates and numbers
Behavior in dialogue The model does not 'remember' documents

Important: Fine-tuning is not suitable for adding new facts. For working with documents, use RAG.

Full Fine-Tuning

The classical approach is to change all billions of weights of the model. This requires server GPUs like NVIDIA A100 and large budgets. For small teams, this is unfeasible, so efficient methods have emerged — PEFT.

See also