Downloads · 30 days
25
2% of all-time downloads
SliMM-X/CoMP-SigLIP-So400M
CoMP-SigLIP-So400M is a image feature extraction model from SliMM-X. Use it for the image feature extraction task on the model card, and read the license before you ship it in a product. It is set up for slimm. The card lists the license as apache-2.0.
This is an VFM that supports <bnative image resolution inputs</b, continually pre-trained from SigLIP.
Downloads · 30 days
25
2% of all-time downloads
All-time downloads
1.4K
Public
Parameters
413M
1.7 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.7 GB · 100%
From the Hugging Face model README
This is an VFM that supports <b>native image resolution inputs</b>, continually pre-trained from SigLIP.
Install the github repo, and use the code below to get started with the model.
import torch
from slimm.model.processor import SliMMQwen2VLProcessor
from slimm.model.utils_vl import process_vision_info
from slimm.model.vision_encoder import CoMPSiglipVisionModel
from PIL import Image
model_path = "SliMM-X/CoMP-SigLIP-So400M"
model = CoMPSiglipVisionModel.from_pretrained(
model_path, torch_dtype="auto", device_map="cuda", w_merger=False
).to(torch.bfloat16)
processor = SliMMQwen2VLProcessor.from_pretrained(model_path)
image_input = Image.open("https://slimm-x.github.io/comp/figs/teaser.png")
inputs = processor(
images=image_input,
return_tensors="pt",
)
inputs = inputs.to("cuda")
output_feat = model(inputs.pixel_values.to(torch.bfloat16), inputs.image_grid_thw)
print(output_feat)
BibTeX:
@article{comp2025,
title={CoMP: Continual Multimodal Pre-training for Vision Foundation Models},
author={Chen, Yitong and Meng, Lingchen and Peng, Wujian and Wu, Zuxuan and Jiang, Yu-Gang},
year={2025},
journal={arXiv preprint arXiv:2503.18931},
}