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

# mobilevit-small-finetuned-ind-5-balanced-1000

This model is a fine-tuned version of [apple/mobilevit-small](https://huggingface.co/apple/mobilevit-small) on the imagefolder dataset.
It achieves the following results on the evaluation set:
- Loss: 3222.4668
- Accuracy: 0.7253
- Recall: 0.7253
- F1: 0.7237
- Precision: 0.7399

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

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | F1     | Precision |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:---------:|
| 26007.0328    | 0.97  | 22   | 26741.1270      | 0.5440   | 0.5440 | 0.5448 | 0.5847    |
| 17977.0594    | 1.98  | 45   | 17944.0020      | 0.6264   | 0.6264 | 0.6343 | 0.6726    |
| 13009.6063    | 2.99  | 68   | 10322.2979      | 0.6484   | 0.6484 | 0.6539 | 0.6809    |
| 9969.9648     | 4.0   | 91   | 12549.5674      | 0.6374   | 0.6374 | 0.6399 | 0.6943    |
| 8019.9609     | 4.97  | 113  | 9188.9385       | 0.6868   | 0.6868 | 0.6855 | 0.7085    |
| 8192.1562     | 5.98  | 136  | 7442.1606       | 0.6813   | 0.6813 | 0.6827 | 0.6941    |
| 7996.7828     | 6.99  | 159  | 5037.6401       | 0.7527   | 0.7527 | 0.7476 | 0.7576    |
| 6581.4477     | 8.0   | 182  | 6476.3550       | 0.6923   | 0.6923 | 0.6946 | 0.7125    |
| 6664.3922     | 8.97  | 204  | 5441.6636       | 0.7418   | 0.7418 | 0.7392 | 0.7475    |
| 7302.0922     | 9.98  | 227  | 7969.9395       | 0.6978   | 0.6978 | 0.7001 | 0.7131    |
| 6768.7773     | 10.99 | 250  | 5390.8330       | 0.7198   | 0.7198 | 0.7164 | 0.7301    |
| 4381.5246     | 12.0  | 273  | 5020.9805       | 0.7418   | 0.7418 | 0.7377 | 0.7386    |
| 5712.7887     | 12.97 | 295  | 4043.6013       | 0.7527   | 0.7527 | 0.7522 | 0.7588    |
| 4460.0453     | 13.98 | 318  | 6639.6147       | 0.7253   | 0.7253 | 0.7225 | 0.7510    |
| 5050.9293     | 14.99 | 341  | 1809.3181       | 0.7967   | 0.7967 | 0.7958 | 0.8022    |
| 2896.0053     | 16.0  | 364  | 6076.0757       | 0.7418   | 0.7418 | 0.7397 | 0.7520    |
| 6461.8426     | 16.97 | 386  | 4647.0933       | 0.7198   | 0.7198 | 0.7165 | 0.7213    |
| 6203.2395     | 17.98 | 409  | 5155.1958       | 0.6978   | 0.6978 | 0.6990 | 0.7089    |
| 4170.1098     | 18.99 | 432  | 2647.4460       | 0.7308   | 0.7308 | 0.7301 | 0.7451    |
| 2834.0891     | 19.34 | 440  | 2505.3389       | 0.7582   | 0.7582 | 0.7518 | 0.7618    |


### Framework versions

- Transformers 4.36.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0

{"license": "other", "tags": ["generated_from_trainer"], "datasets": ["imagefolder"], "metrics": ["accuracy", "recall", "f1", "precision"], "base_model": "apple/mobilevit-small", "model-index": [{"name": "mobilevit-small-finetuned-ind-5-balanced-1000", "results": [{"task": {"type": "image-classification", "name": "Image Classification"}, "dataset": {"name": "imagefolder", "type": "imagefolder", "config": "default", "split": "train", "args": "default"}, "metrics": [{"type": "accuracy", "value": 0.7252747252747253, "name": "Accuracy"}, {"type": "recall", "value": 0.7252747252747253, "name": "Recall"}, {"type": "f1", "value": 0.7236797559477931, "name": "F1"}, {"type": "precision", "value": 0.7399288713040441, "name": "Precision"}]}]}]}
transformers tensorboard safetensors mobilevit image-classification generated_from_trainer dataset:imagefolder base_model:apple/mobilevit-small license:other model-index autotrain_compatible endpoints_compatible region:us