Parameter-efficient fine-tuning with PEFT
Summary
PEFT bundles LoRA and related methods that train only a small number of additional parameters. This makes large base models adaptable on limited hardware. PEFT supports several parameter-efficient adaptation methods.
Ideas
- Many tasks do not require changing all of a model’s weights.
- Separate adapters allow several specialisations on the same base model.
Insights
- Scalable training needs reproducible transitions between code, data, devices and checkpoints.
Facts
- With LoRA, the base model weights stay frozen.
Critique
- Fewer trained parameters guarantee neither a small amount of data nor robust generalisation.
Recommendations
- Compare adapter training with prompting and full fine-tuning on the same test data.
References
Read the original article on Hugging Face
Links to the original source and the Web Archive open in a new tab.