CoolFace
Modelpublic

Salmamoori/vit-fine-tune-classification-cats-vs-dogs

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes3downloads
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. -->

<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>

vit-fine-tune-classification-cats-vs-dogs

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

  • —Loss: 0.6934
  • —Accuracy: 0.0476

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: 2e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 10
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.69721.012500.69330.4944
0.69552.025000.69580.4944
0.69443.037500.69390.4944
0.69434.050000.69930.5056
0.6955.062500.69470.4944
0.69466.075000.69370.4944
0.69387.087500.69310.4944
0.69358.0100000.69320.4944
0.69379.0112500.69300.5056
0.693210.0125000.69320.5052

Framework versions

  • —Transformers 4.42.3
  • —Pytorch 2.3.0+cu118
  • —Datasets 2.20.0
  • —Tokenizers 0.19.1