--- library_name: transformers license: apache-2.0 base_model: microsoft/swinv2-base-patch4-window16-256 tags: - generated_from_trainer metrics: - accuracy - f1 model-index: - name: swinv2-plantclef-1k results: [] --- # swinv2-plantclef-1k This model is a fine-tuned version of [microsoft/swinv2-base-patch4-window16-256](https://huggingface.co/microsoft/swinv2-base-patch4-window16-256) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 1.2482 - Accuracy: 0.7565 - F1: 0.7560 ## 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: 5e-05 - train_batch_size: 32 - eval_batch_size: 32 - seed: 42 - optimizer: Use 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 | F1 | |:-------------:|:-----:|:------:|:---------------:|:--------:|:------:| | 1.6253 | 1.0 | 11441 | 1.4319 | 0.6419 | 0.6402 | | 1.1142 | 2.0 | 22882 | 1.1573 | 0.7031 | 0.7021 | | 0.8357 | 3.0 | 34323 | 1.0814 | 0.7228 | 0.7235 | | 0.604 | 4.0 | 45764 | 1.1028 | 0.7323 | 0.7312 | | 0.3991 | 5.0 | 57205 | 1.1261 | 0.7373 | 0.7371 | | 0.2405 | 6.0 | 68646 | 1.1802 | 0.7373 | 0.7377 | | 0.1543 | 7.0 | 80087 | 1.2014 | 0.7453 | 0.7450 | | 0.097 | 8.0 | 91528 | 1.2337 | 0.7474 | 0.7472 | | 0.054 | 9.0 | 102969 | 1.2416 | 0.7532 | 0.7529 | | 0.0414 | 10.0 | 114410 | 1.2482 | 0.7565 | 0.7560 | ### Framework versions - Transformers 4.46.2 - Pytorch 2.5.0 - Datasets 3.1.0 - Tokenizers 0.20.1