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:
This model is a fine-tuned version of a pre-trained Vision Transformer (google/vit-base-patch16-224) for image classification on the Oxford-IIIT Pet Dataset.
It uses transfer learning to adapt a generic vision model to identify 37 different cat and dog breeds.
The model head is adjusted to output the number of classes in the dataset, and it is trained end-to-end using standard classification loss.
Intended Uses:
Limitations:
The model is trained and evaluated on the Oxford-IIIT Pet Dataset, which contains 7,349 images of cats and dogs spanning 37 different breeds. The dataset includes equal representation of pets and was split into training, validation, and test sets. Evaluation metrics used include accuracy, precision, and recall.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3716 | 1.0 | 370 | 0.3013 | 0.9242 |
| 0.2048 | 2.0 | 740 | 0.2342 | 0.9310 |
| 0.1764 | 3.0 | 1110 | 0.2124 | 0.9350 |
| 0.1617 | 4.0 | 1480 | 0.2050 | 0.9350 |
| 0.1235 | 5.0 | 1850 | 0.2032 | 0.9350 |
Evaluated the Oxford-IIIT Pet dataset using a zero-shot image classification model: openai/clip-vit-base-patch32.
Instead of training, the CLIP model was evaluated using a list of breed names (e.g., "Siamese", "Persian", "Chihuahua") as candidate labels for zero-shot classification.
model.safetensors 343 MBtraining_args.bin 5.4 kB