onnxport commited on
Commit
b1ae955
1 Parent(s): b278ca5

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +52 -0
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ inference: false
3
+ tags:
4
+ - onnx
5
+ - question-answering
6
+ - bert
7
+ - adapter-transformers
8
+ datasets:
9
+ - hotpot_qa
10
+ language:
11
+ - en
12
+ ---
13
+
14
+ # ONNX export of Adapter `AdapterHub/bert-base-uncased-pf-hotpotqa` for bert-base-uncased
15
+ ## Conversion of [AdapterHub/bert-base-uncased-pf-hotpotqa](https://huggingface.co/AdapterHub/bert-base-uncased-pf-hotpotqa) for UKP SQuARE
16
+
17
+
18
+ ## Usage
19
+ ```python
20
+ onnx_path = hf_hub_download(repo_id='UKP-SQuARE/bert-base-uncased-pf-hotpotqa-onnx', filename='model.onnx') # or model_quant.onnx for quantization
21
+ onnx_model = InferenceSession(onnx_path, providers=['CPUExecutionProvider'])
22
+
23
+ ## Architecture & Training
24
+
25
+ The training code for this adapter is available at https://github.com/adapter-hub/efficient-task-transfer.
26
+ In particular, training configurations for all tasks can be found [here](https://github.com/adapter-hub/efficient-task-transfer/tree/master/run_configs).
27
+
28
+
29
+ ## Evaluation results
30
+
31
+ Refer to [the paper](https://arxiv.org/pdf/2104.08247) for more information on results.
32
+
33
+ ## Citation
34
+
35
+ If you use this adapter, please cite our paper ["What to Pre-Train on? Efficient Intermediate Task Selection"](https://arxiv.org/pdf/2104.08247):
36
+
37
+ ```bibtex
38
+ @inproceedings{poth-etal-2021-pre,
39
+ title = "{W}hat to Pre-Train on? {E}fficient Intermediate Task Selection",
40
+ author = {Poth, Clifton and
41
+ Pfeiffer, Jonas and
42
+ R{"u}ckl{'e}, Andreas and
43
+ Gurevych, Iryna},
44
+ booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
45
+ month = nov,
46
+ year = "2021",
47
+ address = "Online and Punta Cana, Dominican Republic",
48
+ publisher = "Association for Computational Linguistics",
49
+ url = "https://aclanthology.org/2021.emnlp-main.827",
50
+ pages = "10585--10605",
51
+ }
52
+ ```