Edit on GitHub

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

Description

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

Properties

Pre-trained model
roberta-base
Adapter type
Prediction Head
  Yes
Task
Question Answering
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
Clifton Poth
  GitHub
  Twitter

Versions

Identifier Comment Score Download
1 DEFAULT 87.66

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
@misc{rajpurkar2016squad,
  title={SQuAD: 100,000+ Questions for Machine Comprehension of Text},
  author={Pranav Rajpurkar and Jian Zhang and Konstantin Lopyrev and Percy Liang},
  year={2016},
  eprint={1606.05250},
  archivePrefix={arXiv},
  primaryClass={cs.CL}
}