CoolFace
Modelpublic

dwiedarioo/vit-base-patch16-224-in21k-finalmultibrainmri

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

dwiedarioo/vit-base-patch16-224-in21k-finalmultibrainmri

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.1240
  • —Train Accuracy: 0.9989
  • —Train Top-3-accuracy: 1.0
  • —Validation Loss: 0.2638
  • —Validation Accuracy: 0.9568
  • —Validation Top-3-accuracy: 0.9892
  • —Epoch: 10

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: {'inneroptimizer': {'module': 'transformers.optimizationtf', 'classname': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learningrate': {'module': 'keras.optimizers.schedules', 'classname': 'PolynomialDecay', 'config': {'initiallearningrate': 3e-05, 'decaysteps': 8200, 'endlearningrate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registeredname': None}, 'decay': 0.0, 'beta1': 0.8999999761581421, 'beta2': 0.9990000128746033, 'epsilon': 1e-08, 'amsgrad': False, 'weightdecayrate': 0.01}, 'registeredname': 'AdamWeightDecay'}, 'dynamic': True, 'initialscale': 32768.0, 'dynamicgrowth_steps': 2000}
  • —trainingprecision: mixedfloat16

Training results

Train LossTrain AccuracyTrain Top-3-accuracyValidation LossValidation AccuracyValidation Top-3-accuracyEpoch
2.25010.39370.63461.87630.55510.80350
1.54480.68080.87321.36660.71270.88121
1.04710.83240.94390.97320.84020.95682
0.70740.93850.98280.70780.92660.98493
0.48540.97480.99240.51900.93740.98924
0.34650.99050.99620.41260.94820.99355
0.25710.99500.99810.32670.97190.99576
0.20310.99620.99920.27880.97410.99577
0.16670.99851.00.24840.96980.99578
0.13980.99921.00.22250.97190.99579
0.12400.99891.00.26380.95680.989210

Framework versions

  • —Transformers 4.35.0
  • —TensorFlow 2.14.0
  • —Datasets 2.14.6
  • —Tokenizers 0.14.1