
<!-- 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-fire-detection

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.0250
- Precision: 0.9934
- Recall: 0.9934
- Accuracy: 0.9934
- F1score: 0.9934

## 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.0002
- train_batch_size: 64
- eval_batch_size: 64
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 100
- num_epochs: 10

### Training results

| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1score |
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:-------:|
| 0.5906        | 1.0   | 95   | 0.0594          | 0.9855    | 0.9854 | 0.9854   | 0.9854  |
| 0.0812        | 2.0   | 190  | 0.0447          | 0.9908    | 0.9907 | 0.9907   | 0.9907  |
| 0.0575        | 3.0   | 285  | 0.0779          | 0.9778    | 0.9762 | 0.9762   | 0.9762  |
| 0.036         | 4.0   | 380  | 0.0242          | 0.9935    | 0.9934 | 0.9934   | 0.9934  |
| 0.0395        | 5.0   | 475  | 0.0283          | 0.9921    | 0.9921 | 0.9921   | 0.9921  |
| 0.0225        | 6.0   | 570  | 0.0169          | 0.9947    | 0.9947 | 0.9947   | 0.9947  |
| 0.0165        | 7.0   | 665  | 0.0205          | 0.9934    | 0.9934 | 0.9934   | 0.9934  |
| 0.0099        | 8.0   | 760  | 0.0180          | 0.9960    | 0.9960 | 0.9960   | 0.9960  |
| 0.0074        | 9.0   | 855  | 0.0255          | 0.9947    | 0.9947 | 0.9947   | 0.9947  |
| 0.0055        | 10.0  | 950  | 0.0250          | 0.9934    | 0.9934 | 0.9934   | 0.9934  |


### Framework versions

- Transformers 4.36.0
- Pytorch 2.1.1+cpu
- Datasets 2.15.0
- Tokenizers 0.15.0

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "metrics": ["precision", "recall", "accuracy"], "base_model": "google/vit-base-patch16-224-in21k", "model-index": [{"name": "vit-fire-detection", "results": []}]}
transformers tensorboard safetensors vit image-classification generated_from_trainer base_model:google/vit-base-patch16-224-in21k license:apache-2.0 autotrain_compatible endpoints_compatible region:us