CoolFace
Modelpublic

DrishtiSharma/finetuned-ViT-Indian-Food-Classification-v3

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

finetuned-ViT-Indian-Food-Classification-v3

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

  • —Loss: 0.2878
  • —Accuracy: 0.9384

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

Training results

Training LossEpochStepValidation LossAccuracy
1.19130.31000.93070.8395
0.68460.62000.56500.8852
0.57830.93000.51470.8895
0.56351.24000.53100.8650
0.44871.55000.41550.8980
0.28031.86000.38480.9012
0.44962.17000.43080.8852
0.40712.48000.40040.8905
0.37472.79000.37950.8927
0.26653.010000.36180.8927
0.36963.311000.35880.8990
0.28083.612000.37940.8884
0.1583.913000.34160.9054
0.20624.214000.36860.8916
0.20394.515000.32190.9118
0.23924.816000.33920.9086
0.12765.1117000.32490.9192
0.18125.4118000.29700.9245
0.13525.7119000.33660.9118
0.13336.0120000.31110.9203
0.1896.3121000.36040.9139
0.10486.6122000.34960.9171
0.09136.9123000.30460.9224
0.16787.2124000.31540.9288
0.07057.5125000.32290.9235
0.10577.8126000.28950.9330
0.12198.1127000.29840.9299
0.05218.4128000.30830.9288
0.11818.7129000.30200.9288
0.13399.0130000.28850.9373
0.23939.3131000.28950.9277
0.10449.6132000.29120.9362
0.0969.9133000.28780.9384

Framework versions

  • —Transformers 4.21.2
  • —Pytorch 1.12.1+cu113
  • —Datasets 2.4.0
  • —Tokenizers 0.12.1