Configuration Parsing
		Warning:
	In adapter_config.json: "peft.task_type" must be a string
	
							vit-base-patch16-224-in21k-bloodmnist-fold-12
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.0780
 - Accuracy: 0.9719
 - Precision: 0.9690
 - Recall: 0.9682
 - F1: 0.9684
 
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.3445 | 1.0 | 196 | 0.1989 | 0.9210 | 0.9313 | 0.8980 | 0.9098 | 
| 0.4009 | 2.0 | 392 | 0.2770 | 0.9104 | 0.9026 | 0.8974 | 0.8913 | 
| 0.3809 | 3.0 | 588 | 0.1910 | 0.9324 | 0.9274 | 0.9154 | 0.9192 | 
| 0.3277 | 4.0 | 784 | 0.1628 | 0.9412 | 0.9435 | 0.9212 | 0.9305 | 
| 0.2458 | 5.0 | 980 | 0.1460 | 0.9491 | 0.9396 | 0.9405 | 0.9399 | 
| 0.1998 | 6.0 | 1176 | 0.1289 | 0.9508 | 0.9453 | 0.9425 | 0.9422 | 
| 0.1599 | 7.0 | 1372 | 0.1136 | 0.9614 | 0.9593 | 0.9510 | 0.9539 | 
| 0.1455 | 8.0 | 1568 | 0.0874 | 0.9693 | 0.9626 | 0.9674 | 0.9646 | 
| 0.1246 | 9.0 | 1764 | 0.0825 | 0.9710 | 0.9661 | 0.9674 | 0.9665 | 
| 0.1328 | 10.0 | 1960 | 0.0780 | 0.9719 | 0.9690 | 0.9682 | 0.9684 | 
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-12
Base model
google/vit-base-patch16-224-in21k