TIGER-Lab / VLM2Vec-Qwen2VL-7B

huggingface.co
Total runs: 923
24-hour runs: 0
7-day runs: -616
30-day runs: -10.3K
Model's Last Updated: May 04 2025
image-to-text

Introduction of VLM2Vec-Qwen2VL-7B

Model Details of VLM2Vec-Qwen2VL-7B

A new checkpoint trained using Qwen/Qwen2-VL-7B-Instruct with an enhanced training setup (LoRA tuning, batch size of 2048, maximum sub-dataset size of 100k). This model has shown significantly improved performance on MMEB & Flickr30K compared to the previous models using Phi-3.5 and llava-v1.6-mistral as backbone.

This repo contains the code and data for VLM2Vec: Training Vision-Language Models for Massive Multimodal Embedding Tasks . In this paper, we focus on building a unified multimodal embedding model suitable for a wide range of tasks. Our approach is based on transforming an existing, well-trained Vision-Language Model (VLM) into an embedding model.

Github
Data

Our model is being trained on MMEB-train and evaluated on MMEB-eval with contrastive learning. We only use in-batch negatives for training.

Performance

This model outperforms the baselines and previous version of VLM2Vec by a large margin.

image/png

How to use VLM2Vec

(More details please refer to our Github repo, here is just a simple demo.)

First you can clone our github

git clone https://github.com/TIGER-AI-Lab/VLM2Vec.git
pip -r requirements.txt
from src.model import MMEBModel
from src.arguments import ModelArguments
from src.utils import load_processor

import torch
from transformers import HfArgumentParser, AutoProcessor
from PIL import Image
import numpy as np


model_args = (
    model_name='TIGER-Lab/VLM2Vec-Qwen2VL',
    pooling='last',
    normalize=True,
    model_backbone='qwen2_vl')

processor = load_processor(model_args)

model = MMEBModel.load(model_args)
model.eval()
model = model.to('cuda', dtype=torch.bfloat16)

# Image + Text -> Text
inputs = processor(text='<image> Represent the given image with the following question: What is in the image',
                   images=Image.open('figures/example.jpg'),
                   return_tensors="pt")
inputs = {key: value.to('cuda') for key, value in inputs.items()}
qry_output = model(qry=inputs)["qry_reps"]

string = 'A cat and a dog'
inputs = processor(text=string,
                   images=None,
                   return_tensors="pt")
inputs = {key: value.to('cuda') for key, value in inputs.items()}
tgt_output = model(tgt=inputs)["tgt_reps"]
print(string, '=', model.compute_similarity(qry_output, tgt_output))
## A cat and a dog = tensor([[0.4414]], device='cuda:0', dtype=torch.bfloat16)

string = 'A cat and a tiger'
inputs = processor(text=string,
                   images=None,
                   return_tensors="pt")
inputs = {key: value.to('cuda') for key, value in inputs.items()}
tgt_output = model(tgt=inputs)["tgt_reps"]
print(string, '=', model.compute_similarity(qry_output, tgt_output))
## A cat and a tiger = tensor([[0.3555]], device='cuda:0', dtype=torch.bfloat16)
Citation
@article{jiang2024vlm2vec,
  title={VLM2Vec: Training Vision-Language Models for Massive Multimodal Embedding Tasks},
  author={Jiang, Ziyan and Meng, Rui and Yang, Xinyi and Yavuz, Semih and Zhou, Yingbo and Chen, Wenhu},
  journal={arXiv preprint arXiv:2410.05160},
  year={2024}
}

Runs of TIGER-Lab VLM2Vec-Qwen2VL-7B on huggingface.co

923
Total runs
0
24-hour runs
-118
3-day runs
-616
7-day runs
-10.3K
30-day runs

More Information About VLM2Vec-Qwen2VL-7B huggingface.co Model

More VLM2Vec-Qwen2VL-7B license Visit here:

https://choosealicense.com/licenses/apache-2.0

VLM2Vec-Qwen2VL-7B huggingface.co

VLM2Vec-Qwen2VL-7B huggingface.co is an AI model on huggingface.co that provides VLM2Vec-Qwen2VL-7B's model effect (), which can be used instantly with this TIGER-Lab VLM2Vec-Qwen2VL-7B model. huggingface.co supports a free trial of the VLM2Vec-Qwen2VL-7B model, and also provides paid use of the VLM2Vec-Qwen2VL-7B. Support call VLM2Vec-Qwen2VL-7B model through api, including Node.js, Python, http.

VLM2Vec-Qwen2VL-7B huggingface.co Url

https://huggingface.co/TIGER-Lab/VLM2Vec-Qwen2VL-7B

TIGER-Lab VLM2Vec-Qwen2VL-7B online free

VLM2Vec-Qwen2VL-7B huggingface.co is an online trial and call api platform, which integrates VLM2Vec-Qwen2VL-7B's modeling effects, including api services, and provides a free online trial of VLM2Vec-Qwen2VL-7B, you can try VLM2Vec-Qwen2VL-7B online for free by clicking the link below.

TIGER-Lab VLM2Vec-Qwen2VL-7B online free url in huggingface.co:

https://huggingface.co/TIGER-Lab/VLM2Vec-Qwen2VL-7B

VLM2Vec-Qwen2VL-7B install

VLM2Vec-Qwen2VL-7B is an open source model from GitHub that offers a free installation service, and any user can find VLM2Vec-Qwen2VL-7B on GitHub to install. At the same time, huggingface.co provides the effect of VLM2Vec-Qwen2VL-7B install, users can directly use VLM2Vec-Qwen2VL-7B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

VLM2Vec-Qwen2VL-7B install url in huggingface.co:

https://huggingface.co/TIGER-Lab/VLM2Vec-Qwen2VL-7B

Url of VLM2Vec-Qwen2VL-7B

VLM2Vec-Qwen2VL-7B huggingface.co Url

Provider of VLM2Vec-Qwen2VL-7B huggingface.co

TIGER-Lab
ORGANIZATIONS

Other API from TIGER-Lab

huggingface.co

Total runs: 2.9K
Run Growth: 2.5K
Growth Rate: 86.16%
Updated:October 14 2025
huggingface.co

Total runs: 925
Run Growth: 320
Growth Rate: 34.59%
Updated:December 06 2023
huggingface.co

Total runs: 877
Run Growth: 323
Growth Rate: 36.83%
Updated:December 06 2023
huggingface.co

Total runs: 520
Run Growth: 462
Growth Rate: 88.85%
Updated:January 09 2025
huggingface.co

Total runs: 129
Run Growth: -491
Growth Rate: -380.62%
Updated:July 15 2026
huggingface.co

Total runs: 127
Run Growth: -510
Growth Rate: -401.57%
Updated:July 15 2026
huggingface.co

Total runs: 74
Run Growth: -520
Growth Rate: -702.70%
Updated:July 15 2026
huggingface.co

Total runs: 49
Run Growth: -573
Growth Rate: -1169.39%
Updated:July 15 2026
huggingface.co

Total runs: 49
Run Growth: -583
Growth Rate: -1189.80%
Updated:July 15 2026
huggingface.co

Total runs: 19
Run Growth: -14
Growth Rate: -73.68%
Updated:November 08 2024