Model save
Browse files- README.md +17 -17
- all_results.json +11 -11
- config.json +0 -8
- eval_results.json +6 -6
- model.safetensors +1 -1
- runs/Oct02_14-40-06_dcbb13f74eeb/events.out.tfevents.1727884063.dcbb13f74eeb.1604.1 +3 -0
- runs/Oct02_15-48-20_dcbb13f74eeb/events.out.tfevents.1727884113.dcbb13f74eeb.1604.2 +3 -0
- train_results.json +6 -6
- training_args.bin +1 -1
README.md
CHANGED
@@ -23,7 +23,7 @@ model-index:
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
-
value: 0.
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -33,8 +33,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
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 imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
-
- Loss: 0.
|
37 |
-
- Accuracy: 0.
|
38 |
|
39 |
## Model description
|
40 |
|
@@ -53,8 +53,8 @@ More information needed
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
-
- learning_rate:
|
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
|
@@ -64,18 +64,18 @@ The following hyperparameters were used during training:
|
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
-
| Training Loss | Epoch | Step
|
68 |
-
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.
|
78 |
-
| 0.
|
79 |
|
80 |
|
81 |
### Framework versions
|
|
|
23 |
metrics:
|
24 |
- name: Accuracy
|
25 |
type: accuracy
|
26 |
+
value: 0.8494423791821561
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
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 imagefolder dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.3989
|
37 |
+
- Accuracy: 0.8494
|
38 |
|
39 |
## Model description
|
40 |
|
|
|
53 |
### Training hyperparameters
|
54 |
|
55 |
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 5e-05
|
57 |
+
- train_batch_size: 4
|
58 |
- eval_batch_size: 8
|
59 |
- seed: 42
|
60 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
|
|
64 |
|
65 |
### Training results
|
66 |
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
68 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
69 |
+
| 0.5083 | 1.0 | 761 | 0.4226 | 0.8234 |
|
70 |
+
| 0.5171 | 2.0 | 1522 | 0.4868 | 0.7825 |
|
71 |
+
| 0.5042 | 3.0 | 2283 | 0.4948 | 0.7862 |
|
72 |
+
| 0.282 | 4.0 | 3044 | 0.4702 | 0.8067 |
|
73 |
+
| 0.8396 | 5.0 | 3805 | 0.4037 | 0.8290 |
|
74 |
+
| 0.2213 | 6.0 | 4566 | 0.5371 | 0.7918 |
|
75 |
+
| 0.636 | 7.0 | 5327 | 0.4830 | 0.8234 |
|
76 |
+
| 0.5217 | 8.0 | 6088 | 0.3411 | 0.8829 |
|
77 |
+
| 0.3796 | 9.0 | 6849 | 0.3674 | 0.8680 |
|
78 |
+
| 0.286 | 10.0 | 7610 | 0.3989 | 0.8494 |
|
79 |
|
80 |
|
81 |
### Framework versions
|
all_results.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
-
"total_flos":
|
9 |
-
"train_loss": 0.
|
10 |
-
"train_runtime":
|
11 |
-
"train_samples_per_second":
|
12 |
-
"train_steps_per_second":
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.8159851301115242,
|
4 |
+
"eval_loss": 0.4577201008796692,
|
5 |
+
"eval_runtime": 39.5349,
|
6 |
+
"eval_samples_per_second": 13.608,
|
7 |
+
"eval_steps_per_second": 1.72,
|
8 |
+
"total_flos": 2.3588561638681805e+18,
|
9 |
+
"train_loss": 0.6660665354183563,
|
10 |
+
"train_runtime": 3972.9927,
|
11 |
+
"train_samples_per_second": 7.662,
|
12 |
+
"train_steps_per_second": 3.831
|
13 |
}
|
config.json
CHANGED
@@ -8,17 +8,9 @@
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
11 |
-
"id2label": {
|
12 |
-
"0": 0,
|
13 |
-
"1": 1
|
14 |
-
},
|
15 |
"image_size": 224,
|
16 |
"initializer_range": 0.02,
|
17 |
"intermediate_size": 3072,
|
18 |
-
"label2id": {
|
19 |
-
"0": "0",
|
20 |
-
"1": "1"
|
21 |
-
},
|
22 |
"layer_norm_eps": 1e-12,
|
23 |
"model_type": "vit",
|
24 |
"num_attention_heads": 12,
|
|
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.0,
|
10 |
"hidden_size": 768,
|
|
|
|
|
|
|
|
|
11 |
"image_size": 224,
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 3072,
|
|
|
|
|
|
|
|
|
14 |
"layer_norm_eps": 1e-12,
|
15 |
"model_type": "vit",
|
16 |
"num_attention_heads": 12,
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.8159851301115242,
|
4 |
+
"eval_loss": 0.4577201008796692,
|
5 |
+
"eval_runtime": 39.5349,
|
6 |
+
"eval_samples_per_second": 13.608,
|
7 |
+
"eval_steps_per_second": 1.72
|
8 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343223968
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e085bd41d3ced724160e4e6a831b38b59e2ceaa9fd4174c2be4c780e18fd9fa0
|
3 |
size 343223968
|
runs/Oct02_14-40-06_dcbb13f74eeb/events.out.tfevents.1727884063.dcbb13f74eeb.1604.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0862fb5b9dad3e54293e69d2115044873ceccc7fa5a31412cda832fde852f45
|
3 |
+
size 411
|
runs/Oct02_15-48-20_dcbb13f74eeb/events.out.tfevents.1727884113.dcbb13f74eeb.1604.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4461684f37c01f570caf4685930105807c86449829d8cc62ab2782bb0bea48fb
|
3 |
+
size 168890
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"total_flos":
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"total_flos": 2.3588561638681805e+18,
|
4 |
+
"train_loss": 0.6660665354183563,
|
5 |
+
"train_runtime": 3972.9927,
|
6 |
+
"train_samples_per_second": 7.662,
|
7 |
+
"train_steps_per_second": 3.831
|
8 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b02f5ba5c3d83c0ad50c77c85ef3a05cbfe37dda066133605acd4a4a5bd9d34b
|
3 |
size 5176
|