Update README.md
Browse files
README.md
CHANGED
|
@@ -1,30 +1,41 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
|
| 3 |
+
language: en
|
| 4 |
+
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
# 🏬QAmden🏬: Question-Answering-based Multi-DocumENt model
|
| 11 |
+
|
| 12 |
+
HF-version of the QAmden model fine-tuned over multinews: *Peek Across*: Improving Multi-Document Modeling via Cross-Document Question-Answering (ACL 2023).
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
You can use it by
|
| 16 |
+
|
| 17 |
+
```python
|
| 18 |
+
from transformers import (
|
| 19 |
+
AutoTokenizer,
|
| 20 |
+
LEDConfig,
|
| 21 |
+
LEDForConditionalGeneration,
|
| 22 |
+
)
|
| 23 |
+
# load model and tokenizer
|
| 24 |
+
tokenizer = AutoTokenizer.from_pretrained('biu-nlp/QAmden')
|
| 25 |
+
config=LEDConfig.from_pretrained('biu-nlp/QAmden-multinews')
|
| 26 |
+
|
| 27 |
+
model = LEDForConditionalGeneration.from_pretrained('biu-nlp/QAmden-multinews')
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
The original repo is [here](https://github.com/aviclu/peekacross).
|
| 31 |
+
|
| 32 |
+
If you find our work useful, please cite the paper as:
|
| 33 |
+
|
| 34 |
+
```python
|
| 35 |
+
@article{caciularu2023peekacross,
|
| 36 |
+
title={Peek Across: Improving Multi-Document Modeling via Cross-Document Question-Answering},
|
| 37 |
+
author={Caciularu, Avi and Peters, Matthew E and Goldberger, Jacob and Dagan, Ido and Cohan, Arman},
|
| 38 |
+
journal={The 61st Annual Meeting of the Association for Computational Linguistics: ACL 2023},
|
| 39 |
+
year={2023}
|
| 40 |
+
}
|
| 41 |
+
```
|