Gender-Classifier-Mini is an image classification vision-language encoder model fine-tuned from google/siglip2-base-patch16-224 for a single-label classification task. It is designed to classify images based on gender using the SiglipForImageClassification architecture.
Accuracy: 0.9720
F1 Score: 0.9720
Classification Report:
precision recall f1-score support
Female 0.9660 0.9796 0.9727 2549
Male 0.9785 0.9641 0.9712 2451
accuracy 0.9720 5000
macro avg 0.9722 0.9718 0.9720 5000
weighted avg 0.9721 0.9720 0.9720 5000
The model categorizes images into two classes:
- Class 0:"Female "
-Class 1:"Male "
Run with Transformers
!pip install -q transformers torch pillow gradio