qwen3-reranker-4b for the Ryzen AI NPU
Qwen3-Reranker-4B, converted to run on the Ryzen AI NPU of AMD Strix Halo inside halogen-flash-server, beside the Flash model on the GPU and behind the same port. Questions go to the Discord. Bugs go to the server repository's issues.
These files run only inside the halogen-flash-server container, on the NPU. They will not load in transformers or any other runtime.
What is here
qwen3-reranker-4b.hnpw 4.87 GB the weights, converted for the NPU
tokenizer/ 11 MB the tokenizer
This model runs on the NPU program of halogen-npu-qwen3-embedding-4b, which the server fetches with it. It takes up to 4,096 tokens a query and document pair.
Use it
Start halogen-flash-server 0.17.4 or later with HALOGEN_DOWNLOAD on and
HALOGEN_NPU_MODELS=qwen3-reranker-4b. The server fetches these files into
/models/npu/qwen3-reranker-4b/ and checks each one's size and checksum before it starts.
It answers /v1/rerank in the Cohere and Jina request shape: documents scored against a query, sorted by relevance.
The host needs the NPU driver, XRT with its NPU plugin, and the GPU's fabric clock held while the NPU works beside the GPU. The setup, every request shape, and how to run your own fine-tune of this model are in docs/NPU.md.
Source and license
Converted from Qwen/Qwen3-Reranker-4B at revision 22e683669bc0f0bd69640a1354a6d0aebcfeede5. Apache-2.0, as the source.
The NPU program's third-party notices are in the embedding repository's devices/NOTICE.md.