
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# plant-disease-detection-vit

This model is a fine-tuned version of [google/vit-large-patch16-224-in21k](https://huggingface.co/google/vit-large-patch16-224-in21k) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0002
- Accuracy: 1.0

## 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: 16
- eval_batch_size: 16
- seed: 42
- 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: 5

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.0007        | 1.0   | 45   | 0.0004          | 1.0      |
| 0.0004        | 2.0   | 90   | 0.0317          | 0.9889   |
| 0.0003        | 3.0   | 135  | 0.0003          | 1.0      |
| 0.0002        | 4.0   | 180  | 0.0002          | 1.0      |
| 0.0002        | 5.0   | 225  | 0.0002          | 1.0      |


### Framework versions

- Transformers 4.46.3
- Pytorch 2.4.1+cu124
- Datasets 3.1.0
- Tokenizers 0.20.3

corn_(maize)___common_rust_ potato___early_blight tomato___bacterial_spot