CoolFace
Modelpublic

AykeeSalazar/violation-classification-bantai-vit-v100ep

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

violation-classification-bantai-vit-v100ep

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

  • —Loss: 0.2557
  • —Accuracy: 0.9157

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: 5e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 128
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 100

Training results

Training LossEpochStepValidation LossAccuracy
0.28111.01010.28550.9027
0.23822.02020.27630.9085
0.23613.03030.26050.9109
0.1964.04040.26520.9110
0.13955.05050.26480.9134
0.1556.06060.26560.9152
0.14227.07070.26070.9141
0.15118.08080.25570.9157
0.19389.09090.26790.9049
0.209410.010100.23920.9137
0.183511.011110.24000.9156

Framework versions

  • —Transformers 4.17.0
  • —Pytorch 1.10.0+cu111
  • —Datasets 2.0.0
  • —Tokenizers 0.11.6