Introduction of siglip2-base-patch16-512-deu-32768
Model Details of siglip2-base-patch16-512-deu-32768
siglip2-base-patch16-512-deu-32768
This model is a
45.62%
smaller version of
google/siglip2-base-patch16-512
optimized for
German
language via vocabulary size reduction using the
trimming
method.
This trimmed model should perform similarly to the original model with only 32,768 tokens and a much smaller memory footprint. However, it may not perform well for other languages as tokens not commonly used in the selected languages were removed from the vocabulary.
from transformers import pipeline
# load pipeline
image_classifier = pipeline(model="alphaedge-ai/siglip2-base-patch16-512-deu-32768", task="zero-shot-image-classification")
# load image and candidate labels
image = "http://images.cocodataset.org/val2017/000000039769.jpg"
candidate_labels = ["Potential label 1 in German", "Potential label 2 in German", "Potential label 3 in German", "Potential label 4 in German"]
# run inference
outputs = image_classifier(image, candidate_labels)
print(outputs)
Sentence-transformers (texts-images similarity)
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("alphaedge-ai/siglip2-base-patch16-512-deu-32768")
images = [
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/car.jpg",
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg",
"https://huggingface.co/datasets/huggingface/cats-image/resolve/main/cats_image.jpeg"
]
texts = ["Text 1 in German", "Text 2 in German", "Text 3 in German", "Text 4 in German"]
image_embeddings = model.encode(images)
text_embeddings = model.encode(texts)
print(image_embeddings.shape, text_embeddings.shape)
similarities = model.similarity(image_embeddings, text_embeddings)
print(similarities)
Citations
SigLIP 2
@misc{tschannen2025siglip2multilingualvisionlanguage,
title={SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features},
author={Michael Tschannen and Alexey Gritsenko and Xiao Wang and Muhammad Ferjad Naeem and Ibrahim Alabdulmohsin and Nikhil Parthasarathy and Talfan Evans and Lucas Beyer and Ye Xia and Basil Mustafa and Olivier Hénaff and Jeremiah Harmsen and Andreas Steiner and Xiaohua Zhai},
year={2025},
eprint={2502.14786},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2502.14786},
}
Trimming blog post
@misc{hf_blogpost_trimming,
title={Introduction to Trimming},
author={Loïck BOURDOIS and Tom AARSEN and Bram VANROY and Christopher AKIKI and Woojun JUNG and Manuel ROMERO and Prithiv SAKTHI},
year={2026},
url={https://huggingface.co/blog/lbourdois/introduction-to-trimming},
}
Runs of alphaedge-ai siglip2-base-patch16-512-deu-32768 on huggingface.co
203
Total runs
0
24-hour runs
1
3-day runs
1
7-day runs
197
30-day runs
More Information About siglip2-base-patch16-512-deu-32768 huggingface.co Model
More siglip2-base-patch16-512-deu-32768 license Visit here:
siglip2-base-patch16-512-deu-32768 huggingface.co is an AI model on huggingface.co that provides siglip2-base-patch16-512-deu-32768's model effect (), which can be used instantly with this alphaedge-ai siglip2-base-patch16-512-deu-32768 model. huggingface.co supports a free trial of the siglip2-base-patch16-512-deu-32768 model, and also provides paid use of the siglip2-base-patch16-512-deu-32768. Support call siglip2-base-patch16-512-deu-32768 model through api, including Node.js, Python, http.
siglip2-base-patch16-512-deu-32768 huggingface.co is an online trial and call api platform, which integrates siglip2-base-patch16-512-deu-32768's modeling effects, including api services, and provides a free online trial of siglip2-base-patch16-512-deu-32768, you can try siglip2-base-patch16-512-deu-32768 online for free by clicking the link below.
alphaedge-ai siglip2-base-patch16-512-deu-32768 online free url in huggingface.co:
siglip2-base-patch16-512-deu-32768 is an open source model from GitHub that offers a free installation service, and any user can find siglip2-base-patch16-512-deu-32768 on GitHub to install. At the same time, huggingface.co provides the effect of siglip2-base-patch16-512-deu-32768 install, users can directly use siglip2-base-patch16-512-deu-32768 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
siglip2-base-patch16-512-deu-32768 install url in huggingface.co: