Tencent-Yuanbao-Reranker-v1.5-2B: 8GB+ VRAM

December 4, 2026

Tencent-Yuanbao-Reranker-v1.5-2B: 8GB+ VRAM

At a Glance

Item Value
Repository tencent/Tencent-Yuanbao-Reranker-v1.5-2B
Family guide Tencent-Yuanbao-Reranker-v1.5 guide (2 articles)
Publisher guide Tencent: models and licenses
Published 2026-11-30
License tencent-yuanbao-reranker-license
Formats safetensors
Source type Primary source (the publisher itself)

Values determined by this site’s code when the information was collected. Dates are JST.

Overview

Tencent has released “Tencent-Yuanbao-Reranker-v1.5-2B", a lightweight dense pointwise reranker model. This model is based on the checkpoints of the existing “Yuanbao-Reranker v1" (4.022B) and has undergone structural pruning along three axes: FFN intermediate size, GQA head group, and number of layers. Its ranking quality was then recovered using a full-depth rank-aware objective function.

The parameter count has been reduced to 2.370B, which is 58.93% of the original model. Because it adopts a standard Qwen3 structure that requires no custom code, sparse kernels, or attention masks, it can be loaded via the standard transformers library and operated directly in existing Qwen3-compatible inference stacks.

Specifications

  • Parameters: 2.370B
  • Architecture: Qwen3ForCausalLM (Dense Qwen3 structure)
  • Layers: 24
  • FFN intermediate size: 8192
  • Attention heads: Q24/KV6 (maintaining G=4)
  • Hidden size / Head dimension: 2560 / 128
  • Vocabulary size: 151,669

Performance

The evaluation results provided in the model card are as follows. They show the results of reranking top-100 candidate sentences obtained with Qwen3-Embedding-0.6B in an MTEB v1.38.9 environment at FP16 precision, measured by nDCG@10 × 100.

→ Scroll horizontally to see all columns

Model Params CMTEB-R MMTEB-R BEIR MLDR MTEB-Code Avg. Δ vs this
Yuanbao-Reranker v1.5 2B (this model, reference) 2.370 77.05 72.27 62.73 67.61 78.28 71.59 —
Yuanbao-Reranker v1 4B (published) 4.022 78.31 74.08 64.74 70.04 80.98 73.63 +2.04
Yuanbao-Reranker v1.5, I+L only 2.527 77.23 72.54 62.91 68.86 79.15 72.14 +0.55
Qwen3-Reranker-4B (published) 4.022 76.05 71.29 63.66 69.35 80.33 72.13 +0.54
Qwen3-Reranker-4B I+L, same 2.527B shape 2.527 77.28 72.13 62.72 68.27 79.41 71.96 +0.37
Qwen3-Reranker-4B I+H+L, same 2.370B shape 2.370 75.70 70.84 61.82 68.02 76.95 70.67 −0.92

According to measurements by the publishers, this model achieves an average score (Avg.) of 71.59. Compared to the “Qwen3-Reranker-4B I+H+L" (70.67), which was reduced to the same 2.370B size, it scores 0.92 points higher, demonstrating superiority over competing configurations of the same parameter scale. Furthermore, compared to the 2.527B configuration without head reduction (average 72.14), the score difference is limited to 0.55 points, achieving a 6.2% parameter reduction with only a slight drop in accuracy.

On the other hand, compared to the pre-pruning original model, “Yuanbao-Reranker v1 4B" (average 73.63), there is a 2.04-point decrease as the price of reducing the parameter count by about 41%. Looking at the scores across various fields, “MTEB-Code" drops the most from 80.98 in the original model to 78.28, a 2.70-point decrease, showing that code-related reranking performance suffers the largest difference.

Strengths and Use Cases

This model is well-suited as a “pointwise reranker" to enhance the precision of candidate documents obtained via primary search in search systems and RAG (Retrieval-Augmented Generation) pipelines.

Regarding supported languages, it supports multilingual use including English (en) and Chinese (zh), and can be widely utilized for global text search and document extraction tasks. As defined by the default instruction (“Given a web search query, retrieve relevant passages that answer the query"), it is geared toward applications that determine and reorder passages that answer general web search queries.

Relevance determination in this model is performed by calculating the difference in probability (z_yes - z_no) or Softmax probabilities that output the single tokens “yes" and “no" for the input query-document combination.

Note that this model is not a general-purpose chat model for conversation or text generation. generation_config.json, the configuration file for text generation, is not included, and text generation processing using the generate() method is not intended. It is designed exclusively as a pure reranking and cross-encoder model.

Hardware Requirements

Estimated requirements (calculated by Local Model Watch) — 2.4B parameters

Your VRAM Quantization File size Est. memory needed
8GB (RTX 4060 / 3060 Ti, etc.) BF16 4.4GB 5.3GB

Inference engine support (architecture name matched against each project’s own model registry in its source code, checked 2026-12-04): llama.cpp: registered, vLLM: registered, MLX (mlx-lm): not registered. “Not registered" means the name is absent from that registry today, not that the model cannot run.

Memory estimates add a 20% runtime overhead (KV cache, etc.) to the actual size of the distributed files. Actual usage varies with context length, batch size and inference engine. These figures are computed by this site from file sizes, not published by the model’s authors. Compare with other models in our VRAM quick reference. What the quantization names mean: glossary.

Can You Run It Locally?

The publisher distributes this model as safetensors.

License — tencent-yuanbao-reranker-license: A custom license from the publisher. Check the original terms directly, including whether commercial use is permitted.

Compiled by this site’s code from the published formats and the license field. License summaries are not legal advice — check the publisher’s original terms before relying on them.

Our Own Measurements

Measurements We Did Not Take

We have not confirmed that this site meets the commercial-use terms of this model’s license (tencent-yuanbao-reranker-license). Because this site carries advertising, we did not run the model (no CPU run, answers, quantization comparison, conversion or generation).

How to Get It

This model is published on the Hugging Face Hub in safetensors format. Since the gated setting is specified as false, it can be downloaded and used without advance approval or individual agreement procedures for terms of use. The applied license is tencent-yuanbao-reranker-license.

Example code for loading the model and tokenizer using the transformers library is as follows. It can be loaded using standard AutoTokenizer and AutoModelForCausalLM.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "tencent/Tencent-Yuanbao-Reranker-v1.5-2B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="cuda").eval()

To execute inference correctly, you must follow several specification rules regarding prompt composition and padding settings.

First, instead of the standard Qwen3 layout, a layout dedicated to “Yuanbao-Reranker v1" must be applied to the prompt template. After setting the system prompt, instructions, queries, and documents (: instruction, : query, : document) are arranged with colons in the user input section, and a cue (CUE) consisting of four newline characters (\n\n\n\n) is appended to the end of the assistant header. Using the standard Qwen3 template will alter the token sequence unintentionally, resulting in incorrect scores.

Additionally, when performing batch inference that processes multiple documents in parallel in the same batch, be sure to set the tokenizer padding direction to the left (tokenizer.padding_side = "left"). Setting right padding causes the position of the final index (-1) in the array to point to the padding token, making it impossible to determine the correct logits.

When calculating scores, run the model with use_cache=False, retrieve the values for the “yes" token ID (9693) and “no" token ID (2152) from the final position of the output logits, and apply the sigmoid function to their difference to calculate a score between 0 and 1.

Related Articles

What to Read Next

Sources