EBCAR-Qwen3-Embedding-0.6B-SFT
This EBCAR checkpoint was trained during Stage 1 (Fine-tuning on High-Quality Supervised Datasets), before Stage 2 (Knowledge Distillation with Fine-Grained Soft Signals). Lychee-Reranker, Section 4.2.
We trained EBCAR on the KaLM reranker training data with a frozen Qwen3-Embedding-0.6B encoder. Each query was paired with one positive passage and 15 negatives. 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}
}