PEFT
the six Ws · specification
Maintained by Hugging Face.
A library implementing LoRA, prefix tuning, and adapters for large pretrained models.
A Python library on GPU or CPU, integrated with Transformers and Accelerate.
Reach for it when adapting large models by training only a few extra parameters.
Drastically reduces compute and storage for fine-tuning while keeping performance.
PyTorch, Transformers, model weights, and a GPU for practical training.
Built by Hugging Face; open-source (Apache-2.0) library that runs locally in your training environment.
alternatives