BAAI / BGE-VL-base

huggingface.co
Total runs: 1.4K
24-hour runs: 3
7-day runs: 27
30-day runs: -891
Model's Last Updated: April 10 2026
sentence-similarity

Introduction of BGE-VL-base

Model Details of BGE-VL-base

MegaPairs: Massive Data Synthesis For Universal Multimodal Retrieval

Build Build Build

Build Build Build Build

News

2024-3-4 🚀🚀 We have released the BGE-VL-MLLM models on Huggingface: BGE-VL-MLLM-S1 and BGE-VL-MLLM-S2 . BGE-VL-MLLM-S1 is trained exclusively on our MegaPairs dataset, achieving outstanding performance in composed image retrieval, with an 8.1% improvement on the CIRCO benchmark (mAP@5) over the previous state-of-the-art. BGE-VL-MLLM-S2 builds on BGE-VL-MLLM-S1 with an additional epoch of fine-tuning on the MMEB benchmark training set, delivering enhanced performance across a broader range of multimodal embedding tasks.

2024-12-27 🚀🚀 BGE-VL-CLIP models are released on Huggingface: BGE-VL-base and BGE-VL-large .

2024-12-19 🎉🎉 Release our paper: MegaPairs: Massive Data Synthesis For Universal Multimodal Retrieval .

Release Plan
  • Paper
  • BGE-VL-base and BGE-VL-large models
  • BGE-VL-MLLM model
  • MegaPairs Dataset
  • Evaluation code
  • Fine-tuning code
Introduction

In this work, we introduce MegaPairs , a novel data synthesis method that leverages open-domain images to create heterogeneous KNN triplets for universal multimodal retrieval. Our MegaPairs dataset contains over 26 million triplets, and we have trained a series of multimodal retrieval models, BGE-VL , including BGE-VL-CLIP (base and large) and BGE-VL-MLLM.

BGE-VL achieve state-of-the-art performance on four popular zero-shot composed image retrieval benchmarks and the massive multimodal embedding benchmark (MMEB). Extensive experiments demonstrate the efficiency, scalability, and generalization features of MegaPairs. Please refer to our paper for more details.

Model Usage
1. BGE-VL-CLIP Models

You can easily use BGE-VL-CLIP models based on transformers

import torch
from transformers import AutoModel

MODEL_NAME = "BAAI/BGE-VL-base" # or "BAAI/BGE-VL-large"

model = AutoModel.from_pretrained(MODEL_NAME, trust_remote_code=True) # You must set trust_remote_code=True
model.set_processor(MODEL_NAME)
model.eval()

with torch.no_grad():
    query = model.encode(
        images = "./assets/cir_query.png", 
        text = "Make the background dark, as if the camera has taken the photo at night"
    )

    candidates = model.encode(
        images = ["./assets/cir_candi_1.png", "./assets/cir_candi_2.png"]
    )
    
    scores = query @ candidates.T
print(scores)

See the demo for a complete example of using BGE-VL for multimodel retrieval.

2. BGE-VL-MLLM Models
import torch
from transformers import AutoModel
from PIL import Image

MODEL_NAME= "BAAI/BGE-VL-MLLM-S1"

model = AutoModel.from_pretrained(MODEL_NAME, trust_remote_code=True)
model.eval()
model.cuda()

with torch.no_grad():
    model.set_processor(MODEL_NAME)

    query_inputs = model.data_process(
        text="Make the background dark, as if the camera has taken the photo at night", 
        images="./assets/cir_query.png",
        q_or_c="q",
        task_instruction="Retrieve the target image that best meets the combined criteria by using both the provided image and the image retrieval instructions: "
    )

    candidate_inputs = model.data_process(
        images=["./assets/cir_candi_1.png", "./assets/cir_candi_2.png"],
        q_or_c="c",
    )

    query_embs = model(**query_inputs, output_hidden_states=True)[:, -1, :]
    candi_embs = model(**candidate_inputs, output_hidden_states=True)[:, -1, :]
    
    query_embs = torch.nn.functional.normalize(query_embs, dim=-1)
    candi_embs = torch.nn.functional.normalize(candi_embs, dim=-1)

    scores = torch.matmul(query_embs, candi_embs.T)
print(scores)
Model Performance
Zero-Shot Composed Image Retrieval

BGE-VL sets a new performance benchmark in zero-shot composed image retrieval tasks. On the CIRCO benchmark, our BGE-VL-base model, with only 149 million parameters, surpasses all previous models, including those with 50 times more parameters. Additionally, BGE-VL-MLLM achieves an 8.1% improvement over the previous state-of-the-art model.

Zero-Shot Performance on MMEB

BGE-VL-MLLM achieves state-of-the-art zero-shot performance on the Massive Multimodal Embedding Benchmark (MMEB), despite being trained only on the ImageText-to-Image paradigm. This demonstrates the excellent generalization capability of MegaPairs for multimodal embedding.

Fine-Tuning Performance on MMEB

