Fully open post-training
51M curated query–target pairs from 109 public datasets, each record with its provenance; cached teacher embeddings; the training code and the exact recipe of each released model; weights at four sizes.
Fully open post-training: data, code, and weights
A Family of Frontier Multimodal Embedding Models with Open Data, Code, and Weights
1University of California, Santa Cruz 2University of North Carolina at Chapel Hill 3University of California, Berkeley
TL;DR One model embeds text, images, document pages, and image–text combinations into one space. We release everything the post-training needs, from the 51M curated pairs with their provenance to the exact recipe of every model, and the models are competitive with leading industry embedders.
Leading multimodal embedding models come as APIs or as open weights. Their post-training data, recipes, and code stay closed. OpenEmbed releases all of it.
| Post-training materials | Data | Code | Weights |
|---|---|---|---|
| API onlyGemini, Nova, Voyage, Seed | ✗ | ✗ | ✗ |
| Open weightsWeMM, Qwen, Ovis | ✗ | ✗ | ✓ |
| Open weightsNVIDIA Nemotron 3.5 | ✗ | ◐ | ✓ |
| OpenEmbedFully open | ✓ | ✓ | ✓ |
◐ partly released, ✗ not found.
51M curated query–target pairs from 109 public datasets, each record with its provenance; cached teacher embeddings; the training code and the exact recipe of each released model; weights at four sizes.
As of December 2026, OpenEmbed-9B scores higher on both the image and the visual-document tracks than any model on the MMEB-V2 leaderboard that releases its training data and training code, and the 0.8B, 2B, and 4B models do the same among models of their size or smaller.
OpenEmbed-9B scores 81.1 on the 36 image tasks of MMEB-V2, including a state-of-the-art 97.6 on grounding, and 82.4 on its 24 visual-document tasks. OpenEmbed-2B exceeds the strongest prior fully open 2B model (VLM2Vec-V2) by 14 points on images and 11 on visual documents.
OpenEmbed-9B surpasses the published results of the Google, Amazon, and Voyage embedding APIs on DOCCI and ViDoRe V3.
All four models, with the training data and the web pool, are in the OpenEmbed collection on Hugging Face.
MMEB-V2: Hit@1 over 36 image tasks (Image) and nDCG@5 over 24 visual-document retrieval tasks (VisDoc), with the official Qwen3-VL-Embedding evaluation code. The models load with Transformers or Sentence Transformers without remote code and serve with vLLM; weights under CC BY-NC 4.0.
Image score, the mean Hit@1 over the 36 image tasks of MMEB-V2. * reproduced by us; the other baselines are reported results. Hover a point for its score; click a name to hide or show it. ByteDance's Seed1.6-Embedding (size undisclosed) scores 78.0 on images and 82.4 on visual documents.
| Model | CLS | VQA | RET | GRD | Image | VisDoc |
|---|---|---|---|---|---|---|
| OpenEmbed-0.8B | 67.9 | 74.2 | 74.2 | 96.5 | 74.9 | 78.5 |
| OpenEmbed-2B | 74.1 | 77.8 | 78.1 | 97.5 | 79.1 | 80.5 |
| OpenEmbed-4B | 74.5 | 80.5 | 79.8 | 97.3 | 80.5 | 81.6 |
| OpenEmbed-9B | 75.7 | 81.0 | 80.1 | 97.6 | 81.1 | 82.4 |
MMEB-V2 Hit@1 by task family: CLS classification (10 tasks), VQA visual question answering (10),
RET retrieval (12), GRD grounding (4); Image is the mean over all 36, VisDoc the mean nDCG@5 over 24
visual-document tasks. scripts/eval_mmeb_v2.sh in the code repository reproduces them in one
command.
DOCCI test text-to-image Recall@1 and ViDoRe V3 nDCG@10 (8 public sets, English queries). r: reported results; p: recomputed from public per-query results; the others measured by us.
Searches with the released OpenEmbed-2B and the instructions on its model card: each query with its top three candidates and their cosine similarity. The examples were chosen before scoring, and the scores come from one run.
“A close up, top-down view of a white circular plate with sliced white onions.”
0.62✓
0.33
0.26“An outdoor daytime angled down close-up right side view of a small dark gray rabbit facing towards the right side, and looking straight ahead.”
0.46✓
0.34
0.26“An indoors, upward angled view of a large brown ring chandelier with empty green glass bottles aligned on top.”
0.59✓
0.31
0.28“A whale shark swimming near the surface of an aquarium.”
0.60✓
0.32
0.28“A close up view on a cream colored wall with a rectangular black restroom sign with white text and silhouette icons on the inside.”
0.54✓
0.39
0.37“A close-up shot of a utility pole. The pole is half silver metal on the left and a dark wood with dark wood grain lines on its right side.”
0.46✓
0.34
0.32Each query is the opening of a photo's description in DOCCI; the candidates are 21 DOCCI test photos drawn at random. ✓ marks the described photo.








