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

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.5953
- Accuracy: 0.8095

## 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.4128        | 1.0   | 437   | 1.5601          | 0.0952   |
| 1.4952        | 2.0   | 874   | 1.4826          | 0.1429   |
| 1.3514        | 3.0   | 1311  | 1.4131          | 0.2381   |
| 1.3237        | 4.0   | 1748  | 1.3444          | 0.2857   |
| 1.2776        | 5.0   | 2185  | 1.2850          | 0.3810   |
| 1.1676        | 6.0   | 2622  | 1.2301          | 0.4286   |
| 1.1995        | 7.0   | 3059  | 1.1826          | 0.5238   |
| 1.1586        | 8.0   | 3496  | 1.1393          | 0.5238   |
| 1.1465        | 9.0   | 3933  | 1.0999          | 0.5714   |
| 0.986         | 10.0  | 4370  | 1.0646          | 0.5714   |
| 1.0092        | 11.0  | 4807  | 1.0310          | 0.5952   |
| 1.0095        | 12.0  | 5244  | 0.9998          | 0.6190   |
| 0.9361        | 13.0  | 5681  | 0.9701          | 0.6190   |
| 0.9122        | 14.0  | 6118  | 0.9430          | 0.6190   |
| 0.8894        | 15.0  | 6555  | 0.9174          | 0.6905   |
| 0.8211        | 16.0  | 6992  | 0.8941          | 0.6667   |
| 0.8403        | 17.0  | 7429  | 0.8712          | 0.6667   |
| 0.8196        | 18.0  | 7866  | 0.8502          | 0.6905   |
| 0.7197        | 19.0  | 8303  | 0.8298          | 0.7143   |
| 0.7843        | 20.0  | 8740  | 0.8118          | 0.7381   |
| 0.7476        | 21.0  | 9177  | 0.7948          | 0.7381   |
| 0.7508        | 22.0  | 9614  | 0.7787          | 0.7381   |
| 0.7677        | 23.0  | 10051 | 0.7628          | 0.7381   |
| 0.6995        | 24.0  | 10488 | 0.7480          | 0.7381   |
| 0.7006        | 25.0  | 10925 | 0.7338          | 0.7381   |
| 0.6915        | 26.0  | 11362 | 0.7200          | 0.7381   |
| 0.6726        | 27.0  | 11799 | 0.7080          | 0.7381   |
| 0.7522        | 28.0  | 12236 | 0.6969          | 0.7619   |
| 0.6053        | 29.0  | 12673 | 0.6859          | 0.7857   |
| 0.6232        | 30.0  | 13110 | 0.6768          | 0.7857   |
| 0.6182        | 31.0  | 13547 | 0.6673          | 0.7857   |
| 0.6488        | 32.0  | 13984 | 0.6588          | 0.7857   |
| 0.6347        | 33.0  | 14421 | 0.6511          | 0.7857   |
| 0.5878        | 34.0  | 14858 | 0.6439          | 0.8095   |
| 0.6003        | 35.0  | 15295 | 0.6375          | 0.8095   |
| 0.6355        | 36.0  | 15732 | 0.6315          | 0.8095   |
| 0.6146        | 37.0  | 16169 | 0.6260          | 0.8095   |
| 0.6164        | 38.0  | 16606 | 0.6212          | 0.8095   |
| 0.5883        | 39.0  | 17043 | 0.6168          | 0.8095   |
| 0.5972        | 40.0  | 17480 | 0.6127          | 0.8095   |
| 0.6031        | 41.0  | 17917 | 0.6091          | 0.8095   |
| 0.5742        | 42.0  | 18354 | 0.6057          | 0.8095   |
| 0.5473        | 43.0  | 18791 | 0.6030          | 0.8095   |
| 0.6068        | 44.0  | 19228 | 0.6008          | 0.8095   |
| 0.486         | 45.0  | 19665 | 0.5990          | 0.8095   |
| 0.4949        | 46.0  | 20102 | 0.5976          | 0.8095   |
| 0.5104        | 47.0  | 20539 | 0.5965          | 0.8095   |
| 0.5087        | 48.0  | 20976 | 0.5958          | 0.8095   |
| 0.5678        | 49.0  | 21413 | 0.5954          | 0.8095   |
| 0.5269        | 50.0  | 21850 | 0.5953          | 0.8095   |


### 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_fold4", "results": [{"task": {"type": "image-classification", "name": "Image Classification"}, "dataset": {"name": "imagefolder", "type": "imagefolder", "config": "default", "split": "test", "args": "default"}, "metrics": [{"type": "accuracy", "value": 0.8095238095238095, "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