Add pipeline tag, library name, link to paper and Github repo (#1)
Browse files- Add pipeline tag, library name, link to paper and Github repo (f0d708f60bfb7f2c559ae79638a1f0aa474109c0)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>
README.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
pipeline_tag: feature-extraction
|
| 4 |
+
library_name: transformers
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Set-Encoder: Permutation-Invariant Inter-Passage Attention for Listwise Passage Re-Ranking with Cross-Encoders
|
| 8 |
+
|
| 9 |
+
This model is presented in the paper [Set-Encoder: Permutation-Invariant Inter-Passage Attention for Listwise Passage Re-Ranking with Cross-Encoders](https://huggingface.co/papers/2404.06912). It's a cross-encoder architecture designed for efficient and permutation-invariant passage re-ranking.
|
| 10 |
+
|
| 11 |
+
Code: https://github.com/webis-de/set-encoder
|
| 12 |
+
|
| 13 |
+
We provide the following pre-trained models:
|
| 14 |
+
|
| 15 |
+
| Model Name | TREC DL 19 (BM25) | TREC DL 20 (BM25) | TREC DL 19 (ColBERTv2) | TREC DL 20 (ColBERTv2) |
|
| 16 |
+
| ------------------------------------------------------------------- | ----------------- | ----------------- | ---------------------- | ---------------------- |
|
| 17 |
+
| [set-encoder-base](https://huggingface.co/webis/set-encoder-base) | 0.724 | 0.710 | 0.788 | 0.777 |
|
| 18 |
+
| [set-encoder-large](https://huggingface.co/webis/set-encoder-large) | 0.727 | 0.735 | 0.789 | 0.790 |
|
| 19 |
+
|
| 20 |
+
## Inference
|
| 21 |
+
|
| 22 |
+
We recommend using the `lightning-ir` cli to run inference. The following command can be used to run inference using the `set-encoder-base` model on the TREC DL 19 and TREC DL 20 datasets:
|
| 23 |
+
|
| 24 |
+
```bash
|
| 25 |
+
lightning-ir re_rank --config configs/re-rank.yaml --config configs/set-encoder-finetuned.yaml --config configs/trec-dl.yaml
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
## Fine-Tuning
|
| 29 |
+
|
| 30 |
+
WIP
|