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

# hushem_40x_beit_large_sgd_lr0001_fold5

This model is a fine-tuned version of [microsoft/beit-large-patch16-224](https://huggingface.co/microsoft/beit-large-patch16-224) on the imagefolder dataset.
It achieves the following results on the evaluation set:
- Loss: 0.5729
- Accuracy: 0.8293

## 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.0001
- 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
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 50

### Training results

| Training Loss | Epoch | Step  | Validation Loss | Accuracy |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|
| 1.4926        | 1.0   | 440   | 1.5134          | 0.1707   |
| 1.4699        | 2.0   | 880   | 1.4346          | 0.2195   |
| 1.4165        | 3.0   | 1320  | 1.3667          | 0.3171   |
| 1.3439        | 4.0   | 1760  | 1.3082          | 0.3415   |
| 1.2852        | 5.0   | 2200  | 1.2556          | 0.3902   |
| 1.2335        | 6.0   | 2640  | 1.2095          | 0.4634   |
| 1.1398        | 7.0   | 3080  | 1.1670          | 0.4878   |
| 1.1194        | 8.0   | 3520  | 1.1271          | 0.5122   |
| 1.1053        | 9.0   | 3960  | 1.0922          | 0.5366   |
| 1.067         | 10.0  | 4400  | 1.0558          | 0.5366   |
| 0.9864        | 11.0  | 4840  | 1.0248          | 0.5854   |
| 0.9822        | 12.0  | 5280  | 0.9948          | 0.5854   |
| 0.9336        | 13.0  | 5720  | 0.9663          | 0.5854   |
| 0.8881        | 14.0  | 6160  | 0.9400          | 0.6098   |
| 0.927         | 15.0  | 6600  | 0.9106          | 0.6341   |
| 0.8809        | 16.0  | 7040  | 0.8869          | 0.7073   |
| 0.914         | 17.0  | 7480  | 0.8652          | 0.7073   |
| 0.8669        | 18.0  | 7920  | 0.8435          | 0.7073   |
| 0.803         | 19.0  | 8360  | 0.8212          | 0.7317   |
| 0.7354        | 20.0  | 8800  | 0.7997          | 0.7561   |
| 0.722         | 21.0  | 9240  | 0.7771          | 0.7561   |
| 0.7359        | 22.0  | 9680  | 0.7600          | 0.7561   |
| 0.7281        | 23.0  | 10120 | 0.7418          | 0.7805   |
| 0.6864        | 24.0  | 10560 | 0.7252          | 0.7805   |
| 0.6416        | 25.0  | 11000 | 0.7118          | 0.8049   |
| 0.7452        | 26.0  | 11440 | 0.6963          | 0.8049   |
| 0.7232        | 27.0  | 11880 | 0.6846          | 0.8049   |
| 0.6032        | 28.0  | 12320 | 0.6744          | 0.8049   |
| 0.6697        | 29.0  | 12760 | 0.6640          | 0.8049   |
| 0.644         | 30.0  | 13200 | 0.6529          | 0.8293   |
| 0.607         | 31.0  | 13640 | 0.6444          | 0.8293   |
| 0.6912        | 32.0  | 14080 | 0.6337          | 0.8293   |
| 0.5251        | 33.0  | 14520 | 0.6266          | 0.8293   |
| 0.6617        | 34.0  | 14960 | 0.6174          | 0.8293   |
| 0.577         | 35.0  | 15400 | 0.6115          | 0.8293   |
| 0.6166        | 36.0  | 15840 | 0.6046          | 0.8293   |
| 0.5901        | 37.0  | 16280 | 0.6011          | 0.8293   |
| 0.6455        | 38.0  | 16720 | 0.5973          | 0.8293   |
| 0.5207        | 39.0  | 17160 | 0.5926          | 0.8293   |
| 0.5672        | 40.0  | 17600 | 0.5885          | 0.8293   |
| 0.6109        | 41.0  | 18040 | 0.5864          | 0.8293   |
| 0.5372        | 42.0  | 18480 | 0.5831          | 0.8293   |
| 0.5242        | 43.0  | 18920 | 0.5806          | 0.8293   |
| 0.5192        | 44.0  | 19360 | 0.5777          | 0.8293   |
| 0.5208        | 45.0  | 19800 | 0.5751          | 0.8293   |
| 0.6852        | 46.0  | 20240 | 0.5748          | 0.8293   |
| 0.5986        | 47.0  | 20680 | 0.5739          | 0.8293   |
| 0.4688        | 48.0  | 21120 | 0.5733          | 0.8293   |
| 0.4908        | 49.0  | 21560 | 0.5730          | 0.8293   |
| 0.5453        | 50.0  | 22000 | 0.5729          | 0.8293   |


### Framework versions

- Transformers 4.35.0
- Pytorch 2.1.0
- Datasets 2.14.6
- Tokenizers 0.14.1

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "datasets": ["imagefolder"], "metrics": ["accuracy"], "base_model": "microsoft/beit-large-patch16-224", "model-index": [{"name": "hushem_40x_beit_large_sgd_lr0001_fold5", "results": [{"task": {"type": "image-classification", "name": "Image Classification"}, "dataset": {"name": "imagefolder", "type": "imagefolder", "config": "default", "split": "test", "args": "default"}, "metrics": [{"type": "accuracy", "value": 0.8292682926829268, "name": "Accuracy"}]}]}]}
transformers safetensors beit image-classification generated_from_trainer dataset:imagefolder base_model:microsoft/beit-large-patch16-224 license:apache-2.0 model-index autotrain_compatible endpoints_compatible region:us