Русская карточка · Quick start · RuBQ results · Languages and runtimes · QMD guide · Open WebUI guide · For agents · GitHub · Original model
Tencent fine-tuned Qwen3-0.6B for multilingual search and RAG. This GGUF port of Yuanbao runs locally on English, Chinese, Russian and other languages. We tested llama.cpp on Apple Metal and CPU, QMD on Metal, and ranking quality on the Russian RuBQ benchmark. Tencent’s paper
Start with Q8_0. It is the file tested in QMD and Open WebUI, and it kept F16's top passage on all 150 RuBQ questions.
| File | Size | Use it for |
|---|---|---|
Yuanbao-Reranker-0.6B-Q8_0.gguf |
0.64 GB | Default. Tested in QMD 2.9.0 and Open WebUI 0.13.4. |
Yuanbao-Reranker-0.6B-Q4_K_M.gguf |
0.40 GB | 38% smaller than Q8_0 with similar RuBQ scores. The top passage changed on 10 of 150 questions. Not tested in QMD or Open WebUI. |
Yuanbao-Reranker-0.6B-F16.gguf |
1.20 GB | Checking a conversion or comparing quantizations. |
SHA256SUMS lists the checksums. RuBQ150-GGUF-benchmark.tar.gz holds the
benchmark data behind the results below.
No account is needed. Download Q8_0 and its checksum from Hugging Face, then
start the server with the tested llama.cpp build on your PATH.
base=https://huggingface.co/ai-babai/Yuanbao-Reranker-0.6B-GGUF/resolve/v0.1.1
mkdir -p models
curl -fL -o models/Yuanbao-Reranker-0.6B-Q8_0.gguf "$base/Yuanbao-Reranker-0.6B-Q8_0.gguf"
curl -fL -o models/SHA256SUMS "$base/SHA256SUMS"
(cd models && grep 'Q8_0.gguf' SHA256SUMS | shasum -a 256 -c -)
llama-server -m models/Yuanbao-Reranker-0.6B-Q8_0.gguf \
--reranking --alias yuanbao --host 127.0.0.1 --port 8091
curl -sS http://127.0.0.1:8091/v1/rerank \
-H 'Content-Type: application/json' \
-d '{"model":"yuanbao","query":"Как отключить автопродление подписки?","documents":["Для изменения пароля откройте настройки безопасности.","Откройте раздел подписок и выключите автоматическое продление."],"top_n":2}'
The server returns the original document indices with their scores, highest first. On Apple M4 Pro this request put the subscription passage (index 1) first with a relevance score of 0.94275. The password passage (index 0) scored 0.00046. With the same documents and the question «Где поменять пароль?», the password passage moved to first place. For CPU-only serving, see the flags in the Open WebUI guide.
The same files through the Hugging Face CLI or, with a logged-in gh, the
GitHub release:
hf download ai-babai/Yuanbao-Reranker-0.6B-GGUF \
Yuanbao-Reranker-0.6B-Q8_0.gguf SHA256SUMS --revision v0.1.1 --local-dir ./models
gh release download v0.1.1 --repo ai-babai/yuanbao-reranker-gguf \
--pattern 'Yuanbao-Reranker-0.6B-Q8_0.gguf' --pattern SHA256SUMS --dir ./models
For agents and scripts: manifest.json lists the release revision, filenames, sizes and SHA-256 hashes. results/rubq-pilot.json holds the benchmark, and AGENTS.md maps tasks to sources.
150 public RuBQ questions and 3,656 question–passage pairs, following the
Horizon Labs protocol. Each GGUF ran on the same llama.cpp build through the
stock /v1/rerank endpoint with a 512-token input limit. Higher is better.
| Model | nDCG@10 | MRR@10 | Same top passage as F16 |
|---|---|---|---|
| Yuanbao-Reranker-0.6B Q8_0 | 0.8480 | 0.8408 | 150 of 150 |
| Yuanbao-Reranker-0.6B Q4_K_M | 0.8488 | 0.8391 | 140 of 150 |
| Yuanbao-Reranker-0.6B F16 | 0.8476 | 0.8408 | baseline |
| Qwen3-Reranker-0.6B Q8_0, ggml-org, QMD default | 0.8124 | 0.7949 | — |
The original BF16 weights in PyTorch scored 0.8488 and 0.8419. The three Yuanbao files differ by at most 0.0012 nDCG@10. Q4_K_M changes which passage comes first more often, so Q8_0 stays the default. Against Qwen3-Reranker-0.6B Q8_0, Yuanbao Q8_0 gained +0.0355 nDCG@10, with a paired bootstrap 95% interval of +0.0184 to +0.0536.
Full results: ties, score agreement, latency and memory · Reproduce the benchmark
Linux CPU. On three AMD EPYC 7763 vCPUs, reranking 10 passages took a median of 11.71 s with Q4_K_M and 14.18 s with Q8_0. CPU measurements for 10, 25 and 50 passages · Raw timing samples
Languages. Tencent lists Chinese and English and describes the source model as multilingual. Its MLDR evaluation includes Arabic, Chinese, English, French, German, Hindi, Italian, Japanese, Korean, Portuguese, Russian, Spanish and Thai. The published MLDR number is an average across those 13 languages. We benchmarked these GGUFs on Russian RuBQ. In a separate CPU check, Q8_0 put the expected passage first on two hand-written queries each in English, Chinese and Russian. Six requests and their scores · Tencent model card · Tencent benchmark task list
| Runtime | Status with these GGUF files |
|---|---|
llama.cpp llama-server, /v1/rerank |
Tested at commit 5fddd0b on Apple Metal and CPU. |
| node-llama-cpp 3.22.3 inside QMD 2.9.0 | Tested on Apple Metal, SDK and CLI. |
| Open WebUI 0.13.4, External reranker | Tested through llama-server on CPU. |
| LM Studio 0.4.25 (build 1) | Imports and loads Q8_0 as an LLM. The app API returned no ranking scores. The separate llama-server executable bundled in runtimes 2.44.0 and 2.82.0 ranked documents correctly. Test and launch command |
Transformers, vLLM, yuanbao-reranker package |
Documented by Tencent for the original safetensors weights, not for GGUF. |
Where it fits:
question → search: BM25, embeddings or QMD hybrid → candidate chunks
→ Yuanbao-Reranker-0.6B: /v1/rerank or QMD → chunks in score order
→ chat model context or search results
QMD. Point models.rerank in the index configuration to the downloaded
file with an absolute path, then run qmd trust, qmd update and qmd embed.
QMD 2.9.0 created rank-pooling contexts for this file and reranked Russian
queries on Metal.
models:
rerank: "/absolute/path/to/Yuanbao-Reranker-0.6B-Q8_0.gguf"
Open WebUI. Enable Hybrid Search, choose External as the reranking
engine and enter the full /v1/rerank URL of the llama-server above. The
tested setup used Giga Embeddings for the dense search.
QMD guide · Open WebUI with Giga Embeddings · Giga Embeddings GGUF
/v1/rerank cannot swap the
instruction for a task-specific one.The two models tested together in Open WebUI are listed in Russian RAG on llama.cpp.
Apache-2.0, as the original model. Converted from
Yuanbao-Search/Yuanbao-Reranker-0.6B
at revision 0101299, which Tencent fine-tuned from Qwen3-0.6B. Modifications consist of the
reranking GGUF conversion, prompt configuration and quantization. See
LICENSE and NOTICE. RuBQ labels are under CC BY-SA 4.0.
Conversion recipe
GGUF port, quantization, integrations and benchmarks: Maksim Popkov (Максим Попков, ai-babai). Cite this port
Yuanbao-Search/Yuanbao-Reranker-0.6B