Downloads · 30 days
7
17% of all-time downloads
blaxe191/vit-base-oxford-iiit-pets
vit-base-oxford-iiit-pets is a image classification model from blaxe191. 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.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
7
17% of all-time downloads
All-time downloads
42
Public
Parameters
85.8M
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors343 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of google/vit-base-patch16-224 on the pcuenq/oxford-pets dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3957 | 1.0 | 370 | 0.3339 | 0.9147 |
| 0.2076 | 2.0 | 740 | 0.2593 | 0.9215 |
| 0.1858 | 3.0 | 1110 | 0.2356 | 0.9350 |
| 0.1483 | 4.0 | 1480 | 0.2266 | 0.9337 |
| 0.1376 | 5.0 | 1850 | 0.2237 | 0.9337 |
This evaluation compares the fine-tuned ViT model to a zero-shot approach using openai/clip-vit-base-patch32.
The model was evaluated on 100 samples from the Oxford-IIIT Pet dataset.
| Metric | Score |
|---|---|
| Accuracy | 88.00% |
| Precision | 87.68% |
| Recall | 88.00% |
Evaluation notebook: oxford_pets_zero_shot.ipynb