Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,11 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
|
|
|
| 4 |
tags:
|
|
|
|
|
|
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
|
@@ -9,57 +13,3 @@ model-index:
|
|
| 9 |
- name: image_classification_food101VITmodel
|
| 10 |
results: []
|
| 11 |
---
|
| 12 |
-
|
| 13 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
-
|
| 16 |
-
# image_classification_food101VITmodel
|
| 17 |
-
|
| 18 |
-
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.
|
| 19 |
-
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 2.5424
|
| 21 |
-
- Accuracy: 0.7
|
| 22 |
-
|
| 23 |
-
## Model description
|
| 24 |
-
|
| 25 |
-
More information needed
|
| 26 |
-
|
| 27 |
-
## Intended uses & limitations
|
| 28 |
-
|
| 29 |
-
More information needed
|
| 30 |
-
|
| 31 |
-
## Training and evaluation data
|
| 32 |
-
|
| 33 |
-
More information needed
|
| 34 |
-
|
| 35 |
-
## Training procedure
|
| 36 |
-
|
| 37 |
-
### Training hyperparameters
|
| 38 |
-
|
| 39 |
-
The following hyperparameters were used during training:
|
| 40 |
-
- learning_rate: 5e-05
|
| 41 |
-
- train_batch_size: 16
|
| 42 |
-
- eval_batch_size: 16
|
| 43 |
-
- seed: 42
|
| 44 |
-
- gradient_accumulation_steps: 4
|
| 45 |
-
- total_train_batch_size: 64
|
| 46 |
-
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 47 |
-
- lr_scheduler_type: linear
|
| 48 |
-
- lr_scheduler_warmup_ratio: 0.1
|
| 49 |
-
- num_epochs: 3
|
| 50 |
-
|
| 51 |
-
### Training results
|
| 52 |
-
|
| 53 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 54 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 55 |
-
| 4.2504 | 0.96 | 12 | 3.4853 | 0.695 |
|
| 56 |
-
| 3.1914 | 2.0 | 25 | 2.7080 | 0.695 |
|
| 57 |
-
| 2.6501 | 2.88 | 36 | 2.5424 | 0.7 |
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
### Framework versions
|
| 61 |
-
|
| 62 |
-
- Transformers 4.35.2
|
| 63 |
-
- Pytorch 2.1.0+cu121
|
| 64 |
-
- Datasets 2.16.0
|
| 65 |
-
- Tokenizers 0.15.0
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
+
pipeline_tag: image-classification
|
| 5 |
tags:
|
| 6 |
+
- food101
|
| 7 |
+
- vit
|
| 8 |
+
- image-classification
|
| 9 |
- generated_from_trainer
|
| 10 |
metrics:
|
| 11 |
- accuracy
|
|
|
|
| 13 |
- name: image_classification_food101VITmodel
|
| 14 |
results: []
|
| 15 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|