Model save
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ base_model: google/vit-base-patch16-224-in21k
|
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
-
-
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
model-index:
|
@@ -14,15 +14,15 @@ model-index:
|
|
14 |
name: Image Classification
|
15 |
type: image-classification
|
16 |
dataset:
|
17 |
-
name:
|
18 |
-
type:
|
19 |
config: default
|
20 |
split: train
|
21 |
args: default
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
-
value: 0.
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -30,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
30 |
|
31 |
# vit-base-patch16-224-in21k-finetune
|
32 |
|
33 |
-
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
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss:
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -52,7 +52,7 @@ More information needed
|
|
52 |
### Training hyperparameters
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
-
- learning_rate:
|
56 |
- train_batch_size: 64
|
57 |
- eval_batch_size: 64
|
58 |
- seed: 42
|
@@ -61,22 +61,20 @@ The following hyperparameters were used during training:
|
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: linear
|
63 |
- lr_scheduler_warmup_ratio: 0.1
|
64 |
-
- num_epochs:
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
-
|
|
71 |
-
|
|
72 |
-
|
|
73 |
-
| 1.5842 | 4.0 | 13 | 1.5602 | 0.3103 |
|
74 |
-
| 1.5842 | 4.62 | 15 | 1.5597 | 0.3103 |
|
75 |
|
76 |
|
77 |
### Framework versions
|
78 |
|
79 |
-
- Transformers 4.
|
80 |
- Pytorch 2.1.2
|
81 |
-
- Datasets 2.
|
82 |
- Tokenizers 0.15.2
|
|
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
7 |
+
- image_folder
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
model-index:
|
|
|
14 |
name: Image Classification
|
15 |
type: image-classification
|
16 |
dataset:
|
17 |
+
name: image_folder
|
18 |
+
type: image_folder
|
19 |
config: default
|
20 |
split: train
|
21 |
args: default
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.9925
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
30 |
|
31 |
# vit-base-patch16-224-in21k-finetune
|
32 |
|
33 |
+
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 image_folder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.8622
|
36 |
+
- Accuracy: 0.9925
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
52 |
### Training hyperparameters
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
+
- learning_rate: 5e-05
|
56 |
- train_batch_size: 64
|
57 |
- eval_batch_size: 64
|
58 |
- seed: 42
|
|
|
61 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
62 |
- lr_scheduler_type: linear
|
63 |
- lr_scheduler_warmup_ratio: 0.1
|
64 |
+
- num_epochs: 3
|
65 |
|
66 |
### Training results
|
67 |
|
68 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
69 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
70 |
+
| 1.928 | 0.98 | 14 | 1.4445 | 0.9625 |
|
71 |
+
| 1.473 | 1.96 | 28 | 0.9995 | 0.985 |
|
72 |
+
| 0.957 | 2.95 | 42 | 0.8622 | 0.9925 |
|
|
|
|
|
73 |
|
74 |
|
75 |
### Framework versions
|
76 |
|
77 |
+
- Transformers 4.38.1
|
78 |
- Pytorch 2.1.2
|
79 |
+
- Datasets 2.1.0
|
80 |
- Tokenizers 0.15.2
|
runs/May07_05-38-56_7ee871a99c58/events.out.tfevents.1715060354.7ee871a99c58.34.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e4826252f949056ebbabd88e5097bd49f580f199a6a0d6cdec5981394c91debd
|
3 |
+
size 7055
|