CoolFace
Modelpublic

nateraw/vit-base-cats-vs-dogs

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
1likes41downloads
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-cats-vs-dogs

This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the catsvsdogs dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0202
  • —Accuracy: 0.9935

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.0002
  • —trainbatchsize: 64
  • —evalbatchsize: 64
  • —seed: 1337
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 5.0
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.0641.03110.04830.9849
0.06222.06220.02750.9903
0.03663.09330.02620.9917
0.02944.012440.02190.9932
0.01615.015550.02020.9935

Framework versions

  • —Transformers 4.8.1
  • —Pytorch 1.9.0+cu102
  • —Datasets 1.11.1.dev0
  • —Tokenizers 0.10.3