CoolFace
Modelpublic

kabboabb/vit-base-oxford-iiit-pets

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes14downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

vit-base-oxford-iiit-pets

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:

  • —Loss: 0.2023
  • —Accuracy: 0.9459

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 0.0003
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 5

Training results

Training LossEpochStepValidation LossAccuracy
0.38781.03700.29210.9215
0.21882.07400.22600.9269
0.18323.011100.21360.9283
0.144.014800.20500.9323
0.13225.018500.20300.9323

Framework versions

  • —Transformers 4.50.0
  • —Pytorch 2.6.0+cu124
  • —Datasets 3.4.1
  • —Tokenizers 0.21.1

Key Figures of the transfer learning model:

  • —'eval_loss': 0.20226821303367615,
  • —'eval_accuracy': 0.945872801082544,
  • —'eval_runtime': 10.8017,
  • —'evalsamplesper_second': 68.415,
  • —'evalstepsper_second': 8.61,
  • —'epoch': 5.0}

Key Figures of the Zero Shot model:

  • —Accuracy: 0.8800
  • —Precision: 0.8768
  • —Recall: 0.8800