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

# distill-beans-vit-224-to-mobile-net-v2

This model is a fine-tuned version of [](https://huggingface.co/) on the beans dataset.
It achieves the following results on the evaluation set:
- Loss: 0.4248
- Accuracy: 0.7344

## 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: 30
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.8975        | 1.0   | 65   | 0.7564          | 0.5113   |
| 0.8174        | 2.0   | 130  | 0.8916          | 0.5188   |
| 0.7114        | 3.0   | 195  | 0.6367          | 0.6090   |
| 0.6471        | 4.0   | 260  | 0.6082          | 0.6617   |
| 0.5883        | 5.0   | 325  | 0.6546          | 0.5940   |
| 0.5566        | 6.0   | 390  | 0.5188          | 0.6917   |
| 0.5642        | 7.0   | 455  | 0.6210          | 0.6541   |
| 0.5585        | 8.0   | 520  | 0.5711          | 0.6541   |
| 0.5082        | 9.0   | 585  | 0.5368          | 0.6767   |
| 0.4978        | 10.0  | 650  | 0.4613          | 0.7444   |
| 0.4747        | 11.0  | 715  | 0.4534          | 0.7594   |
| 0.4476        | 12.0  | 780  | 0.6255          | 0.6617   |
| 0.4299        | 13.0  | 845  | 0.4777          | 0.7143   |
| 0.4256        | 14.0  | 910  | 0.4713          | 0.7669   |
| 0.406         | 15.0  | 975  | 0.5876          | 0.7143   |
| 0.4039        | 16.0  | 1040 | 0.5158          | 0.7293   |
| 0.3933        | 17.0  | 1105 | 0.7595          | 0.6692   |
| 0.3771        | 18.0  | 1170 | 0.4609          | 0.7293   |
| 0.3799        | 19.0  | 1235 | 0.5921          | 0.6842   |
| 0.3579        | 20.0  | 1300 | 0.4717          | 0.7444   |
| 0.3498        | 21.0  | 1365 | 0.4285          | 0.7895   |
| 0.3425        | 22.0  | 1430 | 0.5952          | 0.6917   |
| 0.3466        | 23.0  | 1495 | 0.4879          | 0.7143   |
| 0.3587        | 24.0  | 1560 | 0.5345          | 0.6541   |
| 0.3454        | 25.0  | 1625 | 0.4405          | 0.7519   |
| 0.3193        | 26.0  | 1690 | 0.3987          | 0.8120   |
| 0.3324        | 27.0  | 1755 | 0.5871          | 0.6767   |
| 0.3146        | 28.0  | 1820 | 0.5311          | 0.7218   |
| 0.3048        | 29.0  | 1885 | 0.6289          | 0.6617   |
| 0.3146        | 30.0  | 1950 | 0.4775          | 0.7519   |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.0.0
- Datasets 2.15.0
- Tokenizers 0.15.0

{"tags": ["generated_from_trainer"], "datasets": ["beans"], "metrics": ["accuracy"], "model-index": [{"name": "distill-beans-vit-224-to-mobile-net-v2", "results": [{"task": {"type": "image-classification", "name": "Image Classification"}, "dataset": {"name": "beans", "type": "beans", "config": "default", "split": "validation", "args": "default"}, "metrics": [{"type": "accuracy", "value": 0.734375, "name": "Accuracy"}]}]}]}
transformers safetensors mobilenet_v2 image-classification generated_from_trainer dataset:beans model-index autotrain_compatible endpoints_compatible region:us