CoolFace
Modelpublic

Orin27/food_classifier

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes5downloads
Model Card

<!-- This model card has been generated automatically according to the information Keras had access to. You should probably proofread and complete it, then remove this comment. -->

Orin27/food_classifier

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

  • Train Loss: 0.1714
  • Validation Loss: 0.1588
  • Train Accuracy: 0.9469
  • Epoch: 4

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:

  • optimizer: {'name': 'AdamWeightDecay', 'learningrate': {'module': 'keras.optimizers.schedules', 'classname': 'PolynomialDecay', 'config': {'initiallearningrate': 3e-05, 'decaysteps': 4135, 'endlearningrate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registeredname': None}, 'decay': 0.0, 'beta1': 0.9, 'beta2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weightdecayrate': 0.01}
  • training_precision: float32

Training results

Train LossValidation LossTrain AccuracyEpoch
0.74730.44420.90340
0.32850.24430.93721
0.26740.27610.92752
0.23910.24560.92273
0.17140.15880.94694

Framework versions

  • Transformers 4.38.2
  • TensorFlow 2.15.0
  • Datasets 2.18.0
  • Tokenizers 0.15.2