fine-tuning
Continuing the training of a base LLM on domain-specific examples to adapt its outputs to a narrower task.
Definition
Fine-tuning takes a pretrained base LLM and trains it further on a smaller, task-specific dataset of prompt-and-ideal-response pairs. The result is a model that follows the dataset's style and conventions out of the box. For most knowledge-base questions, RAG is cheaper and easier than fine-tuning; fine-tuning shines when output format or tone matters more than recall.