Complete inference checkpoint: frozen Qwen3.5 vision tower, frozen
lightonai/mDenseOn
text backbone, and a learned projector plus image delimiters.
Outputs normalized 768-dimensional vectors for text queries and page images.
Includes 409,894,144 model parameters. No training code, datasets or caches.
Checkpoint
7,500
, selected by the best completed public ViDoRe v3
score:
43.01 macro nDCG@10
across eight corpora and six query
languages. This benchmark was used for selection; it is not an untouched test.
Trained on approximately 273k multilingual VDR positive pairs, with frozen
backbones and Matryoshka contrastive training. No retraining was performed.
Frozen backbone weights use the BF16 values used during training and evaluation.
Backbone pins are recorded in
config.json
.
Requires Python 3.12, Transformers >=5.16.1, Sentence Transformers >=6.0.1,
PyTorch, Pillow and safetensors. BF16 CUDA inference matches the evaluated recipe.
Read the included small inference files before allowing custom code.
Sentence Transformers
from PIL import Image
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("AdrienB134/gelato-mdenseon", trust_remote_code=True, device="cuda")
queries = model.encode_query(["Find the page showing annual revenue."], convert_to_tensor=True)
pages = model.encode([Image.open("page.png")], convert_to_tensor=True, batch_size=1)
scores = queries @ pages.T
encode()
accepts homogeneous batches of strings or PIL images. Text defaults to
the retrieval query prompt.
encode_query()
uses the query prompt;
encode_document()
uses the frozen text backbone's document prompt. Images use
the trained multimodal path. Mixed text/image batches and video are not supported.
Start with a small image batch and increase it according to GPU memory.
Hugging Face Transformers
from PIL import Image
import torch
from transformers import AutoModel, AutoProcessor
repo = "AdrienB134/gelato-mdenseon"
processor = AutoProcessor.from_pretrained(repo, trust_remote_code=True)
model = AutoModel.from_pretrained(repo, trust_remote_code=True, dtype=torch.bfloat16).to("cuda").eval()
text = processor(text=["Find the page showing annual revenue."]).to("cuda")
image = processor(images=[Image.open("page.png")]).to("cuda")
with torch.inference_mode():
queries = model(**text).embeddings
pages = model(**image).embeddings
scores = queries @ pages.T
All weights, tokenizer and image processor are bundled. After downloading, both
interfaces load from the local directory with
local_files_only=True
and Hub
offline mode. No GELATO package or original backbone repository is required.
Images preserve aspect ratio within the original 262,144–1,310,720 pixel budget
(256–1,280 merged visual tokens). Text pooling, image-sequence framing, prompts
and normalization preserve the evaluated checkpoint. The unused language model
inside the original Qwen3.5 vision checkpoint is omitted; all vision-tower weights
are preserved. Source authors and licenses are documented in
NOTICE
.
Runs of AdrienB134 gelato-mdenseon on huggingface.co
26
Total runs
0
24-hour runs
1
3-day runs
4
7-day runs
7
30-day runs
More Information About gelato-mdenseon huggingface.co Model
gelato-mdenseon huggingface.co is an AI model on huggingface.co that provides gelato-mdenseon's model effect (), which can be used instantly with this AdrienB134 gelato-mdenseon model. huggingface.co supports a free trial of the gelato-mdenseon model, and also provides paid use of the gelato-mdenseon. Support call gelato-mdenseon model through api, including Node.js, Python, http.
gelato-mdenseon huggingface.co is an online trial and call api platform, which integrates gelato-mdenseon's modeling effects, including api services, and provides a free online trial of gelato-mdenseon, you can try gelato-mdenseon online for free by clicking the link below.
AdrienB134 gelato-mdenseon online free url in huggingface.co:
gelato-mdenseon is an open source model from GitHub that offers a free installation service, and any user can find gelato-mdenseon on GitHub to install. At the same time, huggingface.co provides the effect of gelato-mdenseon install, users can directly use gelato-mdenseon installed effect in huggingface.co for debugging and trial. It also supports api for free installation.