Feature Extraction
Transformers
Safetensors
qwen2_5_vl
image-text-to-text
embedding
multimodal
vision-language
mmeb
mveb
Instructions to use HugC/VisME-Qwen25VL-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HugC/VisME-Qwen25VL-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="HugC/VisME-Qwen25VL-7B")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("HugC/VisME-Qwen25VL-7B") model = AutoModelForMultimodalLM.from_pretrained("HugC/VisME-Qwen25VL-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -13,39 +13,39 @@ library_name: transformers
|
|
| 13 |
|
| 14 |
# VisME (Qwen2.5-VL-7B)
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
-
**VisME**
|
| 19 |
|
| 20 |
<p align="center">
|
| 21 |
<img src="assets/teaser.jpg" alt="VisME teaser" width="95%">
|
| 22 |
</p>
|
| 23 |
|
| 24 |
-
##
|
| 25 |
|
| 26 |
-
- **
|
| 27 |
-
- **
|
| 28 |
|
| 29 |
-
##
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
<p align="center">
|
| 34 |
<img src="assets/performance.jpg" alt="VisME performance on MMEB and MVEB" width="95%">
|
| 35 |
</p>
|
| 36 |
|
| 37 |
-
##
|
| 38 |
|
| 39 |
-
VisME
|
| 40 |
|
| 41 |
-
|
|
| 42 |
-
|------|------|
|
| 43 |
-
| [**MMEB-v1**](https://github.com/TIGER-AI-Lab/VLM2Vec) |
|
| 44 |
-
| [**MVEB**](https://chrisclear3.github.io/MVEB/) |
|
| 45 |
|
| 46 |
-
**MVEB**
|
| 47 |
|
| 48 |
-
##
|
| 49 |
|
| 50 |
```python
|
| 51 |
import torch
|
|
@@ -79,9 +79,9 @@ batch = [
|
|
| 79 |
]
|
| 80 |
|
| 81 |
with torch.no_grad():
|
| 82 |
-
embeddings = model.encode_input(batch) #
|
| 83 |
|
| 84 |
-
#
|
| 85 |
# SpiderMan_comic_E616 <-> SpiderMan_promo_E199999
|
| 86 |
# SpiderMan_comic_E616 <-> Toxin
|
| 87 |
# SpiderMan_promo_E199999 <-> Toxin
|
|
@@ -91,13 +91,13 @@ for i in range(len(names)):
|
|
| 91 |
print(f"cosine_similarity({names[i]}, {names[j]}) = {sim:.4f}")
|
| 92 |
```
|
| 93 |
|
| 94 |
-
##
|
| 95 |
|
| 96 |
-
MMEB
|
| 97 |
|
| 98 |
-
##
|
| 99 |
|
| 100 |
-
|
| 101 |
|
| 102 |
```bibtex
|
| 103 |
@inproceedings{cao2026illuminating,
|
|
@@ -109,6 +109,6 @@ MMEB 与 MVEB 的基准评测代码**即将发布**。在此之前,完整的
|
|
| 109 |
}
|
| 110 |
```
|
| 111 |
|
| 112 |
-
##
|
| 113 |
|
| 114 |
-
|
|
|
|
| 13 |
|
| 14 |
# VisME (Qwen2.5-VL-7B)
|
| 15 |
|
| 16 |
+
English | [简体中文](README-zh.md)
|
| 17 |
|
| 18 |
+
**VisME** is a universal multimodal embedding model from our CVPR 2026 paper [*Illuminating Visual Identity in Universal Multimodal Embeddings*](https://openaccess.thecvf.com/content/CVPR2026/html/Cao_Illuminating_Visual_Identity_in_Universal_Multimodal_Embeddings_CVPR_2026_paper.html). Built on [Qwen2.5-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct), VisME produces dense embeddings for images, text, and image–text pairs, with strong performance on both general multimodal benchmarks (**MMEB**) and identity-centric retrieval (**MVEB**).
|
| 19 |
|
| 20 |
<p align="center">
|
| 21 |
<img src="assets/teaser.jpg" alt="VisME teaser" width="95%">
|
| 22 |
</p>
|
| 23 |
|
| 24 |
+
## Highlights
|
| 25 |
|
| 26 |
+
- **Identity-aware retrieval** — trained with visual-identity supervision via the [MVEB](https://chrisclear3.github.io/MVEB/) benchmark (4 meta-tasks, 28 test subsets).
|
| 27 |
+
- **Strong general capability** — jointly trained on **MMEB-v1** and **MVEB**, maintaining competitive performance on standard MMEB tasks.
|
| 28 |
|
| 29 |
+
## Performance
|
| 30 |
|
| 31 |
+
Results on **MMEB** (Cls / VQA / Ret / Grd) and **MVEB** (ID-Rec / Re-ID / ID-Grd / ID-Edit). Metrics are reported as in the paper (average Precision@1 across datasets within each task group).
|
| 32 |
|
| 33 |
<p align="center">
|
| 34 |
<img src="assets/performance.jpg" alt="VisME performance on MMEB and MVEB" width="95%">
|
| 35 |
</p>
|
| 36 |
|
| 37 |
+
## Training Data
|
| 38 |
|
| 39 |
+
VisME is trained on a mixture of:
|
| 40 |
|
| 41 |
+
| Benchmark | Role |
|
| 42 |
+
|-----------|------|
|
| 43 |
+
| [**MMEB-v1**](https://github.com/TIGER-AI-Lab/VLM2Vec) | General multimodal embedding tasks (classification, VQA, retrieval, grounding) |
|
| 44 |
+
| [**MVEB**](https://chrisclear3.github.io/MVEB/) | Visual-identity retrieval across recognition, re-ID, grounding, and editing |
|
| 45 |
|
| 46 |
+
The **MVEB** datasets are now open-sourced. Training code will be released soon.
|
| 47 |
|
| 48 |
+
## Usage
|
| 49 |
|
| 50 |
```python
|
| 51 |
import torch
|
|
|
|
| 79 |
]
|
| 80 |
|
| 81 |
with torch.no_grad():
|
| 82 |
+
embeddings = model.encode_input(batch) # shape: (3, 3584), L2-normalized
|
| 83 |
|
| 84 |
+
# Pairwise cosine similarity
|
| 85 |
# SpiderMan_comic_E616 <-> SpiderMan_promo_E199999
|
| 86 |
# SpiderMan_comic_E616 <-> Toxin
|
| 87 |
# SpiderMan_promo_E199999 <-> Toxin
|
|
|
|
| 91 |
print(f"cosine_similarity({names[i]}, {names[j]}) = {sim:.4f}")
|
| 92 |
```
|
| 93 |
|
| 94 |
+
## Evaluation
|
| 95 |
|
| 96 |
+
Benchmark evaluation code for MMEB and MVEB is **coming soon**. In the meantime, please refer to the paper for full experimental settings and baselines.
|
| 97 |
|
| 98 |
+
## Citation
|
| 99 |
|
| 100 |
+
If you find VisME or MVEB useful, please cite:
|
| 101 |
|
| 102 |
```bibtex
|
| 103 |
@inproceedings{cao2026illuminating,
|
|
|
|
| 109 |
}
|
| 110 |
```
|
| 111 |
|
| 112 |
+
## License
|
| 113 |
|
| 114 |
+
This model is built upon [Qwen2.5-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct). Please follow the license terms of the base model and the respective datasets used during training.
|