Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
beit-base-patch16-224-pt22k-ft22k-bloodmnist-fold-6
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.0999
- Accuracy: 0.9666
- Precision: 0.9618
- Recall: 0.9627
- F1: 0.9621
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.566 | 1.0 | 196 | 0.2891 | 0.9034 | 0.8868 | 0.8904 | 0.8815 |
0.5186 | 2.0 | 392 | 0.2405 | 0.9122 | 0.8997 | 0.9056 | 0.9011 |
0.4131 | 3.0 | 588 | 0.1870 | 0.9368 | 0.9266 | 0.9275 | 0.9224 |
0.289 | 4.0 | 784 | 0.2406 | 0.9289 | 0.9206 | 0.9178 | 0.9178 |
0.3198 | 5.0 | 980 | 0.1756 | 0.9377 | 0.9440 | 0.9294 | 0.9346 |
0.3324 | 6.0 | 1176 | 0.1491 | 0.9526 | 0.9449 | 0.9482 | 0.9464 |
0.2449 | 7.0 | 1372 | 0.1243 | 0.9570 | 0.9562 | 0.9445 | 0.9480 |
0.2192 | 8.0 | 1568 | 0.1285 | 0.9561 | 0.9482 | 0.9474 | 0.9460 |
0.1527 | 9.0 | 1764 | 0.1114 | 0.9631 | 0.9627 | 0.9537 | 0.9577 |
0.1421 | 10.0 | 1960 | 0.0999 | 0.9666 | 0.9618 | 0.9627 | 0.9621 |
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-6
Base model
microsoft/beit-base-patch16-224-pt22k-ft22k