readme
Browse files
README.md
CHANGED
@@ -7,11 +7,11 @@ library_name: generic
|
|
7 |
---
|
8 |
|
9 |
# Coreference Resolution for Long Documents
|
10 |
-
Modified coreference resolution model from [BERT for Coreference Resolution: Baselines and Analysis](https://aclanthology.org/D19-1588/) for handling long documents (~40K words) efficiently (500K words/s on a NVIDIA Tesla V100). This modified model was used in [DAPR: A Benchmark on Document-Aware Passage Retrieval](https://arxiv.org/abs/2305.13915).
|
11 |
|
12 |
## Usage
|
13 |
### API call
|
14 |
-
One can call the Hugging's Inference Endpoints API directly: (need your access token from https://huggingface.co/settings/tokens)
|
15 |
```python
|
16 |
import requests
|
17 |
import time
|
@@ -65,6 +65,9 @@ pip install -r requirements.txt
|
|
65 |
python local_run.py
|
66 |
```
|
67 |
|
|
|
|
|
|
|
68 |
## Citation
|
69 |
If you use the repo, feel free to cite our publication [DAPR: A Benchmark on Document-Aware Passage Retrieval](https://arxiv.org/abs/2305.13915):
|
70 |
```bibtex
|
|
|
7 |
---
|
8 |
|
9 |
# Coreference Resolution for Long Documents
|
10 |
+
Modified coreference resolution model from [BERT for Coreference Resolution: Baselines and Analysis](https://aclanthology.org/D19-1588/) for handling long documents (~40K words) efficiently (500K words/s on a NVIDIA Tesla V100). The checkpoint is based on AllenNLP's coref-spanbert-large-2021.03.10. This modified model was used in [DAPR: A Benchmark on Document-Aware Passage Retrieval](https://arxiv.org/abs/2305.13915).
|
11 |
|
12 |
## Usage
|
13 |
### API call
|
14 |
+
One can call the Hugging's Inference Endpoints API directly: (need your access token from https://huggingface.co/settings/tokens and the loading takes around 6 minutes)
|
15 |
```python
|
16 |
import requests
|
17 |
import time
|
|
|
65 |
python local_run.py
|
66 |
```
|
67 |
|
68 |
+
## Evalution
|
69 |
+
The evaluation results are
|
70 |
+
|
71 |
## Citation
|
72 |
If you use the repo, feel free to cite our publication [DAPR: A Benchmark on Document-Aware Passage Retrieval](https://arxiv.org/abs/2305.13915):
|
73 |
```bibtex
|