update model card README.md
Browse files
README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
5 |
-
- image-classification
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
- imagefolder
|
@@ -15,7 +14,7 @@ model-index:
|
|
15 |
name: Image Classification
|
16 |
type: image-classification
|
17 |
dataset:
|
18 |
-
name:
|
19 |
type: imagefolder
|
20 |
config: default
|
21 |
split: validation
|
@@ -31,9 +30,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
31 |
|
32 |
# vit-base
|
33 |
|
34 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss:
|
37 |
- Accuracy: 0.75
|
38 |
|
39 |
## Model description
|
@@ -54,18 +53,22 @@ More information needed
|
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
- learning_rate: 0.0002
|
57 |
-
- train_batch_size:
|
58 |
- eval_batch_size: 8
|
59 |
- seed: 42
|
60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
61 |
- lr_scheduler_type: linear
|
62 |
-
- num_epochs:
|
63 |
|
64 |
### Training results
|
65 |
|
66 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
-
| 0.
|
|
|
|
|
|
|
|
|
69 |
|
70 |
|
71 |
### Framework versions
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
- imagefolder
|
|
|
14 |
name: Image Classification
|
15 |
type: image-classification
|
16 |
dataset:
|
17 |
+
name: imagefolder
|
18 |
type: imagefolder
|
19 |
config: default
|
20 |
split: validation
|
|
|
30 |
|
31 |
# vit-base
|
32 |
|
33 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 1.1401
|
36 |
- Accuracy: 0.75
|
37 |
|
38 |
## Model description
|
|
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
- learning_rate: 0.0002
|
56 |
+
- train_batch_size: 4
|
57 |
- eval_batch_size: 8
|
58 |
- seed: 42
|
59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
- lr_scheduler_type: linear
|
61 |
+
- num_epochs: 10
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
66 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
67 |
+
| 0.1567 | 2.0 | 20 | 0.9874 | 0.75 |
|
68 |
+
| 0.0007 | 4.0 | 40 | 0.9885 | 0.75 |
|
69 |
+
| 0.0004 | 6.0 | 60 | 1.1331 | 0.75 |
|
70 |
+
| 0.0003 | 8.0 | 80 | 1.1414 | 0.75 |
|
71 |
+
| 0.0003 | 10.0 | 100 | 1.1401 | 0.75 |
|
72 |
|
73 |
|
74 |
### Framework versions
|