CoolFace
Modelpublic

flatmoon102/fruits_and_vegetables_image_classification

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

fruitsandvegetablesimageclassification

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

  • Loss: 0.3835
  • Accuracy: 0.9159

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

Training results

Training LossEpochStepValidation LossAccuracy
No log1.0871.67510.8768
No log2.01741.02600.8957
No log3.02610.67670.8957
No log4.03480.54450.8986
No log5.04350.46850.9072
0.89556.05220.43280.9072
0.89557.06090.40280.9
0.89558.06960.39580.9145
0.89559.07830.38350.9159
0.895510.08700.38420.9145

Framework versions

  • Transformers 4.34.0
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.5
  • Tokenizers 0.14.0