EBCAR-Qwen3-Embedding-0.6B-KD
We trained this EBCAR checkpoint during Stage 2 (Knowledge Distillation with Fine-Grained Soft Signals), starting from the final checkpoint of Stage 1 (Fine-tuning on High-Quality Supervised Datasets). Lychee-Reranker, Section 4.2.
We used the KaLM reranker training data with hard labels and teacher relevance scores. The Qwen3-Embedding-0.6B encoder remained frozen. Training data · Encoder.
Usage
Download this repository, run python -m pip install -r requirements.txt in its directory and run the following example.
from reranker import EBCARReranker
model = EBCARReranker(encoder_name_or_path="Qwen/Qwen3-Embedding-0.6B")
passages = ["Berlin is the capital of Germany.", "Paris is the capital of France."]
for hit in model.rerank(
"What is the capital of France?",
passages,
instruction="Given a query, retrieve documents that answer the query.",
):
print(hit["score"], passages[hit["index"]])
encoder_name_or_path also accepts a local copy of the same encoder. Pass up to 100 passages per query, in retrieval order. The reranker scores them jointly and returns their original indices and raw scores in descending order.
The hybrid-attention code is from RBC Borealis, copyright Royal Bank of Canada, and is provided under CC BY-NC-SA 4.0. EBCAR source · License for the upstream code.
Citation
If you find EBCAR useful in your research, please consider citing:
@inproceedings{yuan2026embeddingbased,
title={Embedding-Based Context-Aware Reranker},
author={Ye Yuan and Mohammad Amin Shabani and Siqi Liu},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=OBMcxeSK5U}
}
- Downloads last month
- 44