AdapterHub: A Framework for Adapting Transformers

By Jonas Pfeiffer, Andreas Ruckl'e, Clifton A. Poth, Aishwarya Kamath, Ivan Vulic, Sebastian Ruder, Kyunghyun Cho, Iryna Gurevych. 2020

753 citations recorded by the source corpus.

The current modus operandi in NLP involves downloading and fine-tuning pre-trained models consisting of millions or billions of parameters. Storing and sharing such large trained models is expensive, slow, and time-consuming, which impedes progress towards more general and versatile NLP methods that learn from and for many tasks. Adapters—small learnt bottleneck layers inserted within each layer of a pre-trained model— ameliorate this issue by avoiding full fine-tuning of the entire model. However, sharing and integrating adapter layers is not straightforward. We propose AdapterHub, a framework that allows dynamic “stiching-in” of pre-trained adapters for different tasks and languages. The framework, built on top of the popular HuggingFace Transformers library, enables extremely easy and quick adaptations of state-of-the-art pre-trained models (e.g., BERT, RoBERTa, XLM-R) across tasks and languages. Downloading, sharing, and training adapters is as seamless as possible using minimal changes to the training scripts and a specialized infrastructure. Our framework enables scalable and easy access to sharing of task-specific models, particularly in low-resource scenarios. AdapterHub includes all recent adapter architectures and can be found at AdapterHub.ml

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Percy Liang
  4. Graham Neubig
  5. Jianfeng Gao
  6. Noah A. Smith
  7. Iryna Gurevych
  8. Quoc V. Le

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Xiaogang Wang
  5. Ming-Hsuan Yang
  6. Jitendra Malik
  7. Bernt Schiele
  8. Yi Yang

In Natural Language Processing

  1. Mohit Bansal
  2. Graham Neubig
  3. Iryna Gurevych
  4. Luke S. Zettlemoyer
  5. Ivan Vulic
  6. Sebastian Ruder
  7. Kyunghyun Cho
  8. Sebastian Riedel

In Model Architectures

  1. Iryna Gurevych
  2. Jonas Pfeiffer
  3. Colin Raffel
  4. Jiatao Gu
  5. Luke S. Zettlemoyer
  6. Yang Liu
  7. Yi-Lin Sung
  8. Hongsheng Li

Citations in the corpus