Model save
Browse files
README.md
CHANGED
|
@@ -2,29 +2,12 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
| 5 |
-
- image-classification
|
| 6 |
-
- vision
|
| 7 |
- generated_from_trainer
|
| 8 |
-
datasets:
|
| 9 |
-
- beans
|
| 10 |
metrics:
|
| 11 |
- accuracy
|
| 12 |
model-index:
|
| 13 |
- name: vit-base-beans
|
| 14 |
-
results:
|
| 15 |
-
- task:
|
| 16 |
-
name: Image Classification
|
| 17 |
-
type: image-classification
|
| 18 |
-
dataset:
|
| 19 |
-
name: beans
|
| 20 |
-
type: beans
|
| 21 |
-
config: default
|
| 22 |
-
split: validation
|
| 23 |
-
args: default
|
| 24 |
-
metrics:
|
| 25 |
-
- name: Accuracy
|
| 26 |
-
type: accuracy
|
| 27 |
-
value: 0.9774436090225563
|
| 28 |
---
|
| 29 |
|
| 30 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -32,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 32 |
|
| 33 |
# vit-base-beans
|
| 34 |
|
| 35 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
| 36 |
It achieves the following results on the evaluation set:
|
| 37 |
-
- Loss: 0.
|
| 38 |
-
- Accuracy: 0.
|
| 39 |
|
| 40 |
## Model description
|
| 41 |
|
|
@@ -57,7 +40,7 @@ The following hyperparameters were used during training:
|
|
| 57 |
- learning_rate: 2e-05
|
| 58 |
- train_batch_size: 8
|
| 59 |
- eval_batch_size: 8
|
| 60 |
-
- seed:
|
| 61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 62 |
- lr_scheduler_type: linear
|
| 63 |
- num_epochs: 5.0
|
|
@@ -66,16 +49,16 @@ The following hyperparameters were used during training:
|
|
| 66 |
|
| 67 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 68 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 69 |
-
| 0.
|
| 70 |
-
| 0.
|
| 71 |
-
| 0.
|
| 72 |
-
| 0.
|
| 73 |
-
| 0.
|
| 74 |
|
| 75 |
|
| 76 |
### Framework versions
|
| 77 |
|
| 78 |
-
- Transformers 4.
|
| 79 |
-
- Pytorch
|
| 80 |
-
- Datasets 2.
|
| 81 |
- Tokenizers 0.15.0
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
|
|
|
|
|
|
| 5 |
- generated_from_trainer
|
|
|
|
|
|
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
model-index:
|
| 9 |
- name: vit-base-beans
|
| 10 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 15 |
|
| 16 |
# vit-base-beans
|
| 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: 0.1031
|
| 21 |
+
- Accuracy: 0.9699
|
| 22 |
|
| 23 |
## Model description
|
| 24 |
|
|
|
|
| 40 |
- learning_rate: 2e-05
|
| 41 |
- train_batch_size: 8
|
| 42 |
- eval_batch_size: 8
|
| 43 |
+
- seed: 2024
|
| 44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 45 |
- lr_scheduler_type: linear
|
| 46 |
- num_epochs: 5.0
|
|
|
|
| 49 |
|
| 50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 52 |
+
| 0.2939 | 1.0 | 130 | 0.2577 | 0.9699 |
|
| 53 |
+
| 0.1955 | 2.0 | 260 | 0.1212 | 0.9774 |
|
| 54 |
+
| 0.2097 | 3.0 | 390 | 0.1058 | 0.9699 |
|
| 55 |
+
| 0.1102 | 4.0 | 520 | 0.1146 | 0.9699 |
|
| 56 |
+
| 0.1813 | 5.0 | 650 | 0.1031 | 0.9699 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|
| 60 |
|
| 61 |
+
- Transformers 4.38.0.dev0
|
| 62 |
+
- Pytorch 1.13.1+cu117
|
| 63 |
+
- Datasets 2.15.0
|
| 64 |
- Tokenizers 0.15.0
|