Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-3
This model is a fine-tuned version of microsoft/beit-base-patch16-224-pt22k-ft22k on the medmnist-v2 dataset. It achieves the following results on the evaluation set:
- Loss: 0.0959
- Accuracy: 0.9675
- Precision: 0.9699
- Recall: 0.9563
- F1: 0.9624
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
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
---|---|---|---|---|---|---|---|
0.6111 | 1.0 | 196 | 0.2234 | 0.9263 | 0.9152 | 0.9217 | 0.9176 |
0.4753 | 2.0 | 392 | 0.2720 | 0.9079 | 0.9087 | 0.8889 | 0.8926 |
0.3784 | 3.0 | 588 | 0.3404 | 0.8781 | 0.8878 | 0.8615 | 0.8577 |
0.369 | 4.0 | 784 | 0.1866 | 0.9360 | 0.9255 | 0.9269 | 0.9260 |
0.3364 | 5.0 | 980 | 0.2512 | 0.9088 | 0.8925 | 0.9073 | 0.8935 |
0.3197 | 6.0 | 1176 | 0.1647 | 0.9412 | 0.9342 | 0.9392 | 0.9347 |
0.2958 | 7.0 | 1372 | 0.1357 | 0.9482 | 0.9442 | 0.9428 | 0.9430 |
0.1802 | 8.0 | 1568 | 0.1116 | 0.9588 | 0.9560 | 0.9534 | 0.9542 |
0.1938 | 9.0 | 1764 | 0.1016 | 0.9640 | 0.9656 | 0.9557 | 0.9598 |
0.1621 | 10.0 | 1960 | 0.0959 | 0.9675 | 0.9699 | 0.9563 | 0.9624 |
Framework versions
- PEFT 0.15.2
- Transformers 4.52.4
- Pytorch 2.6.0+cu124
- Datasets 3.6.0
- Tokenizers 0.21.2
- Downloads last month
- 4
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support
Model tree for selmamalak/beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-3
Base model
microsoft/beit-base-patch16-224-pt22k-ft22k