Fine-Tuning

Category: Generative AI / LLM

The process of further training a pre-trained model on a smaller, task-specific dataset to adapt it for a particular use case or domain.

Full Explanation

Fine-tuning takes a pre-trained foundation model and continues training it on a specialized dataset to improve performance on specific tasks or domains. This transfer learning approach leverages the general knowledge acquired during pre-training while adapting the model to new requirements. Fine-tuning can target specific capabilities like instruction following, domain expertise, output format adherence, or style adaptation. The process requires significantly less data and compute than training from scratch. Modern fine-tuning approaches range from full fine-tuning (updating all parameters) to parameter-efficient methods like LoRA that update only a small fraction of parameters. Fine-tuning is appropriate when prompt engineering alone cannot achieve the desired behavior, when consistent output formatting is critical, or when the model needs deep domain knowledge. Key considerations include data quality, avoiding catastrophic forgetting, and evaluation methodology.

Related Terms

More in Generative AI / LLM

Explore More