Edit on GitHub

model = AutoAdapterModel.from_pretrained("roberta-base")
config = AdapterConfig.load("pfeiffer")
model.load_adapter("sentiment/sst-2@ukp", config=config)

Description

Pfeiffer Adapter trained on the SST-2 task.

Properties

Pre-trained model
roberta-base
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{Socher2013RecursiveDM,
title={Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank},
author={Richard Socher and Alex Perelygin and Jean Wu and Jason Chuang and Christopher D. Manning and Andrew Y. Ng and Christopher Potts},
booktitle={EMNLP},
year={2013}
}