Feature Extraction
Transformers
Safetensors
sentence-transformers
English
qwen3_5
image-text-to-text
multimodal-embedding
image-text-retrieval
visual-document-retrieval
custom_code
Instructions to use UCSC-VLAA/OpenEmbed-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use UCSC-VLAA/OpenEmbed-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="UCSC-VLAA/OpenEmbed-4B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("UCSC-VLAA/OpenEmbed-4B", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("UCSC-VLAA/OpenEmbed-4B", trust_remote_code=True, device_map="auto") - sentence-transformers
How to use UCSC-VLAA/OpenEmbed-4B with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("UCSC-VLAA/OpenEmbed-4B", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Add a link bar and the paper's overview figure to the card
Browse filesLinks to the project page, the paper, the code, the data, and the Colab demo under the title; the paper's Figure 1 (assets/teaser.png) after the introduction; the code and data links filled in. The weights and the other files are unchanged.
- .gitattributes +1 -0
- README.md +14 -2
- assets/teaser.png +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/teaser.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -15,13 +15,25 @@ language:
|
|
| 15 |
|
| 16 |
# OpenEmbed-4B
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
OpenEmbed is a family of multimodal embedding models at 0.8B, 2B, 4B, and 9B parameters, released with their post-training data, training code, and cached teacher embeddings. As of November 2026, OpenEmbed-4B scores higher on both the image and the visual-document tracks than any model of its size or smaller on the [MMEB-V2 leaderboard](https://huggingface.co/spaces/TIGER-Lab/MMEB-Leaderboard) that releases its training data and training code. One model embeds text, images, visual documents, and image–text combinations into one space. Each input is formatted as a single user turn that ends with an `<embedding>` token, and the L2-normalized final hidden state at that token is the embedding (2,560 dimensions for OpenEmbed-4B).
|
| 19 |
|
| 20 |
OpenEmbed-4B is fine-tuned from [Qwen/Qwen3.5-4B-Base](https://huggingface.co/Qwen/Qwen3.5-4B-Base) in two stages. Stage 1 trains LoRA adapters on the language model and the vision tower with a contrastive loss over 109 curated datasets. Stage 2 widens the language-model adapters and adds decoupled distillation from cached embeddings of two open-weight teachers, Qwen3-VL-Embedding-8B and WeMM-Embedding-9B. The adapters are merged into the released weights.
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
- **Paper:** OpenEmbed: A Family of Frontier Multimodal Embedding Models with Open Data, Code, and Weights (link to be added)
|
| 23 |
-
- **Training data and teacher embeddings:**
|
| 24 |
-
- **Training and evaluation code:**
|
| 25 |
- **Models:** [OpenEmbed-0.8B](https://huggingface.co/UCSC-VLAA/OpenEmbed-0.8B) · [OpenEmbed-2B](https://huggingface.co/UCSC-VLAA/OpenEmbed-2B) · [OpenEmbed-4B](https://huggingface.co/UCSC-VLAA/OpenEmbed-4B) · [OpenEmbed-9B](https://huggingface.co/UCSC-VLAA/OpenEmbed-9B)
|
| 26 |
|
| 27 |
## Results
|
|
|
|
| 15 |
|
| 16 |
# OpenEmbed-4B
|
| 17 |
|
| 18 |
+
<p align="center">
|
| 19 |
+
<a href="https://ucsc-vlaa.github.io/OpenEmbed/"><b>🌐 Project page</b></a> ·
|
| 20 |
+
<b>📄 Paper</b> (arXiv, soon) ·
|
| 21 |
+
<a href="https://github.com/UCSC-VLAA/OpenEmbed"><b>💻 Code</b></a> ·
|
| 22 |
+
<a href="https://huggingface.co/datasets/UCSC-VLAA/OpenEmbed-Data"><b>🗂️ Data</b></a> ·
|
| 23 |
+
<a href="https://colab.research.google.com/github/UCSC-VLAA/OpenEmbed/blob/main/examples/retrieval_demo.ipynb"><b>▶️ Colab demo</b></a>
|
| 24 |
+
</p>
|
| 25 |
+
|
| 26 |
OpenEmbed is a family of multimodal embedding models at 0.8B, 2B, 4B, and 9B parameters, released with their post-training data, training code, and cached teacher embeddings. As of November 2026, OpenEmbed-4B scores higher on both the image and the visual-document tracks than any model of its size or smaller on the [MMEB-V2 leaderboard](https://huggingface.co/spaces/TIGER-Lab/MMEB-Leaderboard) that releases its training data and training code. One model embeds text, images, visual documents, and image–text combinations into one space. Each input is formatted as a single user turn that ends with an `<embedding>` token, and the L2-normalized final hidden state at that token is the embedding (2,560 dimensions for OpenEmbed-4B).
|
| 27 |
|
| 28 |
OpenEmbed-4B is fine-tuned from [Qwen/Qwen3.5-4B-Base](https://huggingface.co/Qwen/Qwen3.5-4B-Base) in two stages. Stage 1 trains LoRA adapters on the language model and the vision tower with a contrastive loss over 109 curated datasets. Stage 2 widens the language-model adapters and adds decoupled distillation from cached embeddings of two open-weight teachers, Qwen3-VL-Embedding-8B and WeMM-Embedding-9B. The adapters are merged into the released weights.
|
| 29 |
|
| 30 |
+
<p align="center"><img src="assets/teaser.png" width="100%" alt="What leading embedding models release, MMEB-V2 image score by model size, and image and document retrieval against embedding APIs"></p>
|
| 31 |
+
|
| 32 |
+
<sub>(a) What leading embedding models release. (b) MMEB-V2 image score by model size; * reproduced by us. (c) DOCCI text-to-image R@1 and ViDoRe V3 nDCG@10 (8 public sets, English queries); r: reported results, p: recomputed from public per-query results, others measured by us.</sub>
|
| 33 |
+
|
| 34 |
- **Paper:** OpenEmbed: A Family of Frontier Multimodal Embedding Models with Open Data, Code, and Weights (link to be added)
|
| 35 |
+
- **Training data and teacher embeddings:** [UCSC-VLAA/OpenEmbed-Data](https://huggingface.co/datasets/UCSC-VLAA/OpenEmbed-Data)
|
| 36 |
+
- **Training and evaluation code:** [UCSC-VLAA/OpenEmbed](https://github.com/UCSC-VLAA/OpenEmbed)
|
| 37 |
- **Models:** [OpenEmbed-0.8B](https://huggingface.co/UCSC-VLAA/OpenEmbed-0.8B) · [OpenEmbed-2B](https://huggingface.co/UCSC-VLAA/OpenEmbed-2B) · [OpenEmbed-4B](https://huggingface.co/UCSC-VLAA/OpenEmbed-4B) · [OpenEmbed-9B](https://huggingface.co/UCSC-VLAA/OpenEmbed-9B)
|
| 38 |
|
| 39 |
## Results
|
assets/teaser.png
ADDED
|
Git LFS Details
|