Fine-Tuning Language Models
Definition
Fine-tuning continues training a pretrained model on a narrower dataset or objective so it performs better for a particular domain, task or behavior.
What is fine-tuning?
Fine-tuning continues training a pretrained model on a narrower dataset or objective. Instead of learning language from scratch, the model starts from general representations acquired during pretraining and adjusts them for a domain, task or behavior.
Common forms
Supervised fine-tuning uses examples of desired inputs and outputs. Parameter-efficient methods such as LoRA modify a smaller set of added or selected parameters rather than updating every weight. Domain fine-tuning may use specialist text such as code or scientific material.
When fine-tuning is useful
Fine-tuning is useful when prompting alone does not reliably produce the required behavior or when a model needs a consistent domain-specific pattern. It is not automatically the right solution for changing facts: retrieval is often better when the underlying information changes frequently.
Related terms, defined
Reference guide and primary sources
Wikipedia is used here as a terminology and history reference guide. Current model versions, institutional statistics and product-specific claims are also linked to first-party or institutional sources because those details can change faster than encyclopedia articles.