
<!-- 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. -->

# vit-base-oxford-iiit-pets

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

## 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.0003
- train_batch_size: 16
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 15

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.3657        | 1.0   | 693  | 0.3477          | 0.9045   |
| 0.278         | 2.0   | 1386 | 0.2998          | 0.9099   |
| 0.1907        | 3.0   | 2079 | 0.2756          | 0.9175   |
| 0.1764        | 4.0   | 2772 | 0.2664          | 0.9217   |
| 0.1579        | 5.0   | 3465 | 0.2606          | 0.9171   |
| 0.1198        | 6.0   | 4158 | 0.2554          | 0.9184   |
| 0.1145        | 7.0   | 4851 | 0.2538          | 0.9213   |
| 0.0996        | 8.0   | 5544 | 0.2513          | 0.9209   |
| 0.107         | 9.0   | 6237 | 0.2532          | 0.9196   |
| 0.0928        | 10.0  | 6930 | 0.2507          | 0.9196   |


### Framework versions

- Transformers 4.42.4
- Pytorch 2.3.1+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1

white-breasted kingfisher indian roller forest wagtail white-breasted waterhen common myna rufous treepie common rosefinch red-wattled lapwing gray wagtail jungle babbler hoopoe house crow sarus crane ruddy shelduck indian peacock common tailorbird asian green bee-eater brown-headed barbet northern lapwing coppersmith barbet cattle egret common kingfisher indian grey hornbill white wagtail indian pitta