CoolFace
Modelpublic

Sohaibsoussi/ViT-NIH-Chest-X-ray-dataset-small

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

ViT-NIH-Chest-X-ray-dataset-small

This model is a fine-tuned version of Sohaibsoussi/ViT-NIH-Chest-X-ray-dataset-small on the Sohaibsoussi/NIH-Chest-X-ray-dataset-small dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.6731
  • —Accuracy: 0.2189

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: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 9
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossAccuracy
0.02710.36901000.03470.8584
0.03340.73802000.02910.8624
0.04381.10703000.03520.8607
0.02151.47604000.03190.8746
0.02671.84505000.02770.8798
0.02662.21406000.01770.9116
0.0142.58307000.01270.9497
0.02072.95208000.01440.9410
0.01153.32109000.00970.9653
0.01133.690010000.00770.9711
0.00544.059011000.00680.9844
0.00474.428012000.00460.9850
0.00564.797013000.00400.9902
0.00265.166114000.00320.9925
0.00375.535115000.00270.9936
0.00395.904116000.00230.9977
0.00196.273117000.00190.9971
0.00196.642118000.00170.9988
0.00167.011119000.00151.0
0.0027.380120000.00141.0
0.00137.749121000.00141.0
0.00158.118122000.00131.0
0.00118.487123000.00131.0
0.00138.856124000.00131.0

Framework versions

  • —Transformers 4.46.3
  • —Pytorch 2.4.0
  • —Datasets 3.1.0
  • —Tokenizers 0.20.3