After fine-tuning on downstream tasks, BGE-VL-MLLM maintains its leading performance. Notably, it surpasses the previous state-of-the-art by 7.1% on the MMEB out-of-distribution (OOD) set. These results demonstrate the robust generalization capability of BGE-VL-MLLM and highlight the potential of MegaPairs as foundational training data for universal multimodal embedding.

Performance Scaling

MegaPairs showcases scalability : BGE-VL-base improves as training data increases. It also demonstrates efficiency : with just 0.5M training samples, BGE-VL-base significantly outperforms MagicLens, which uses the same CLIP-base backbone and was trained on 36.7M samples.

License

The annotations for MegaPairs and the BGE-VL models are released under the MIT License . The images in MegaPairs originate from the Recap-Datacomp , which is released under the CC BY 4.0 license.

Citation

If you find this repository useful, please consider giving a star ⭐ and citation

@article{zhou2024megapairs,
  title={MegaPairs: Massive Data Synthesis For Universal Multimodal Retrieval},
  author={Zhou, Junjie and Liu, Zheng and Liu, Ze and Xiao, Shitao and Wang, Yueze and Zhao, Bo and Zhang, Chen Jason and Lian, Defu and Xiong, Yongping},
  journal={arXiv preprint arXiv:2412.14475},
  year={2024}
}

Runs of BAAI BGE-VL-base on huggingface.co

1.4K
Total runs
3
24-hour runs
-1
3-day runs
27
7-day runs
-891
30-day runs

More Information About BGE-VL-base huggingface.co Model

More BGE-VL-base license Visit here:

https://choosealicense.com/licenses/mit

BGE-VL-base huggingface.co

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

BGE-VL-base huggingface.co Url

https://huggingface.co/BAAI/BGE-VL-base

BAAI BGE-VL-base online free

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

BAAI BGE-VL-base online free url in huggingface.co:

https://huggingface.co/BAAI/BGE-VL-base

BGE-VL-base install

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

BGE-VL-base install url in huggingface.co:

https://huggingface.co/BAAI/BGE-VL-base

Url of BGE-VL-base

BGE-VL-base huggingface.co Url

Provider of BGE-VL-base huggingface.co

BAAI
ORGANIZATIONS

Other API from BAAI

huggingface.co

Total runs: 64.9M
Run Growth: -2.3M
Growth Rate: -3.50%
Updated:February 22 2024
huggingface.co

Total runs: 37.9M
Run Growth: 5.7M
Growth Rate: 14.98%
Updated:July 03 2024
huggingface.co

Total runs: 10.7M
Run Growth: 692.1K
Growth Rate: 6.46%
Updated:February 21 2024
huggingface.co

Total runs: 2.1M
Run Growth: 1.6M
Growth Rate: 77.39%
Updated:April 17 2024
huggingface.co

Total runs: 817.1K
Run Growth: -688.8K
Growth Rate: -84.30%
Updated:October 12 2023
huggingface.co

Total runs: 289.8K
Run Growth: -1.2M
Growth Rate: -411.73%
Updated:December 13 2023
huggingface.co

Total runs: 68.3K
Run Growth: 10.2K
Growth Rate: 14.90%
Updated:July 13 2026
huggingface.co

Total runs: 61.8K
Run Growth: -111.4K
Growth Rate: -180.07%
Updated:October 12 2023
huggingface.co

Total runs: 48.1K
Run Growth: -49.5K
Growth Rate: -102.83%
Updated:October 12 2023
huggingface.co

Total runs: 45.0K
Run Growth: 19.8K
Growth Rate: 44.08%
Updated:November 14 2023
huggingface.co

Total runs: 37.0K
Run Growth: -23.9K
Growth Rate: -64.57%
Updated:January 15 2025
huggingface.co

Total runs: 30.9K
Run Growth: 2.2K
Growth Rate: 7.01%
Updated:October 12 2023
huggingface.co

Total runs: 16.0K
Run Growth: 3.1K
Growth Rate: 19.49%
Updated:April 16 2025
huggingface.co

Total runs: 11.8K
Run Growth: -13.1K
Growth Rate: -110.68%
Updated:October 12 2023
huggingface.co

Total runs: 5.4K
Run Growth: 4.9K
Growth Rate: 89.13%
Updated:April 19 2024
huggingface.co

Total runs: 4.4K
Run Growth: -10.7K
Growth Rate: -243.32%
Updated:May 20 2025
huggingface.co

Total runs: 2.8K
Run Growth: 1.9K
Growth Rate: 66.71%
Updated:March 01 2026
huggingface.co

Total runs: 1.8K
Run Growth: 986
Growth Rate: 54.60%
Updated:December 31 2022
huggingface.co

Total runs: 1.8K
Run Growth: 777
Growth Rate: 44.22%
Updated:January 15 2025
huggingface.co

Total runs: 1.4K
Run Growth: -887
Growth Rate: -65.61%
Updated:April 10 2026
huggingface.co

Total runs: 1.3K
Run Growth: 281
Growth Rate: 21.27%
Updated:February 07 2024
huggingface.co

