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.
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]
What PEFT is
PEFT, or parameter-efficient fine tuning, is a popular technique to accomplish this at low cost.[1]
Sources
- Fine-Tuning Gemma Models in Hugging Face (huggingface.co · checked )
More articles
- LearningWhy Preference Optimization Beats Fixed LabelsWhat a Hugging Face post says about fixed labels being costly for nuanced tasks and how preference optimization compares and ranks candidate answers.
- LearningWhy a Base Model Needs Instruction Fine-TuningWhat a Hugging Face post says about why the language-modeling objective is not sufficient to follow a user's direction and what IFT is.
- LearningWhat Assisted Generation Is and What Its Two Models DoWhat a Hugging Face post says assisted generation is also known as, what its core idea is and what the assistant and target models do each cycle.