Downloads · 30 days
0
itsJasminZWIN/chihiro-classifier
chihiro-classifier is a image classification model from itsJasminZWIN. Use it when you need a label for an image. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of google/vit-base-patch16-224 trained on a small, custom binary classification dataset consisting of images labeled either "chihiro" or "not chihiro" (from Studio Ghibli films).
Downloads · 30 days
0
Access
Public
Updated May 24, 2025
Repo size
343 MB
Likes
0
Public
Click a slice to open those files.
.pth343 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google/vit-base-patch16-224 trained on a small, custom binary classification dataset consisting of images labeled either "chihiro" or "not chihiro" (from Studio Ghibli films).
It was trained using PyTorch with transfer learning on a dataset of approximately 148 images.
The model classifies images into one of two categories: Chihiro or Not Chihiro. It uses a Vision Transformer (ViT) backbone with a custom classification head for binary output. Data augmentation was used during training to improve generalization. Techniques included random horizontal flip, rotation (30°), color jitter, and random resized crop.
Intended Uses:
Limitations:
imagefolder formatThe following hyperparameters were used during training:
| Epoch | Train Loss | Train Acc | Val Loss | Val Acc |
|---|---|---|---|---|
| 1 | 0.8325 | 58.47% | 0.7285 | 46.67% |
| 2 | 0.6038 | 55.08% | 0.6931 | 60.00% |
| 3 | 0.6047 | 67.80% | 0.6170 | 66.67% |
| 4 | 0.4854 | 77.97% | 0.7272 | 66.67% |
| 5 | 0.3989 | 79.66% | 0.5494 | 66.67% |
| 6 | 0.3091 | 88.14% | 0.4649 | 86.67% |
| 7 | 0.2651 | 88.98% | 0.5736 | 73.33% |
| 8 | 0.2043 | 94.07% | 0.5335 | 73.33% |
| 9 | 0.2668 | 87.29% | 0.5765 | 80.00% |
| 10 | 0.2408 | 87.29% | 0.5346 | 73.33% |
| 11 | 0.1047 | 95.76% | 0.4125 | 73.33% |
| 12 | 0.1297 | 94.07% | 0.4084 | 86.67% |
Test Loss: 0.3677Test Accuracy: 0.7333Evaluated using openai/clip-vit-base-patch32 with no fine-tuning:
Zero-shot Accuracy: 86.67%Precision: 0.8909Recall: 0.8667