CoolFace
Modelpublic

fathurim/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.2386
  • Accuracy: 0.5625

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: 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: 30

Training results

Training LossEpochStepValidation LossAccuracy
2.08741.0102.06210.2313
2.0362.0202.03920.2375
1.92973.0301.95920.3
1.77234.0401.78770.3937
1.61845.0501.64750.45
1.54076.0601.55140.4875
1.41977.0701.49670.4938
1.30928.0801.43320.4813
1.12519.0901.44570.4688
1.208110.01001.36030.4938
0.980311.01101.35010.5188
1.010512.01201.32120.55
0.926413.01301.28950.575
0.922914.01401.28820.5188
0.939715.01501.40270.475
0.832216.01601.28240.5312
0.818517.01701.30250.5
0.759218.01801.36290.475
0.741619.01901.32210.5437
0.632320.02001.27140.5563
0.645321.02101.30150.4938
0.604922.02201.30650.5375
0.591923.02301.25790.5375
0.535424.02401.24280.55
0.637925.02501.28840.5375
0.568126.02601.22010.5938
0.427527.02701.31990.4875
0.479128.02801.30270.5312
0.469329.02901.37370.4813
0.552830.03001.33420.4688

Framework versions

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