Full Fine-Tuning

Category: Generative AI / LLM

The process of updating all parameters of a pre-trained model during training on a task-specific dataset, as opposed to parameter-efficient methods.

Full Explanation

Full fine-tuning updates every parameter in a pre-trained model during task-specific training, providing maximum flexibility for the model to adapt to new data distributions and tasks. This approach typically achieves the best performance, as the entire model can adjust to the target domain. However, full fine-tuning requires substantial computational resources: GPU memory must hold the model, optimizer states, and gradients for all parameters. For a 7B parameter model, this can require 100+ GB of GPU memory. Full fine-tuning also creates a complete separate copy of the model for each task, increasing storage costs. It carries a higher risk of catastrophic forgetting and overfitting, especially with small datasets. Despite these drawbacks, full fine-tuning remains appropriate when maximum performance is needed, sufficient compute is available, and the adaptation requires significant changes to the model behavior.

Related Terms

More in Generative AI / LLM

Explore More