model = AutoAdapterModel.from_pretrained("bert-base-uncased")
config = AdapterConfig.load("pfeiffer")
model.load_adapter("qa/squad2@ukp", config=config)
{
"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
}
| Identifier | Comment | Score | Download |
|---|---|---|---|
| 1 DEFAULT | 74.42 |
@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}
}
@misc{rajpurkar2018know,
title={Know What You Don't Know: Unanswerable Questions for SQuAD},
author={Pranav Rajpurkar and Robin Jia and Percy Liang},
year={2018},
eprint={1806.03822},
archivePrefix={arXiv},
primaryClass={cs.CL}
}