Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-7
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.0658
- Accuracy: 0.9719
- Precision: 0.9679
- Recall: 0.9710
- F1: 0.9691
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.5346 | 1.0 | 196 | 0.3373 | 0.8780 | 0.8644 | 0.8793 | 0.8533 |
0.4543 | 2.0 | 392 | 0.2438 | 0.9183 | 0.8971 | 0.9144 | 0.9013 |
0.4489 | 3.0 | 588 | 0.2036 | 0.9359 | 0.9317 | 0.9193 | 0.9241 |
0.4064 | 4.0 | 784 | 0.1877 | 0.9306 | 0.9294 | 0.9253 | 0.9257 |
0.3408 | 5.0 | 980 | 0.1681 | 0.9342 | 0.9373 | 0.9131 | 0.9160 |
0.3271 | 6.0 | 1176 | 0.1458 | 0.9500 | 0.9446 | 0.9480 | 0.9449 |
0.2298 | 7.0 | 1372 | 0.0963 | 0.9622 | 0.9565 | 0.9608 | 0.9583 |
0.1865 | 8.0 | 1568 | 0.0960 | 0.9658 | 0.9580 | 0.9611 | 0.9583 |
0.1823 | 9.0 | 1764 | 0.0807 | 0.9649 | 0.9583 | 0.9646 | 0.9609 |
0.1132 | 10.0 | 1960 | 0.0658 | 0.9719 | 0.9679 | 0.9710 | 0.9691 |
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-7
Base model
microsoft/beit-base-patch16-224-pt22k-ft22k