CoolFace
Modelpublic

Neruoy/swin-finetuned-food101

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

swin-finetuned-food101

This model is a fine-tuned version of microsoft/swin-base-patch4-window7-224 on the food101 dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4401
  • —Accuracy: 0.9220

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

Training results

Training LossEpochStepValidation LossAccuracy
0.05791.011830.41900.9102
0.01292.023660.41790.9155
0.00763.035490.42190.9198
0.01974.047320.44870.9160
0.01045.059150.44140.9210
0.00076.070980.44010.9220
0.00217.082810.44010.9220
0.00158.094640.44010.9220
0.00569.0106470.44010.9220
0.001910.0118300.44010.9220

Framework versions

  • —Transformers 4.25.1
  • —Pytorch 1.13.0+cu116
  • —Datasets 2.7.1
  • —Tokenizers 0.13.2