selmamalak/pneumoniamnist-vit-base-finetuned
05
<!-- 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. -->
pneumoniamnist-vit-base-finetuned
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the medmnist-v2 dataset. It achieves the following results on the evaluation set:
- Loss: 0.1773
- Accuracy: 0.9359
- Precision: 0.9474
- Recall: 0.9179
- F1: 0.9295
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
Framework versions
- PEFT 0.11.1
- Transformers 4.41.1
- Pytorch 2.3.0+cu121
- Datasets 2.19.1
- Tokenizers 0.19.1
