Configuration Parsing
		Warning:
	In adapter_config.json: "peft.task_type" must be a string
	
							vit-base-patch16-224-in21k-bloodmnist-fold-11
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.0771
 - Accuracy: 0.9745
 - Precision: 0.9743
 - Recall: 0.9678
 - F1: 0.9709
 
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.4602 | 1.0 | 196 | 0.2090 | 0.9342 | 0.9268 | 0.9163 | 0.9174 | 
| 0.3257 | 2.0 | 392 | 0.2358 | 0.9183 | 0.9052 | 0.9067 | 0.8986 | 
| 0.3013 | 3.0 | 588 | 0.1771 | 0.9306 | 0.9185 | 0.9182 | 0.9166 | 
| 0.3067 | 4.0 | 784 | 0.1563 | 0.9447 | 0.9464 | 0.9352 | 0.9393 | 
| 0.2997 | 5.0 | 980 | 0.1430 | 0.9579 | 0.9510 | 0.9486 | 0.9478 | 
| 0.2255 | 6.0 | 1176 | 0.1101 | 0.9631 | 0.9587 | 0.9606 | 0.9588 | 
| 0.1826 | 7.0 | 1372 | 0.1175 | 0.9614 | 0.9576 | 0.9493 | 0.9524 | 
| 0.1524 | 8.0 | 1568 | 0.0909 | 0.9737 | 0.9738 | 0.9647 | 0.9690 | 
| 0.1466 | 9.0 | 1764 | 0.0844 | 0.9701 | 0.9690 | 0.9615 | 0.9649 | 
| 0.1152 | 10.0 | 1960 | 0.0771 | 0.9745 | 0.9743 | 0.9678 | 0.9709 | 
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
 - -
 
	Inference Providers
	NEW
	
	
	This model isn't deployed by any Inference Provider.
	๐
			
		Ask for provider support
Model tree for selmamalak/vit-base-patch16-224-in21k-bloodmnist-fold-11
Base model
google/vit-base-patch16-224-in21k