Zero-shot classification: 8 DOCCI test photos with one clear subject, each against 12 class names embedded as plain text (dog, cat, bird, flower, car, bicycle, cake, clock, boat, bridge, train, bus). ✓ marks the photo's class.
How do the error-handling mechanisms of the find() and index() string methods compare when a substring is not found in Python?Introduction to Python Programming, OpenStax, CC BY 4.0
Who operates the nodes in the Tor network?Introduction to Computer Science, OpenStax, CC BY 4.0
What were the strengths available for Olmesartan Medoxomil pills in the 2017 fiscal year?A U.S. FDA presentation on generic drugs, 2017, public domain
By what percent did the proportion of opioid-related deaths involving benzodiazepine change from 2004 to 2011?A U.S. FDA presentation on abuse-deterrent opioids, 2017, public domain
Which country in Europe had the highest self-employment rate?Annual Report on Intra-EU Labour Mobility 2024, Publications Office of the EU, CC BY 4.0
What combination is used for the "pick-mattock" as per the NAVAIR manual?Technical Order 32-1-101, U.S. Air Force, approved for public release
0.52✓U.S. Air Force
0.42U.S. Air Force
0.40U.S. Air Force6 English questions from ViDoRe V3 (computer science, hr, industrial, pharmaceuticals) against 24 pages: each question's relevant page and three other pages of the same document. Every page links to its document. ✓ marks the relevant page.
Photos: DOCCI (Onoe et al., 2024), CC BY 4.0. Questions: ViDoRe V3, CC BY 4.0. Pages: OpenStax textbooks (CC BY 4.0), U.S. FDA presentations (public domain), a report of the Publications Office of the European Union (CC BY 4.0), and a U.S. Air Force technical order (approved for public release).
Classification labels, VQA answers, captions, document questions, and image edits become query–target pairs with task instructions and explicit negatives.
LoRA adapters on the language model and the vision tower, trained with a contrastive loss over the 109 curated datasets. The 9B model also samples 13 web-pool datasets of DataComp-1B images.
Wider language-model adapters and distillation from cached embeddings of Qwen3-VL-Embedding-8B and WeMM-Embedding-9B.
<embedding> token; the embedding is
the L2-normalized final hidden state at that token.109 curated datasets in seven groups. Sampling weights, not dataset sizes, set the mixture: the image-editing corpora hold the most records, while the MMEB splits and the added sources supply most of what stage 1 presents.
Records in the released curated corpus, and the pairs that the final 2B recipe's stage 1 presents (repeats included). Hover a segment for its numbers. The 9B model's stage 1 also samples the web pool.
Each card opens the dataset's folder in OpenEmbed-Data, which describes its source, license, and rebuild. Rebuilds exactly: the loader rebuilds the training records byte for byte from the original source; approximately: from the source's images, which our training copies had re-encoded; images included: the folder carries the images.
OpenEmbed-2B with Sentence Transformers, every input with the instruction it was trained with: ranked results, a similarity map, zero-shot labels, document pages, and a search box for your own words. It runs on a free T4, with about 10 GB of GPU memory in float32.
Open in Colabpip install torch torchvision "transformers>=5.15.0" "sentence-transformers>=5.7.0"
import torch
from PIL import Image
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("UCSC-VLAA/OpenEmbed-2B", model_kwargs={"dtype": torch.bfloat16})
queries = model.encode([
"Find me an everyday image that matches the given caption: A brown dog running on a beach.",
"Find a document image that matches the given query. What was the revenue in 2023?",
])
candidates = model.encode([
{"image": Image.open("dog.jpg"), "text": "Represent the given image."},
{"image": Image.open("annual_report_page.png")},
])
print(model.similarity(queries, candidates))
Use transformers 5.15 or later with Sentence Transformers: older versions keep the position offsets of the last batch with images and can fail on a later batch without images.
import torch
import torch.nn.functional as F
from PIL import Image
from transformers import AutoModel, AutoProcessor
model_id = "UCSC-VLAA/OpenEmbed-2B"
processor = AutoProcessor.from_pretrained(model_id, use_fast=False)
model = AutoModel.from_pretrained(model_id, dtype=torch.bfloat16).cuda().eval()
def embed(inputs):
"""inputs: dicts with an optional "image" (a PIL.Image) and an optional "text"."""
texts, images = [], []
for x in inputs:
content = [{"type": "image"}] if x.get("image") is not None else []
if x.get("text") or not content:
content.append({"type": "text", "text": x.get("text", "")})
texts.append(processor.apply_chat_template([{"role": "user", "content": content}], tokenize=False))
if x.get("image") is not None:
images.append(x["image"])
batch = processor(text=texts, images=images or None, padding=True, return_tensors="pt").to(model.device)
model.rope_deltas = None # transformers < 5.15 would reuse the last image batch's value
with torch.inference_mode():
hidden = model(**batch).last_hidden_state
last = batch["attention_mask"].sum(dim=1) - 1 # the <embedding> token
rows = torch.arange(hidden.size(0), device=hidden.device)
return F.normalize(hidden[rows, last].float(), dim=-1) # shape (len(inputs), 2048)
queries = embed([
{"text": "Find me an everyday image that matches the given caption: A brown dog running on a beach."},
{"text": "Find a document image that matches the given query. What was the revenue in 2023?"},
])
candidates = embed([
{"image": Image.open("dog.jpg"), "text": "Represent the given image."},
{"image": Image.open("annual_report_page.png")},
])
print(queries @ candidates.T)
hf download UCSC-VLAA/OpenEmbed-2B --local-dir OpenEmbed-2B
vllm serve OpenEmbed-2B --runner pooling --chat-template OpenEmbed-2B/embedding_chat_template.jinja \
--limit-mm-per-prompt.video=0
# then, in Python
import base64
import requests
def image_url(path):
return "data:image/jpeg;base64," + base64.b64encode(open(path, "rb").read()).decode()
response = requests.post("http://localhost:8000/v1/embeddings", json={
"model": "OpenEmbed-2B",
"messages": [{"role": "user", "content": [
{"type": "image_url", "image_url": {"url": image_url("dog.jpg")}},
{"type": "text", "text": "Represent the given image."},
]}],
"encoding_format": "float",
})
embedding = response.json()["data"][0]["embedding"]
No remote code is needed. Each model card lists the instruction of every task and how close each path is to our evaluation.
@article{liu2026openembed,
title = {{OpenEmbed}: A Family of Frontier Multimodal Embedding Models with Open Data, Code, and Weights},
author = {Liu, Yanqing and Zhang, Letian and Yao, Huaxiu and Zheng, Zeyu and Zhou, Yuyin and Xie, Cihang},
journal = {arXiv preprint arXiv:2612.02432},
year = {2026}
}