Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
Q

Qwen3-VL-Embedding

> 编程语言
Open source

Qwen3-VL-Embedding & Qwen3-VL-Reranker State-of-the-art multimodal embedding and reranking models built on Qwen3-VL, supporting text, image…

1.3K stars0 likes2 views
WebsiteGitHub

About

Qwen3-VL-Embedding & Qwen3-VL-Reranker State-of-the-art multimodal embedding and reranking models built on Qwen3-VL, supporting text, image…

Qwen3-VL-Embedding & Qwen3-VL-Reranker

State-of-the-art multimodal embedding and reranking models built on Qwen3-VL, supporting text, images, screenshots, videos, and mixed-modal inputs for advanced information retrieval and cross-modal understanding.


Table of Contents

  • Overview
  • Features
  • Model Architecture
  • Installation
  • Usage
  • Examples
  • Model Performance
  • Citation

Overview

The Qwen3-VL-Embedding and Qwen3-VL-Reranker model series are the latest additions to the Qwen family, built upon the recently open-sourced and powerful Qwen3-VL foundation model. Specifically designed for multimodal information retrieval and cross-modal understanding, this suite accepts diverse inputs including text, images, screenshots, and videos, as well as inputs containing a mixture of these modalities.

Building on the success of our text-oriented Qwen3-Embedding and Qwen3-Reranker series, these multimodal models extend best-in-class performance to visual and video understanding tasks. The models work in tandem: the Embedding model handles the initial recall stage by generating semantically rich vectors, while the Reranking model manages the re-ranking stage with precise relevance scoring, significantly enhancing final retrieval accuracy.


Features

  • ** Multimodal Versatility**: Seamlessly process inputs containing text, images, screenshots, and video within a unified framework. Achieve state-of-the-art performance across diverse tasks including image-text retrieval, video-text matching, visual question answering (VQA), and multimodal content clustering.

  • ** Unified Representation Space**: Leverage the Qwen3-VL architecture to generate semantically rich vectors that capture both visual and textual information in a shared space, facilitating efficient similarity estimation and retrieval across different modalities.

  • ** High-Precision Reranking**: The reranking model accepts input pairs (Query, Document)—where both can consist of arbitrary single or mixed modalities—and outputs precise relevance scores for superior retrieval accuracy.

  • ** Exceptional Practicality**:

    • Support for over 30 languages, ideal for global applications
    • Customizable instructions for task-specific optimization
    • Flexible vector dimensions with Matryoshka Representation Learning (MRL)
    • Strong performance with quantized embeddings for efficient deployment
    • Easy integration into existing retrieval pipelines

Supported Languages

Qwen3-VL-Embedding and Qwen3-VL-Reranker supports 33 languages:

  • English
  • Chinese
  • Spanish
  • French
  • Arabic
  • Portuguese
  • Russian
  • Urdu
  • Indonesian
  • German
  • Japanese
  • Vietnamese
  • Turkish
  • Korean
  • Persian
  • Italian
  • Thai
  • Polish
  • Ukrainian
  • Uzbek
  • Romanian
  • Dutch
  • Kazakh
  • Greek
  • Czech
  • Swedish
  • Serbian
  • Hebrew
  • Danish
  • Finnish
  • Norwegian
  • Slovenian
  • Irish

Model Architecture

Model Specifications

Model Size Layers Sequence Length Embedding Dimension Quantization Support MRL Support Instruction Aware
Qwen3-VL-Embedding-2B 2B 28 32K 2048 ✅ ✅ ✅
Qwen3-VL-Embedding-8B 8B 36 32K 4096 ✅ ✅ ✅
Qwen3-VL-Reranker-2B 2B 28 32K - - - ✅
Qwen3-VL-Reranker-8B 8B 36 32K - - - ✅

LoRA Configs

Model rank alpha target_modules
Qwen3-VL-Embedding 32 32 q_proj v_proj k_proj up_proj down_proj gate_proj
Qwen3-VL-Reranker 32 32 q_proj v_proj k_proj up_proj down_proj gate_proj

Architecture Design

Qwen3-VL-Embedding: Dual-Tower Architecture

  • Receives single-modal or mixed-modal input and maps it into a high-dimensional semantic vector
  • Extracts the hidden state vector corresponding to the [EOS] token from the base model's last layer as the final semantic representation
  • Enables efficient, independent encoding necessary for large-scale retrieval

Qwen3-VL-Reranker: Single-Tower Architecture

  • Receives an input pair (Query, Document) and performs pointwise reranking
  • Utilizes Cross-Attention mechanism for deeper, finer-grained inter-modal interaction and information fusion
  • Expresses relevance score by predicting the generation probability of special tokens (yes and no)

Feature Comparison

Qwen3-VL-Embedding Qwen3-VL-Reranker
Core Function Semantic Representation, Embedding Generation Relevance Scoring, Pointwise Re-ranking
Input Single modality or mixed modalities (Query, Document) pair with single- or mixed-modal inputs
Architecture Dual-Tower Single-Tower
Mechanism Efficient Retrieval Deep Inter-Modal Interaction, Precise Alignment
Output Semantic Vector Relevance Score

Both models are built through a multi-stage training paradigm that fully leverages the powerful general multimodal semantic understanding capabilities of Qwen3-VL, providing high-quality semantic representations and precise re-ranking mechanisms for complex, large-scale multimodal retrieval tasks.


Installation

Setup Environment

