Blogs / Why Full Weight Fine-Tuning Is Costly and What PEFT Is

Why Full Weight Fine-Tuning Is Costly and What PEFT Is

What a Hugging Face post says about the cost of default full weight training, who that cost affects and what PEFT is.

  • Learning
  • 1 min read

For: Learners who know what fine-tuning is.

Why full weight training is costly

The default (full weight) training for language models, even for modest sizes, tends to be memory and compute-intensive.[1]

Who the cost affects

On one hand, it can be prohibitive for users relying on openly available compute platforms for learning and experimentation, such as Colab or Kaggle.[1]

On the other hand, and even for enterprise users, the cost of adapting these models for different domains is an important metric to optimize.[1]

Default full weighttrainingtends to be memory andcompute-intensiveThe cost affectslearners andenterprisesColab and Kaggle users anddomain adaptationPEFTa popular technique toaccomplish this at low costsoanswered by
What does PEFT address?

What PEFT is

PEFT, or parameter-efficient fine tuning, is a popular technique to accomplish this at low cost.[1]

Sources

  1. Fine-Tuning Gemma Models in Hugging Face (huggingface.co · checked )

More articles