Edit on GitHub

model = AutoAdapterModel.from_pretrained("facebook/bart-base")
config = AdapterConfig.load("pfeiffer", non_linearity="relu", reduction_factor=16)
model.load_adapter("sentiment/sst-2@ukp", config=config)

Description

Adapter for bart-base in Pfeiffer architecture trained on the SST-2 dataset for 15 epochs with early stopping and a learning rate of 1e-4.

Properties

Pre-trained model
facebook/bart-base
Adapter type
Prediction Head
  Yes
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": "relu",
  "original_ln_after": true,
  "original_ln_before": true,
  "reduction_factor": 16,
  "residual_before_ln": true
}

Author

  Name
Clifton Poth
  E-Mail
  GitHub
  Twitter

Versions

Identifier Comment Score Download
1 DEFAULT

Citations

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}
}