CoolFace
Modelpublic

leopuv/cats_vs_dogs_classifier

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes13downloads
Model Card

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

leopuv/catsvsdogs_classifier

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

  • —Train Loss: 0.0285
  • —Train Accuracy: 0.9865
  • —Validation Loss: 0.0340
  • —Validation Accuracy: 0.9865
  • —Epoch: 9

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:

  • —optimizer: {'name': 'AdamWeightDecay', 'learningrate': {'classname': 'PolynomialDecay', 'config': {'initiallearningrate': 3e-05, 'decaysteps': 80000, 'endlearningrate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta1': 0.9, 'beta2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weightdecay_rate': 0.01}
  • —training_precision: float32

Training results

Train LossTrain AccuracyValidation LossValidation AccuracyEpoch
0.17390.97150.07870.97150
0.07440.9840.04320.98401
0.05430.98950.03650.98952
0.04200.98850.03460.98853
0.04020.98550.04140.98554
0.03780.98850.03070.98855
0.03060.98550.03750.98556
0.03430.9870.04020.98707
0.02830.98750.03810.98758
0.02850.98650.03400.98659

Framework versions

  • —Transformers 4.31.0
  • —TensorFlow 2.12.0
  • —Datasets 2.13.1
  • —Tokenizers 0.13.3