Model guide
Qwen3 Reranker 0.6B
Qwen3-Reranker 0.6B scores query-and-passage pairs after an initial search. It is for reordering candidate results, not building a document embedding index or answering the question. Choose it when the first search finds useful passages but ranks them poorly, and measure the added scoring time as well as relevance.
At a glance
- Parameters
- 0.6B
- Accepts
- Text
- Returns
- Relevance scores
- Published context limit
- 32,768 tokens
- Model format
- safetensors
- Software and download hosts
- sentence-transformers. Follow the exact setup below; this list does not establish support for every format, input type or software version.
- Model-weight download
- 1.19 GB of BF16 weights · native workflow
- Languages
- 100+ languages, including programming languages
- License
- Apache-2.0
Measure memory and time for five passages from a separate search, then repeat with your intended number and passage length.
Best for
- Give the reranker a question and the first five passages from your existing search. Check where the passage with the answer ends up.
Choose something else when
- A reranker scores candidates. If the answer never appeared in the original five passages, improve retrieval first.
Ranking document-search results
A reranker scores passages found by an earlier search. Choose an app that supports this exact reranker; keep a separate embedding model for the search index and a separate chat model for answers.
First setup
This is a second-stage relevance scorer: first obtain candidate passages from search, then rank them. Install sentence-transformers with python -m pip install -U sentence-transformers. This short CPU example avoids assuming a CUDA installation:
from sentence_transformers import CrossEncoder
model = CrossEncoder("Qwen/Qwen3-Reranker-0.6B", device="cpu")
query = "When does the meeting start?"
documents = ["Lunch is at noon.", "The meeting starts at 10:30."]
for hit in model.rank(query, documents, return_documents=True, batch_size=1):
print(hit["score"], hit["text"])
Expect two scored passages, not an answer or embedding vector. Check whether the passage containing 10:30 ranks ahead of the unrelated passage. Scores are relevance values, not probabilities or proof of factual correctness. If the class cannot load the model, update Sentence Transformers and check its Qwen reranker support before changing inputs.
Save the Python example as example.py, then run python example.py in the environment where you installed its packages. The first run downloads model files; later local execution still needs the cached files. Start with these short inputs and batch size 1. If loading runs out of memory, close other model processes or use a smaller model; do not interpret missing output as an empty search result. See the publisher model card for the full workflow.
Measure the time to score a fixed query and candidate passages after loading. Longer passages, more candidates and batch size change latency; this model does not generate replies.
