
<!-- 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-snack-classification-fp16

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

## 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: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 2.5992        | 0.33  | 100  | 2.1135          | 0.8565   |
| 1.7999        | 0.66  | 200  | 1.3926          | 0.9131   |
| 1.2796        | 0.99  | 300  | 1.0320          | 0.9298   |
| 0.9534        | 1.32  | 400  | 0.8076          | 0.9309   |
| 0.7987        | 1.65  | 500  | 0.6795          | 0.9435   |
| 0.7093        | 1.98  | 600  | 0.5945          | 0.9455   |
| 0.6417        | 2.31  | 700  | 0.5360          | 0.9571   |
| 0.5442        | 2.64  | 800  | 0.5039          | 0.9550   |
| 0.5246        | 2.97  | 900  | 0.4840          | 0.9560   |


### Framework versions

- Transformers 4.37.2
- Pytorch 2.1.0+cu121
- Datasets 2.17.1
- Tokenizers 0.15.2

apple banana juice muffin orange pineapple popcorn pretzel salad strawberry waffle watermelon cake candy carrot cookie doughnut grape hot dog ice cream