Configuration Parsing
Warning:
In adapter_config.json: "peft.task_type" must be a string
deit-base-patch16-224-bloodmnist-fold-12
This model is a fine-tuned version of facebook/deit-base-patch16-224 on the medmnist-v2 dataset. It achieves the following results on the evaluation set:
- Loss: 0.0754
- Accuracy: 0.9710
- Precision: 0.9665
- Recall: 0.9660
- F1: 0.9660
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.468 | 1.0 | 196 | 0.3461 | 0.8701 | 0.8721 | 0.8417 | 0.8428 |
0.4016 | 2.0 | 392 | 0.3219 | 0.8753 | 0.8789 | 0.8456 | 0.8462 |
0.4073 | 3.0 | 588 | 0.2034 | 0.9315 | 0.9290 | 0.9072 | 0.9137 |
0.3868 | 4.0 | 784 | 0.1332 | 0.9491 | 0.9461 | 0.9390 | 0.9419 |
0.2573 | 5.0 | 980 | 0.1325 | 0.9491 | 0.9435 | 0.9376 | 0.9402 |
0.2611 | 6.0 | 1176 | 0.1575 | 0.9421 | 0.9429 | 0.9306 | 0.9314 |
0.1976 | 7.0 | 1372 | 0.1302 | 0.9552 | 0.9535 | 0.9447 | 0.9452 |
0.1492 | 8.0 | 1568 | 0.1051 | 0.9631 | 0.9557 | 0.9596 | 0.9567 |
0.1295 | 9.0 | 1764 | 0.0833 | 0.9684 | 0.9604 | 0.9647 | 0.9622 |
0.1472 | 10.0 | 1960 | 0.0754 | 0.9710 | 0.9665 | 0.9660 | 0.9660 |
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
- 5
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support
Model tree for selmamalak/deit-base-patch16-224-bloodmnist-fold-12
Base model
facebook/deit-base-patch16-224