Add paper and code links to model card
Browse filesHi! I'm Niels, part of the community science team at Hugging Face.
This PR improves the model card for ZipRerank by adding direct links to the research paper "[Very Efficient Listwise Multimodal Reranking for Long Documents](https://huggingface.co/papers/2605.11864)" and the official [GitHub repository](https://github.com/dukesun99/ZipRerank).
Providing these links helps users easily access the technical background and the source code for the model's training framework. I have preserved the existing technical documentation and code snippets already present in the README.
README.md
CHANGED
|
@@ -1,29 +1,27 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
library_name: transformers
|
| 3 |
-
pipeline_tag: visual-document-retrieval
|
| 4 |
license: apache-2.0
|
| 5 |
-
|
| 6 |
tags:
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
language:
|
| 17 |
-
- en
|
| 18 |
---
|
| 19 |
|
| 20 |
# ZipRerank
|
| 21 |
|
| 22 |
-
**ZipRerank** is a **listwise reranker for visual documents**,
|
| 23 |
-
[`Qwen/Qwen3-VL-8B-Instruct`](https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct).
|
| 24 |
|
| 25 |
-
Given a text query and a set of document page images (typically rendered from a PDF),
|
| 26 |
-
ZipRerank scores every page and returns them ordered from most to least relevant.
|
| 27 |
|
| 28 |
ZipRerank can be used either as:
|
| 29 |
|
|
@@ -116,7 +114,8 @@ def create_ranking_prompt(query: str, num_passages: int) -> str:
|
|
| 116 |
"The output format should be [A] > [B], etc.",
|
| 117 |
"Only output the ranking results, do not say anything else.",
|
| 118 |
]
|
| 119 |
-
return "
|
|
|
|
| 120 |
|
| 121 |
|
| 122 |
@torch.no_grad()
|
|
@@ -239,4 +238,4 @@ top-K pages with ZipRerank.
|
|
| 239 |
- Training focused on English documents; multilingual performance has not been evaluated,
|
| 240 |
so results on non-English content may vary.
|
| 241 |
- The window size is capped at 20 pages per forward pass (letters `A`–`T`); longer documents
|
| 242 |
-
rely on the sliding-window procedure described above.
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen3-VL-8B-Instruct
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
library_name: transformers
|
|
|
|
| 6 |
license: apache-2.0
|
| 7 |
+
pipeline_tag: visual-document-retrieval
|
| 8 |
tags:
|
| 9 |
+
- reranker
|
| 10 |
+
- rerank
|
| 11 |
+
- listwise-reranker
|
| 12 |
+
- visual-document-retrieval
|
| 13 |
+
- multimodal
|
| 14 |
+
- document-understanding
|
| 15 |
+
- qwen3-vl
|
| 16 |
+
- rankgpt
|
| 17 |
+
- mmdocir
|
|
|
|
|
|
|
| 18 |
---
|
| 19 |
|
| 20 |
# ZipRerank
|
| 21 |
|
| 22 |
+
**ZipRerank** is a **listwise reranker for visual documents**, introduced in the paper [Very Efficient Listwise Multimodal Reranking for Long Documents](https://huggingface.co/papers/2605.11864). The official implementation is available on [GitHub](https://github.com/dukesun99/ZipRerank).
|
|
|
|
| 23 |
|
| 24 |
+
Built on top of [`Qwen/Qwen3-VL-8B-Instruct`](https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct), ZipRerank is designed for high-efficiency multimodal reranking. Given a text query and a set of document page images (typically rendered from a PDF), the model scores every page and returns them ordered from most to least relevant in a single forward pass.
|
|
|
|
| 25 |
|
| 26 |
ZipRerank can be used either as:
|
| 27 |
|
|
|
|
| 114 |
"The output format should be [A] > [B], etc.",
|
| 115 |
"Only output the ranking results, do not say anything else.",
|
| 116 |
]
|
| 117 |
+
return "
|
| 118 |
+
".join(lines)
|
| 119 |
|
| 120 |
|
| 121 |
@torch.no_grad()
|
|
|
|
| 238 |
- Training focused on English documents; multilingual performance has not been evaluated,
|
| 239 |
so results on non-English content may vary.
|
| 240 |
- The window size is capped at 20 pages per forward pass (letters `A`–`T`); longer documents
|
| 241 |
+
rely on the sliding-window procedure described above.
|