Definition
What is Fine-Tuning?
Last updated
A training process that adjusts a pretrained language model's weights on a domain-specific dataset to change its default behavior, style, or task performance.
Fine-tuning is best suited to changing how a model behaves rather than what it knows. It reliably shifts output format, tone, and narrow task performance, but it struggles to reliably encode new factual knowledge. Research consistently shows RAG outperforms unsupervised fine-tuning for knowledge injection, which is why most production systems fine-tune for behavior and use retrieval for facts.
Further reading
Articles about Fine-Tuning
RAG, long context, or fine-tuning: how to choose
RAG, long context, or fine-tuning? A 2026 decision guide on cost, accuracy, and freshness, with a use-case table for choosing the right one in production.
RAG vs fine-tuning: when to use each
RAG vs fine-tuning: RAG wins for knowledge injection and freshness, fine-tuning wins for style and format. The right choice is a context engineering call.
All terms
View full glossaryPut context into practice
Create your first context container and connect it to your AI tools in minutes.
Create Your First Container