PEFT-Factory: Unified Parameter-Efficient Fine-Tuning of Autoregressive Large Language Models
Robert Belanec, Ivan Srba, Maria Bielikova
TL;DR
PEFT-Factory presents a modular, open-source framework to unify and accelerate parameter-efficient fine-tuning of autoregressive LLMs. By supporting both off-the-shelf and custom PEFT methods, integrating 27 datasets across classification and generation tasks, and introducing the PSCP efficiency metric, it enables fair, reproducible benchmarking. The framework's plugin-style dynamic loading and dataset enhancements promote rapid prototyping and standardized evaluation, evidenced by use cases on reproducibility and benchmarking (e.g., the PEFT-Bench). Built atop LLaMA-Factory and leveraging PyTorch, PEFT-Factory aims to become a go-to platform for fair comparison and extensibility of PEFT methods in the NLP community.
Abstract
Parameter-Efficient Fine-Tuning (PEFT) methods address the increasing size of Large Language Models (LLMs). Currently, many newly introduced PEFT methods are challenging to replicate, deploy, or compare with one another. To address this, we introduce PEFT-Factory, a unified framework for efficient fine-tuning LLMs using both off-the-shelf and custom PEFT methods. While its modular design supports extensibility, it natively provides a representative set of 19 PEFT methods, 27 classification and text generation datasets addressing 12 tasks, and both standard and PEFT-specific evaluation metrics. As a result, PEFT-Factory provides a ready-to-use, controlled, and stable environment, improving replicability and benchmarking of PEFT methods. PEFT-Factory is a downstream framework that originates from the popular LLaMA-Factory, and is publicly available at https://github.com/kinit-sk/PEFT-Factory
