steven commited on
Commit ·
f693ee6
1
Parent(s): 26368d6
update model card README.md
Browse files
README.md
CHANGED
|
@@ -1,29 +1,12 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
-
- image-classification
|
| 5 |
-
- vision
|
| 6 |
- generated_from_trainer
|
| 7 |
datasets:
|
| 8 |
- beans
|
| 9 |
-
metrics:
|
| 10 |
-
- accuracy
|
| 11 |
model-index:
|
| 12 |
- name: vit-base-beans
|
| 13 |
-
results:
|
| 14 |
-
- task:
|
| 15 |
-
name: Image Classification
|
| 16 |
-
type: image-classification
|
| 17 |
-
dataset:
|
| 18 |
-
name: beans
|
| 19 |
-
type: beans
|
| 20 |
-
config: default
|
| 21 |
-
split: validation
|
| 22 |
-
args: default
|
| 23 |
-
metrics:
|
| 24 |
-
- name: Accuracy
|
| 25 |
-
type: accuracy
|
| 26 |
-
value: 0.9924812030075187
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
@@ -32,9 +15,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 32 |
# vit-base-beans
|
| 33 |
|
| 34 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the beans dataset.
|
| 35 |
-
It achieves the following results on the evaluation set:
|
| 36 |
-
- Loss: 0.0841
|
| 37 |
-
- Accuracy: 0.9925
|
| 38 |
|
| 39 |
## Model description
|
| 40 |
|
|
@@ -54,27 +34,16 @@ More information needed
|
|
| 54 |
|
| 55 |
The following hyperparameters were used during training:
|
| 56 |
- learning_rate: 2e-05
|
| 57 |
-
- train_batch_size:
|
| 58 |
-
- eval_batch_size:
|
| 59 |
- seed: 1337
|
| 60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 61 |
- lr_scheduler_type: linear
|
| 62 |
- num_epochs: 5.0
|
| 63 |
|
| 64 |
-
### Training results
|
| 65 |
-
|
| 66 |
-
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
| 67 |
-
|:-------------:|:-----:|:----:|:--------:|:---------------:|
|
| 68 |
-
| 0.254 | 1.0 | 130 | 0.9624 | 0.2244 |
|
| 69 |
-
| 0.2885 | 2.0 | 260 | 0.9925 | 0.1098 |
|
| 70 |
-
| 0.1555 | 3.0 | 390 | 0.9850 | 0.1041 |
|
| 71 |
-
| 0.092 | 4.0 | 520 | 0.9925 | 0.0818 |
|
| 72 |
-
| 0.1591 | 5.0 | 650 | 0.9850 | 0.0826 |
|
| 73 |
-
|
| 74 |
-
|
| 75 |
### Framework versions
|
| 76 |
|
| 77 |
-
- Transformers 4.
|
| 78 |
- Pytorch 2.0.0+cu117
|
| 79 |
- Datasets 2.11.0
|
| 80 |
- Tokenizers 0.13.3
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
|
|
|
|
|
|
| 4 |
- generated_from_trainer
|
| 5 |
datasets:
|
| 6 |
- beans
|
|
|
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: vit-base-beans
|
| 9 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 15 |
# vit-base-beans
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the beans dataset.
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
|
|
| 34 |
|
| 35 |
The following hyperparameters were used during training:
|
| 36 |
- learning_rate: 2e-05
|
| 37 |
+
- train_batch_size: 16
|
| 38 |
+
- eval_batch_size: 16
|
| 39 |
- seed: 1337
|
| 40 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 41 |
- lr_scheduler_type: linear
|
| 42 |
- num_epochs: 5.0
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
### Framework versions
|
| 45 |
|
| 46 |
+
- Transformers 4.29.0
|
| 47 |
- Pytorch 2.0.0+cu117
|
| 48 |
- Datasets 2.11.0
|
| 49 |
- Tokenizers 0.13.3
|