Total runs: 1.2K
Run Growth: 670
Growth Rate: 55.88%
Updated:October 23 2024
huggingface.co

Total runs: 1.1K
Run Growth: -558
Growth Rate: -49.16%
Updated:November 28 2024
huggingface.co

Total runs: 1.1K
Run Growth: 69
Growth Rate: 6.51%
Updated:August 07 2025
huggingface.co

Total runs: 1.0K
Run Growth: 708
Growth Rate: 69.55%
Updated:October 24 2024
huggingface.co

Total runs: 883
Run Growth: 241
Growth Rate: 27.29%
Updated:May 23 2025
huggingface.co

Total runs: 606
Run Growth: -234
Growth Rate: -38.61%
Updated:July 13 2026
huggingface.co

Total runs: 503
Run Growth: -677
Growth Rate: -134.59%
Updated:April 18 2023
huggingface.co

Total runs: 492
Run Growth: -395
Growth Rate: -80.28%
Updated:December 25 2025
huggingface.co

Total runs: 460
Run Growth: -106
Growth Rate: -23.04%
Updated:July 13 2026
huggingface.co

Total runs: 453
Run Growth: 169
Growth Rate: 37.31%
Updated:April 10 2026
huggingface.co

Total runs: 428
Run Growth: -108
Growth Rate: -25.23%
Updated:October 27 2023
huggingface.co

Total runs: 424
Run Growth: 205
Growth Rate: 48.35%
Updated:July 13 2026
huggingface.co

Total runs: 403
Run Growth: -539
Growth Rate: -133.75%
Updated:August 11 2026
huggingface.co

Total runs: 388
Run Growth: -243
Growth Rate: -62.63%
Updated:December 25 2025
huggingface.co

Total runs: 383
Run Growth: -11
Growth Rate: -2.87%
Updated:August 11 2026
huggingface.co

Total runs: 314
Run Growth: -3.4K
Growth Rate: -1081.53%
Updated:April 10 2026
huggingface.co

Total runs: 312
Run Growth: 21
Growth Rate: 6.73%
Updated:July 13 2026
huggingface.co

Total runs: 303
Run Growth: 120
Growth Rate: 39.60%
Updated:July 13 2026
huggingface.co

Total runs: 296
Run Growth: 6
Growth Rate: 2.03%
Updated:April 10 2026
huggingface.co

Total runs: 291
Run Growth: -82
Growth Rate: -28.18%
Updated:March 07 2024
huggingface.co

Total runs: 284
Run Growth: 216
Growth Rate: 76.06%
Updated:August 18 2026
huggingface.co

Total runs: 248
Run Growth: 4
Growth Rate: 1.61%
Updated:February 11 2025
huggingface.co

Total runs: 220
Run Growth: -63
Growth Rate: -28.64%
Updated:June 06 2025
huggingface.co

Total runs: 211
Run Growth: -80
Growth Rate: -37.91%
Updated:October 23 2024
huggingface.co

Total runs: 211
Run Growth: 35
Growth Rate: 16.59%
Updated:July 13 2026
huggingface.co

Total runs: 209
Run Growth: -146
Growth Rate: -69.86%
Updated:July 17 2026
huggingface.co

Total runs: 204
Run Growth: -146
Growth Rate: -71.57%
Updated:July 13 2026
huggingface.co

Total runs: 192
Run Growth: -22
Growth Rate: -11.46%
Updated:April 10 2026
huggingface.co

Total runs: 181
Run Growth: -164
Growth Rate: -90.61%
Updated:May 13 2024
huggingface.co

Total runs: 180
Run Growth: -107
Growth Rate: -59.44%
Updated:July 13 2026
huggingface.co

Total runs: 176
Run Growth: 29
Growth Rate: 16.48%
Updated:April 02 2024
huggingface.co

Total runs: 166
Run Growth: -30
Growth Rate: -18.07%
Updated:May 13 2024
huggingface.co

Total runs: 165
Run Growth: -36
Growth Rate: -21.82%
Updated:May 31 2024
huggingface.co

Total runs: 164
Run Growth: -32
Growth Rate: -19.51%
Updated:May 13 2024
huggingface.co

Total runs: 158
Run Growth: -1.1K
Growth Rate: -712.03%
Updated:June 24 2024
huggingface.co

Total runs: 153
Run Growth: -44
Growth Rate: -28.76%
Updated:July 13 2026
huggingface.co

Total runs: 143
Run Growth: 65
Growth Rate: 45.45%
Updated:August 23 2023
huggingface.co

Total runs: 141
Run Growth: -97
Growth Rate: -68.79%
Updated:July 13 2026
huggingface.co

Total runs: 140
Run Growth: 140
Growth Rate: 100.00%
Updated:September 05 2026
huggingface.co

Total runs: 135
Run Growth: -42
Growth Rate: -31.11%
Updated:July 13 2026
huggingface.co

Total runs: 134
Run Growth: 33
Growth Rate: 24.63%
Updated:July 02 2024