PEFT
A code library for teaching big AI models new skills cheaply by training only a small add-on part.
- Coding needed
- Developers only
- Cost
- Free
- Computer
- Works best on a powerful computer or one with a graphics card (GPU)
A code library for teaching big AI models new skills cheaply by training only a small add-on part.
Fine-tuning means further training an existing AI model on your own data so it gets better at a specific job. Doing this for a whole large model takes a lot of computer power. PEFT (Parameter-Efficient Fine-Tuning) instead trains a small set of extra settings, often well under one percent of the model's size, while leaving the rest untouched.
This cuts the memory and storage needed, so models can be adapted on far more modest hardware, and the trained add-on (popular methods include LoRA) is a small file. Its makers say results can come close to fully fine-tuned models.
It works with Hugging Face's other libraries for text, image-generation and large-scale training.
Developers and researchers who want to customise AI models without huge computing budgets.
Developers only. It's a Python library; you write code to use it, and training needs a graphics card. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?