Team Ai
Modelpublic

dukenmarga/image_classification

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

image_classification

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

  • —Loss: 1.1383
  • —Accuracy: 0.6312

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

Training results

Training LossEpochStepValidation LossAccuracy
0.9251.0101.35700.4688
0.83792.0201.16850.5875
0.67373.0301.17950.6
0.46064.0401.13830.6312
0.34165.0501.23930.5687
0.24936.0601.39710.5938
0.23417.0701.35460.6062
0.17978.0801.36810.5938
0.12219.0901.69360.525
0.107710.01001.70080.5375
0.096611.01101.73800.525
0.107312.01201.56170.575
0.084913.01301.61780.6125
0.070414.01401.61440.6125
0.056815.01501.61110.6188
0.055516.01601.59460.6
0.049817.01701.62910.625
0.046418.01801.65740.6188
0.044319.01901.67400.6125
0.042920.02001.67810.6125

Framework versions

  • —Transformers 4.44.2
  • —Pytorch 2.4.0+cu121
  • —Datasets 2.21.0
  • —Tokenizers 0.19.1