Views
No views yet
This is a redistribution. For the model's intended use, instruction format, full evaluation (MTEB-R / CMTEB-R / MMTEB-R / MLDR / MTEB-Code / FollowIR), and citation, please see the upstream card: Qwen/Qwen3-Reranker-4B.
optimum-intel pipelines targeting Intel CPUs / iGPUs / dGPUs / NPUs.openvino_model.{xml,bin} — Qwen3 (4B) decoder, INT8 weights (~4.0 GB)openvino_tokenizer.{xml,bin} / openvino_detokenizer.{xml,bin} — OpenVINO Tokenizers IRchat_template.jinja, generation_config.jsontokenizer.json, tokenizer_config.json,
special_tokens_map.json, vocab.json, merges.txtLICENSE, NOTICE — Apache-2.0 with attribution to the upstream Qwen Team.| Base model | Qwen3 ForCausalLM (Qwen3-4B-Base) |
| Hidden size | 2560 |
| Layers | 36 |
| Attention heads / KV heads | 32 / 8 |
| Max position | 40 960 |
| Vocabulary | 151 669 |
| Source dtype | bfloat16 |
| Quantization | NNCF INT8 weight-only, asymmetric |
1openarc add qwen3-4b-reranker \
2 --model-path /path/to/Qwen3-Reranker-4B-int8-ov \
3 --model-type rerank \
4 --engine optimum \
5 --device GPU
6
7openarc serve
8# POST /v1/rerank {"model": "qwen3-4b-reranker", "query": "...", "documents": [...]}optimum-intel @ HEAD:1optimum-cli export openvino --weight-format int8 \
2 --model Qwen/Qwen3-Reranker-4B ./out
3# exits 0; openvino_model.xml is 0 bytes, openvino_model.bin is a ~13 MB stub1from optimum.intel import OVModelForCausalLM, OVWeightQuantizationConfig
2
3quant = OVWeightQuantizationConfig(bits=8, sym=False)
4m = OVModelForCausalLM.from_pretrained(
5 "Qwen/Qwen3-Reranker-4B",
6 export=True,
7 quantization_config=quant,
8 trust_remote_code=True,
9)
10m.save_pretrained("./out")openvino_tokenizers.convert_tokenizer(..., with_detokenizer=True).1@article{qwen3embedding,
2 title={Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models},
3 author={Zhang, Yanzhao and Li, Mingxin and Long, Dingkun and Zhang, Xin and Lin, Huan and Yang, Baosong and Xie, Pengjun and Yang, An and Liu, Dayiheng and Lin, Junyang and Huang, Fei and Zhou, Jingren},
4 journal={arXiv preprint arXiv:2506.05176},
5 year={2025}
6}