CoolFace
Modelpublic

selmamalak/chest-vit-base-finetuned

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

chest-vit-base-finetuned

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:

  • Loss: 0.1026
  • Accuracy: 0.9622
  • Precision: 0.9506
  • Recall: 0.9596
  • F1: 0.9549

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.005
  • 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
  • num_epochs: 10
  • mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
0.2110.99630.11400.96050.94010.96160.9501
0.19111.991270.15170.93300.89890.94830.9186
0.16953.01910.11630.95790.93540.96090.9471
0.15564.02550.11590.95710.96690.92200.9417
0.1734.993180.11660.95020.92290.95780.9381
0.14855.993820.08250.97170.95780.97020.9638
0.18547.04460.08780.97170.95780.97020.9638
0.13538.05100.10600.95880.93510.96470.9484
0.11968.995730.08820.96910.95270.96950.9607
0.12189.886300.09820.96390.94190.97030.9548

Framework versions

  • PEFT 0.9.0
  • Transformers 4.38.2
  • Pytorch 2.2.1+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2