vintage-lavender619
commited on
Commit
•
dac2d8a
1
Parent(s):
87baf1b
End of training
Browse files- README.md +3 -3
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Jun10_03-10-45_b21d3f8dfe73/events.out.tfevents.1717989973.b21d3f8dfe73.3221.10 +3 -0
- train_results.json +8 -0
- trainer_state.json +164 -0
README.md
CHANGED
@@ -22,7 +22,7 @@ model-index:
|
|
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
|
@@ -32,8 +32,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
32 |
|
33 |
This model is a fine-tuned version of [google/vit-large-patch16-224](https://huggingface.co/google/vit-large-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss: 0.
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
|
|
22 |
metrics:
|
23 |
- name: Accuracy
|
24 |
type: accuracy
|
25 |
+
value: 0.9564068692206077
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
|
33 |
This model is a fine-tuned version of [google/vit-large-patch16-224](https://huggingface.co/google/vit-large-patch16-224) on the imagefolder dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.1456
|
36 |
+
- Accuracy: 0.9564
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.842105263157895,
|
3 |
+
"eval_accuracy": 0.9564068692206077,
|
4 |
+
"eval_loss": 0.145552858710289,
|
5 |
+
"eval_runtime": 13.7179,
|
6 |
+
"eval_samples_per_second": 55.183,
|
7 |
+
"eval_steps_per_second": 1.75,
|
8 |
+
"total_flos": 4.0192166172247327e+18,
|
9 |
+
"train_loss": 0.28673774859179624,
|
10 |
+
"train_runtime": 831.1321,
|
11 |
+
"train_samples_per_second": 18.216,
|
12 |
+
"train_steps_per_second": 0.138
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.842105263157895,
|
3 |
+
"eval_accuracy": 0.9564068692206077,
|
4 |
+
"eval_loss": 0.145552858710289,
|
5 |
+
"eval_runtime": 13.7179,
|
6 |
+
"eval_samples_per_second": 55.183,
|
7 |
+
"eval_steps_per_second": 1.75
|
8 |
+
}
|
runs/Jun10_03-10-45_b21d3f8dfe73/events.out.tfevents.1717989973.b21d3f8dfe73.3221.10
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0646ec9064efd8d0dc9e0ee9d8ecf09d9377563c4c78360038e4a2a85b632913
|
3 |
+
size 405
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.842105263157895,
|
3 |
+
"total_flos": 4.0192166172247327e+18,
|
4 |
+
"train_loss": 0.28673774859179624,
|
5 |
+
"train_runtime": 831.1321,
|
6 |
+
"train_samples_per_second": 18.216,
|
7 |
+
"train_steps_per_second": 0.138
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9564068692206077,
|
3 |
+
"best_model_checkpoint": "vit-large-patch16-224-finetuned-landscape-test/checkpoint-95",
|
4 |
+
"epoch": 4.842105263157895,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 115,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.42105263157894735,
|
13 |
+
"grad_norm": 2.8438663482666016,
|
14 |
+
"learning_rate": 4.166666666666667e-05,
|
15 |
+
"loss": 1.483,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.8421052631578947,
|
20 |
+
"grad_norm": 1.8428654670715332,
|
21 |
+
"learning_rate": 4.611650485436894e-05,
|
22 |
+
"loss": 0.3395,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.968421052631579,
|
27 |
+
"eval_accuracy": 0.9379128137384413,
|
28 |
+
"eval_loss": 0.18436767160892487,
|
29 |
+
"eval_runtime": 13.7525,
|
30 |
+
"eval_samples_per_second": 55.045,
|
31 |
+
"eval_steps_per_second": 1.745,
|
32 |
+
"step": 23
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.263157894736842,
|
36 |
+
"grad_norm": 2.5257349014282227,
|
37 |
+
"learning_rate": 4.12621359223301e-05,
|
38 |
+
"loss": 0.2331,
|
39 |
+
"step": 30
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.6842105263157894,
|
43 |
+
"grad_norm": 2.2784433364868164,
|
44 |
+
"learning_rate": 3.6407766990291265e-05,
|
45 |
+
"loss": 0.2125,
|
46 |
+
"step": 40
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 1.9789473684210526,
|
50 |
+
"eval_accuracy": 0.9365918097754293,
|
51 |
+
"eval_loss": 0.16518810391426086,
|
52 |
+
"eval_runtime": 13.7671,
|
53 |
+
"eval_samples_per_second": 54.986,
|
54 |
+
"eval_steps_per_second": 1.743,
|
55 |
+
"step": 47
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 2.1052631578947367,
|
59 |
+
"grad_norm": 0.9819332957267761,
|
60 |
+
"learning_rate": 3.155339805825243e-05,
|
61 |
+
"loss": 0.2093,
|
62 |
+
"step": 50
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 2.526315789473684,
|
66 |
+
"grad_norm": 2.5721793174743652,
|
67 |
+
"learning_rate": 2.6699029126213593e-05,
|
68 |
+
"loss": 0.1478,
|
69 |
+
"step": 60
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 2.9473684210526314,
|
73 |
+
"grad_norm": 1.9163882732391357,
|
74 |
+
"learning_rate": 2.1844660194174756e-05,
|
75 |
+
"loss": 0.1725,
|
76 |
+
"step": 70
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 2.9894736842105263,
|
80 |
+
"eval_accuracy": 0.9498018494055482,
|
81 |
+
"eval_loss": 0.1384432017803192,
|
82 |
+
"eval_runtime": 13.786,
|
83 |
+
"eval_samples_per_second": 54.911,
|
84 |
+
"eval_steps_per_second": 1.741,
|
85 |
+
"step": 71
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 3.3684210526315788,
|
89 |
+
"grad_norm": 1.7644811868667603,
|
90 |
+
"learning_rate": 1.6990291262135926e-05,
|
91 |
+
"loss": 0.1155,
|
92 |
+
"step": 80
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 3.7894736842105265,
|
96 |
+
"grad_norm": 1.712578296661377,
|
97 |
+
"learning_rate": 1.2135922330097088e-05,
|
98 |
+
"loss": 0.1371,
|
99 |
+
"step": 90
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 4.0,
|
103 |
+
"eval_accuracy": 0.9564068692206077,
|
104 |
+
"eval_loss": 0.145552858710289,
|
105 |
+
"eval_runtime": 13.7797,
|
106 |
+
"eval_samples_per_second": 54.936,
|
107 |
+
"eval_steps_per_second": 1.742,
|
108 |
+
"step": 95
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 4.2105263157894735,
|
112 |
+
"grad_norm": 1.6249809265136719,
|
113 |
+
"learning_rate": 7.281553398058253e-06,
|
114 |
+
"loss": 0.1134,
|
115 |
+
"step": 100
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 4.631578947368421,
|
119 |
+
"grad_norm": 0.8358253240585327,
|
120 |
+
"learning_rate": 2.4271844660194174e-06,
|
121 |
+
"loss": 0.096,
|
122 |
+
"step": 110
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 4.842105263157895,
|
126 |
+
"eval_accuracy": 0.952443857331572,
|
127 |
+
"eval_loss": 0.14051873981952667,
|
128 |
+
"eval_runtime": 13.8352,
|
129 |
+
"eval_samples_per_second": 54.716,
|
130 |
+
"eval_steps_per_second": 1.735,
|
131 |
+
"step": 115
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 4.842105263157895,
|
135 |
+
"step": 115,
|
136 |
+
"total_flos": 4.0192166172247327e+18,
|
137 |
+
"train_loss": 0.28673774859179624,
|
138 |
+
"train_runtime": 831.1321,
|
139 |
+
"train_samples_per_second": 18.216,
|
140 |
+
"train_steps_per_second": 0.138
|
141 |
+
}
|
142 |
+
],
|
143 |
+
"logging_steps": 10,
|
144 |
+
"max_steps": 115,
|
145 |
+
"num_input_tokens_seen": 0,
|
146 |
+
"num_train_epochs": 5,
|
147 |
+
"save_steps": 500,
|
148 |
+
"stateful_callbacks": {
|
149 |
+
"TrainerControl": {
|
150 |
+
"args": {
|
151 |
+
"should_epoch_stop": false,
|
152 |
+
"should_evaluate": false,
|
153 |
+
"should_log": false,
|
154 |
+
"should_save": true,
|
155 |
+
"should_training_stop": true
|
156 |
+
},
|
157 |
+
"attributes": {}
|
158 |
+
}
|
159 |
+
},
|
160 |
+
"total_flos": 4.0192166172247327e+18,
|
161 |
+
"train_batch_size": 32,
|
162 |
+
"trial_name": null,
|
163 |
+
"trial_params": null
|
164 |
+
}
|