This repository contains the adapter-only SaMer checkpoint for
vidore/colpali-v1.3-hf
.
It does not redistribute the base model weights. The repository stores only the
trained projection layer and custom
trust_remote_code
wrapper needed to apply
SaMer feature-spatial object-aware token merging at inference time.
Usage
import torch
from transformers import AutoModel, AutoProcessor
model = AutoModel.from_pretrained(
"dmis-lab/samer-k64-colpali",
trust_remote_code=True,
).to("cuda").eval()
processor = AutoProcessor.from_pretrained(
model.config.base_model_name_or_path,
trust_remote_code=True,
)
# Build processor inputs with the same convention as the base model.# image_inputs = processor(images=[image], return_tensors="pt").to("cuda")# query_inputs = processor(text=["a query"], return_tensors="pt", padding=True).to("cuda")# image_tokens = model.encode_image(image_inputs) # [B, 64, D]# query_tokens, query_mask = model.encode_query(query_inputs, return_mask=True)# scores = model.score(query_tokens, image_tokens, query_mask=query_mask)
The base model is loaded from
vidore/colpali-v1.3-hf
at runtime. Please follow
the base model license and usage terms.
Citation
@misc{park2026visualtokensmatterequally,
title={Do All Visual Tokens Matter Equally? Object-Evidence Preserving Token Merging for Vision-Language Retrieval},
author={Suhyeong Park and Junha Jung and Jungwoo Park and Jaewoo Kang},
year={2026},
eprint={2607.04605},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2607.04605},
}
Runs of dmis-lab samer-k64-colpali on huggingface.co
9
Total runs
-2
24-hour runs
0
3-day runs
0
7-day runs
-30
30-day runs
More Information About samer-k64-colpali huggingface.co Model
samer-k64-colpali huggingface.co is an AI model on huggingface.co that provides samer-k64-colpali's model effect (), which can be used instantly with this dmis-lab samer-k64-colpali model. huggingface.co supports a free trial of the samer-k64-colpali model, and also provides paid use of the samer-k64-colpali. Support call samer-k64-colpali model through api, including Node.js, Python, http.
samer-k64-colpali huggingface.co is an online trial and call api platform, which integrates samer-k64-colpali's modeling effects, including api services, and provides a free online trial of samer-k64-colpali, you can try samer-k64-colpali online for free by clicking the link below.
dmis-lab samer-k64-colpali online free url in huggingface.co:
samer-k64-colpali is an open source model from GitHub that offers a free installation service, and any user can find samer-k64-colpali on GitHub to install. At the same time, huggingface.co provides the effect of samer-k64-colpali install, users can directly use samer-k64-colpali installed effect in huggingface.co for debugging and trial. It also supports api for free installation.