
<!-- 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-patch16-224-in21k-finetuned-gecko

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

## 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.0005
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 4
- total_train_batch_size: 128
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 10

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| No log        | 0.97  | 21   | 3.2699          | 0.6210   |
| No log        | 1.98  | 43   | 2.0011          | 0.8468   |
| 3.1155        | 2.99  | 65   | 1.2851          | 0.8641   |
| 3.1155        | 4.0   | 87   | 0.7751          | 0.9389   |
| 1.1003        | 4.97  | 108  | 0.6060          | 0.9274   |
| 1.1003        | 5.98  | 130  | 0.4584          | 0.9378   |
| 0.5229        | 6.99  | 152  | 0.3417          | 0.9585   |
| 0.5229        | 8.0   | 174  | 0.2415          | 0.9816   |
| 0.5229        | 8.97  | 195  | 0.2014          | 0.9873   |
| 0.3249        | 9.66  | 210  | 0.1890          | 0.9885   |


### Framework versions

- Transformers 4.34.1
- Pytorch 1.14.0a0+410ce96
- Datasets 2.14.6
- Tokenizers 0.14.1

10_sd22-0010 11_sd22-0011 12_sd22-0012 13_sd21-0013 14_sd21-0014 15_sd21-0015 16_sd21-0016 17_sd22-0017 18_sd22-0018 19_sd22-0019 1_sd18-0001 20_sd22-0020 21_sd22-0021 22_sd22-0022 23_sd22-0023 24_sd22-0024 25_sd22-0025 26_sd22-0026 27_sd22-0027 28_sd22-0028 29_sd22-0029 2_sd22-0002 30_sd22-0030 31_sd22-0031 32_sd22-0032 33_sd22-0033 34_sd21-0034 35_sd21-0035 36_sd22-0036 37_ax21-0037 38_ax22-0038 39_hax22-0039 3_sd22-0003 40_hlax22-0020 41_ax22-0041 42_ax22-0042 43_lax22-0043 44_hax22-0044 45_sc22-0045 46_cal22-0046 47_cal22-0047 48_sc22-0048 49_sc23-0049 4_sd22-0004 50_sc23-0050 51_sab22-0051 52_lw21-0052 53_nor22-0053 54_nor22-0054 55_nor22-0055 5_sd22-0005 6_sd22-0006 7_sd22-0007 80_lw 81_lw 82_nor 83_nor 84_nor 85_nor 86_nor 87_nor 88_nor 89_nor(hax) 8_sd22-0008 90_lw_b 91_lw_b 92_nor_b 93_nor_b 9_sd22-0009