Downloads · 30 days
11
3% of all-time downloads
MarketaJu/siglip2-person-description-64
siglip2-person-description-64 is a machine learning model from MarketaJu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is part of the family of reduced-dimension variants of google/siglip-base-patch16-224 and google/siglip2-base-patch16-224 finetuned for person visual description. It reduces the original embedding dimension…
Downloads · 30 days
11
3% of all-time downloads
All-time downloads
341
Public
Parameters
375M
3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.5 GB · 100%
From the Hugging Face model README
This model is part of the family of reduced-dimension variants of google/siglip-base-patch16-224 and google/siglip2-base-patch16-224 finetuned for person visual description. It reduces the original embedding dimension to a smaller space using trainable linear projection layers.
google/siglip2-base-patch16-224reduced_dim.K ranks (e.g., top-10). Unlike MRR or strict top-1 accuracy, this metric rewards consistent retrieval of all relevant matches near the top ranks, rather than a few perfect hits with others ranked very low.The splits are created as follows:
The model is evaluated on data mentioned above. The following table summarizes the number of identities, images, and queries for each subset.
The final test set is a merge of all subsets.
| Dataset | #Identities | #Images | #Queries |
|---|---|---|---|
| CUHK | 1000 | 3074 | 6156 |
| ICFG | 946 | 19848 | 19873 |
| IIITD | 2500 | 2500 | 5000 |
| ITCPR | 1000 | 1620 | 1620 |
| PRW | 450 | 2057 | 4114 |
| PETA | 1706 | 3933 | 4614 |
| RSTPReid | 200 | 1000 | 1932 |
| SYNTH | 1000 | 1000 | 1000 |
| Final (All) | 8802 | 35032 | 44309 |
Since the task is focused on retrieving the correct person identity rather than the exact matching image, the evaluation is performed as follows:
| Dataset | Top-1 | Top-5 | Top-10 | MRR | CMC AUC (20) |
|---|---|---|---|---|---|
| CUHK | 62.4 | 86.4 | 91.8 | 71.4 | 90.7 |
| ICFG | 51.1 | 76.1 | 83.6 | 60.1 | 82.6 |
| IIITD | 65.2 | 88.6 | 93.3 | 75.6 | 92.3 |
| ITCPR | 37.7 | 64.1 | 76.2 | 48.8 | 76.0 |
| PRW | 56.6 | 83.3 | 90.7 | 67.0 | 89.2 |
| PETA | 47.6 | 75.8 | 88.2 | 58.1 | 85.6 |
| RSTPReid | 47.4 | 75.5 | 85.2 | 57.8 | 83.5 |
| SYNTH | 42.7 | 69.0 | 78.3 | 54.8 | 77.2 |
| Final (All) | 49.0 | 73.8 | 81.7 | 58.6 | 80.5 |
Model based on google/siglip-base-patch16-224:
| Model Variant | Top-1 | Top-5 | Top-10 | MRR | CMC AUC (20) |
|---|---|---|---|---|---|
| google/siglip-base-patch16-224 | 16.4 | 33.1 | 41.4 | 23.8 | 41.1 |
| siglip-person-description-64 | 49.0 | 74.1 | 81.4 | 58.8 | 80.5 |
Model based on google/siglip2-base-patch16-224:
| Model Variant | Top-1 | Top-5 | Top-10 | MRR | CMC AUC (20) |
|---|---|---|---|---|---|
| google/siglip2-base-patch16-224 | 12.3 | 26.3 | 34.2 | 18.7 | 34.2 |
| finetuned_siglip2 | 53.8 | 77.0 | 83.8 | 62.6 | 82.8 |
| siglip2-person-description-128 | 51.0 | 75.0 | 82.4 | 60.4 | 81.4 |
| siglip2-person-description-64 | 49.0 | 73.8 | 81.7 | 58.6 | 80.5 |
| siglip2-person-description-32 | 43.1 | 70.0 | 78.2 | 53.5 | 77.3 |
The usage is identical to SigLIP.
# Import custom model code from repository
from modeling_resipvd import ReSiPVDModel
# Load the model from Hugging Face Hub
processor = AutoProcessor.from_pretrained("google/siglip2-base-patch16-224")
model = AutoModel.from_pretrained("MarketaJu/siglip2-person-description-64")
# Example: get embeddings
from skimage.io import imread
image = imread("test.jpg")
text_inputs = processor(text=["random person description"], return_tensors="pt", padding="max_length", max_length=64, truncation=True)
image_inputs = processor(images=image, return_tensors="pt", padding="max_length", max_length=64, truncation=True)
text_embeds = model.get_text_features(**text_inputs)
image_embeds = model.get_image_features(**image_inputs)
---
## Citation
If you use this model, please cite:
```bibtex
@misc{reduced-siglip-visualdescription,
title={Reduced SigLIP for Visual Descriptions},
author={Marketa Jurankova},
year={2025},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/MarketaJu/reduced-siglip}}
}