Edit on GitHub

model = AutoAdapterModel.from_pretrained("bert-base-uncased")
config = AdapterConfig.load("pfeiffer")
model.load_adapter("sentiment/imdb@ukp", config=config)

Description

Pfeiffer Adapter trained on the IMDb dataset.

Properties

Pre-trained model
bert-base-uncased
Adapter type
Prediction Head
  No
Task
Sentiment Analysis
Dataset

Architecture

Name
pfeiffer
Non-linearity
relu
Reduction factor
16
{
  "ln_after": false,
  "ln_before": false,
  "mh_adapter": false,
  "output_adapter": true,
  "adapter_residual_before_ln": false,
  "non_linearity": null,
  "original_ln_after": true,
  "original_ln_before": true,
  "reduction_factor": null,
  "residual_before_ln": true
}

Author

  Name
Jonas Pfeiffer
  GitHub
  Twitter

Versions

Identifier Comment Score Download
AdapterFusion DEFAULT

Citations

Adapter
@article{Pfeiffer2020AdapterFusion,
author = {Pfeiffer, Jonas and Kamath, Aishwarya and R{\"{u}}ckl{\'{e}}, Andreas and Cho, Kyunghyun and Gurevych, Iryna},
journal = {arXiv preprint},
title = {{AdapterFusion}:  Non-Destructive Task Composition for Transfer Learning},
 url       = {https://arxiv.org/pdf/2005.00247.pdf},
year = {2020}
}
Architecture
@misc{pfeiffer2020adapterfusion,
  title={AdapterFusion: Non-Destructive Task Composition for Transfer Learning},
  author={Jonas Pfeiffer and Aishwarya Kamath and Andreas Rücklé and Kyunghyun Cho and Iryna Gurevych},
  year={2020},
  eprint={2005.00247},
  archivePrefix={arXiv},
  primaryClass={cs.CL}
}
Task
@inproceedings{Maas11IMDB,
  author    = {Andrew L. Maas and
               Raymond E. Daly and
               Peter T. Pham and
               Dan Huang and
               Andrew Y. Ng and
               Christopher Potts},
  title     = {Learning Word Vectors for Sentiment Analysis},
  booktitle = {The 49th Annual Meeting of the Association for Computational Linguistics:
               Human Language Technologies, Proceedings of the Conference, 19-24
               June, 2011, Portland, Oregon, {USA}},
  pages     = {142--150},
  year      = {2011},
  url       = {https://www.aclweb.org/anthology/P11-1015/},
}