CoolFace
Modelpublic

aaa12963337/msi-vit-small-1218-2

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

msi-vit-small-1218-2

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

  • Loss: 1.3372
  • Accuracy: 0.6164
  • F1: 0.3276
  • Precision: 0.6841
  • Recall: 0.2154

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-06
  • 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: 10

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.43671.010080.66030.65720.53130.65300.4478
0.21612.020160.80210.63290.49890.61180.4211
0.1693.030241.40620.60100.26530.65920.1661
0.15434.040321.14980.62590.36700.69030.2499
0.15345.050401.50670.62080.35190.68080.2373
0.15966.060480.88370.65040.65050.57440.7498
0.15047.070561.00300.63020.41920.65800.3075
0.17958.080641.39080.59530.29500.60410.1952
0.16369.090721.10400.62900.46190.62300.3671
0.162910.0100801.33720.61640.32760.68410.2154

Framework versions

  • Transformers 4.36.0
  • Pytorch 2.0.1+cu117
  • Datasets 2.15.0
  • Tokenizers 0.15.0