Adapters: A Unified Library for Parameter-Efficient and Modular Transfer Learning

Clifton Poth, Hannah Sterz, Indraneil Paul, Sukannya Purkayastha, Leon Engländer +5 more
11/18/2023
cs.CLcs.AIcs.LG

Official code: adapter-hub/adapters (2,829 stars, Apache-2.0, PyTorch, last commit 2026-04-26).

Abstract

We introduce Adapters, an open-source library that unifies parameter-efficient and modular transfer learning in large language models. By integrating 10 diverse adapter methods into a unified interface, Adapters offers ease of use and flexible configuration. Our library allows researchers and practitioners to leverage adapter modularity through composition blocks, enabling the design of complex adapter setups. We demonstrate the library's efficacy by evaluating its performance against full fine-tuning on various NLP tasks. Adapters provides a powerful tool for addressing the challenges of conventional fine-tuning paradigms and promoting more efficient and modular transfer learning. The library is available via https://adapterhub.ml/adapters.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

A Unified Library for Parameter-Efficient and Modular Transfer Learning

2,829374Shell, PythonApr 21, 20205 months agoApache-2.0
adaptersbertloranatural-language-processingnlp+4 more

Similar Papers

Cite this paper

@article{poth2023adapters,
  title  = {Adapters: A Unified Library for Parameter-Efficient and Modular Transfer Learning},
  author = {Clifton Poth and Hannah Sterz and Indraneil Paul and Sukannya Purkayastha and Leon Engländer and Timo Imhof and Ivan Vulić and Sebastian Ruder and Iryna Gurevych and Jonas Pfeiffer},
  year   = {2023},
  eprint = {2311.11077},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.11077v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.11077.svg)](https://codeofpaper.com/paper/2311.11077)

Discussion