zenlm
/

How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="zenlm/zen-reranker")
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("zenlm/zen-reranker")
model = AutoModelForCausalLM.from_pretrained("zenlm/zen-reranker", device_map="auto")
Quick Links

Zen Reranker

4B-parameter cross-encoder reranker for retrieval pipelines and search relevance — re-scores candidate passages for RAG and search quality. Part of the Zen reranker line.

Repackaged from Qwen/Qwen3-Reranker-4B (apache-2.0, Alibaba Qwen). Native HuggingFace safetensors, re-hosted under the Zen reranker line. Not trained from scratch — a permissively-licensed redistribution for the OSS-clean Zen model line.

Usage

Score query/passage pairs following the upstream Qwen/Qwen3-Reranker-4B recipe (yes/no token scoring).

Hosted via the Hanzo gateway (api.hanzo.ai) as zen-reranker. GGUF build for CPU inference: zenlm/zen-reranker-4B-GGUF.

License

apache-2.0. Upstream: Qwen/Qwen3-Reranker-4B by Alibaba Qwen. This repository redistributes the weights under the same license.

Downloads last month
15
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for zenlm/zen-reranker

Finetuned
(11)
this model
Quantizations
1 model

Collection including zenlm/zen-reranker