bash
# Clone the repository
git clone https://github.com/QwenLM/Qwen3-VL-Embedding.git
cd Qwen3-VL-Embedding

# Run the script to setup the environment
bash scripts/setup_environment.sh

The setup script will automatically:

  • Install uv if not already installed
  • Install all project dependencies

After setup completes, activate the environment:

bash
source .venv/bin/activate

Download Models

Our models are available on both Hugging Face and ModelScope.

Model Hugging Face ModelScope
Qwen3-VL-Embedding-2B Link Link
Qwen3-VL-Embedding-8B Link Link
Qwen3-VL-Reranker-2B Link Link
Qwen3-VL-Reranker-8B Link Link

Install download dependencies:

Download from Hugging Face:

bash
uv pip install huggingface-hub

huggingface-cli download Qwen/Qwen3-VL-Embedding-2B --local-dir ./models/Qwen3-VL-Embedding-2B

Download from ModelScope:

bash
uv pip install modelscope

modelscope download --model qwen/Qwen3-VL-Embedding-2B --local_dir ./models/Qwen3-VL-Embedding-2B

Usage

Quick Start

Embedding Model

Transformers usage
…
vLLM usage

Note: Requires vLLM >= 0.14.0

For vLLM usage examples with the embedding model, please refer to examples/embedding_vllm.ipynb.

Reranking Model

Transformers usage
…
vLLM usage

Note: Requires vLLM >= 0.14.0

For vLLM usage examples with the reranker model, please refer to examples/reranker_vllm.ipynb.

Model Input Specification

Multimodal Object

A dictionary that can contain the following keys:

  • text: Text input as a string or a list of strings
  • image: Image input, supports:
    • Local file path
    • URL (network path)
    • PIL.Image.Image instance
    • List of any combination of the above (multiple images)
  • video: Video input, supports:
    • Local file path
    • URL (network path)
    • Sequence of video frames (list of image paths or PIL.Image.Image instances)
    • List of any combination of the above (multiple videos)

Note: All input types (text, image, video) now support both single objects and lists of objects, allowing you to provide multiple inputs of the same type in a single request. For example, you can pass multiple images as a list, multiple text strings as a list, or multiple videos as a list.

Instruction

Task description for relevance evaluation (default: "Represent the user's input")

Video Sampling Settings

Only effective when video input is a video file:

  • fps: Frame sampling rate per second (frames per second)
  • max_frames: Maximum number of frames to sample

Input Format

Embedding Model: A list of dictionaries, where each dictionary contains:

  • Instruction (optional)
  • Video sampling settings (optional)
  • Multimodal object keys (text, image, and/or video)

Reranking Model: A dictionary containing:

  • query: A multimodal object
  • documents: A list of multimodal objects
  • instruction: Task description (optional)
  • fps: Video sampling rate (optional)
  • max_frames: Maximum frames (optional)

Embedding Model

Model Initialization Parameters

…

Examples

Embedding Model

We provide comprehensive examples here demonstrating various tasks across different modalities:

Text Tasks:

  • Text Classification (AG News)
  • Text Question Answering (SQuAD)
  • Text Retrieval (MS MARCO)

Image Tasks:

  • Image Classification (CIFAR-10)
  • Image Question Answering (VQAv2)
  • Image Retrieval (MS COCO)

Examples for video and visual document tasks are presented in the appendix of technical report

We also provide an end-to-end multimodal RAG example using Qwen3-VL-Embedding, Qwen3-VL-Reranker and Qwen3-VL here.

Reranking Model

We provide comprehensive examples here demonstrating various tasks across different modalities:

Text Tasks:

  • Text Retrieval (MS MARCO)

Image Tasks:

  • Image Retrieval (MS COCO)

Model Performance

Embedding Model

Evaluation Results on MMEB-V2

Results on the MMEB-V2 benchmark. All models except IFM-TTE have been re-evaluated on the updated VisDoc OOD split. CLS: classification, QA: question answering, RET: retrieval, GD: grounding, MRET: moment retrieval, VDR: ViDoRe, VR: VisRAG, OOD: out-of-distribution.

Model Model Size Image CLS Image QA Image RET Image GD Image Overall Video CLS Video QA Video RET Video MRET Video Overall VisDoc VDRv1 VisDoc VDRv2 VisDoc VR VisDoc OOD VisDoc Overall All
# of Datasets → 10 10 12 4 36 5 5 5 3 18 10 4 6 4 24 78
VLM2Vec 2B 58.7 49.3 65.0 72.9 59.7 33.4 30.5 20.6 30.7 28.6 49.8 13.5 51.8 48.2 44.0 47.7
VLM2Vec-V2 2B 62.9 56.3 69.5 77.3 64.9 39.3 34.3 28.8 36.8 34.6 75.5 44.9 79.4 62.2 69.2 59.2
GME-2B 2B 54.4 29.9 66.9 55.5 51.9 34.9 42.0 25.6 31.1 33.6 86.1 54.0 82.5 67.5 76.8 55.3
GME-7B 7B 57.7 34.7 71.2 59.3 56.0 37.4 50.4 28.4 37.0 38.4 89.4 55.6 85.0 68.3 79.3 59.1
Ops-MM-embedding-v1 8B 69.7 69.6 73.1 87.2 72.7 59.7 62.2 45.7 43.2 53.8 80.1 59.6 79.3 67.8 74.4 68.9
IFM-TTE 8B 76.7 78.5 74.6 89

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言