sksatyam commited on
Commit
52dcb2c
·
verified ·
1 Parent(s): bd7d6a4

Model save

Browse files
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
- value: 0.39705882352941174
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: 1.5660
37
- - Accuracy: 0.3971
38
 
39
  ## Model description
40
 
@@ -53,7 +53,7 @@ More information needed
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
56
- - learning_rate: 5e-05
57
  - train_batch_size: 8
58
  - eval_batch_size: 8
59
  - seed: 42
@@ -69,10 +69,8 @@ The following hyperparameters were used during training:
69
 
70
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
  |:-------------:|:------:|:----:|:---------------:|:--------:|
72
- | 1.8678 | 2.0833 | 50 | 1.8966 | 0.3088 |
73
- | 1.6483 | 4.1667 | 100 | 1.7938 | 0.3382 |
74
- | 1.3419 | 6.25 | 150 | 1.6614 | 0.3824 |
75
- | 1.1189 | 8.3333 | 200 | 1.5660 | 0.3971 |
76
 
77
 
78
  ### Framework versions
 
23
  metrics:
24
  - name: Accuracy
25
  type: accuracy
26
+ value: 0.75
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.8349
37
+ - Accuracy: 0.75
38
 
39
  ## Model description
40
 
 
53
  ### Training hyperparameters
54
 
55
  The following hyperparameters were used during training:
56
+ - learning_rate: 0.0005
57
  - train_batch_size: 8
58
  - eval_batch_size: 8
59
  - seed: 42
 
69
 
70
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
71
  |:-------------:|:------:|:----:|:---------------:|:--------:|
72
+ | 0.6802 | 4.1667 | 100 | 1.2561 | 0.5735 |
73
+ | 0.3727 | 8.3333 | 200 | 0.8349 | 0.75 |
 
 
74
 
75
 
76
  ### Framework versions
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.39705882352941174,
4
+ "eval_loss": 1.5659970045089722,
5
+ "eval_runtime": 3.0691,
6
+ "eval_samples_per_second": 22.156,
7
+ "eval_steps_per_second": 2.932,
8
+ "total_flos": 2.9603266596900864e+17,
9
+ "train_loss": 1.4860339760780334,
10
+ "train_runtime": 184.3796,
11
+ "train_samples_per_second": 20.718,
12
+ "train_steps_per_second": 1.302
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.39705882352941174,
4
+ "eval_loss": 1.5659970045089722,
5
+ "eval_runtime": 3.0691,
6
+ "eval_samples_per_second": 22.156,
7
+ "eval_steps_per_second": 2.932
8
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:086b8fe62b0d5fed3e346f2a9d99dc00d9f5731dde320e3d0146aecb147105ea
3
  size 343239356
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9250264f9ee9b224c3cc2adb649f3fde7d866700115a24a2b8b3186b8ca284a7
3
  size 343239356
runs/Dec05_11-51-50_edab03f22c59/events.out.tfevents.1733399836.edab03f22c59.4058.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c85b596a4b70410e666c80ce5c5b8bd15eeb3637a710f51028c97e990d4df701
3
+ size 411
runs/Dec05_12-11-38_edab03f22c59/events.out.tfevents.1733400711.edab03f22c59.4058.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a82df69bf2cbd3cbacce46514636ed6646da2c08fcfefa5e81291f72dd0588ee
3
+ size 11309
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "total_flos": 2.9603266596900864e+17,
4
+ "train_loss": 1.4860339760780334,
5
+ "train_runtime": 184.3796,
6
+ "train_samples_per_second": 20.718,
7
+ "train_steps_per_second": 1.302
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.5659970045089722,
3
+ "best_model_checkpoint": "finetuned-websites/checkpoint-200",
4
+ "epoch": 10.0,
5
+ "eval_steps": 50,
6
+ "global_step": 240,
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.4166666666666667,
13
+ "grad_norm": 4.125311851501465,
14
+ "learning_rate": 1.0000000000000002e-06,
15
+ "loss": 1.9272,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.8333333333333334,
20
+ "grad_norm": 3.0228281021118164,
21
+ "learning_rate": 2.0000000000000003e-06,
22
+ "loss": 1.928,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 1.25,
27
+ "grad_norm": 2.5070629119873047,
28
+ "learning_rate": 3e-06,
29
+ "loss": 1.921,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 1.6666666666666665,
34
+ "grad_norm": 2.7787866592407227,
35
+ "learning_rate": 4.000000000000001e-06,
36
+ "loss": 1.8972,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 2.0833333333333335,
41
+ "grad_norm": 2.7862040996551514,
42
+ "learning_rate": 5e-06,
43
+ "loss": 1.8678,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 2.0833333333333335,
48
+ "eval_accuracy": 0.3088235294117647,
49
+ "eval_loss": 1.8965561389923096,
50
+ "eval_runtime": 2.6013,
51
+ "eval_samples_per_second": 26.141,
52
+ "eval_steps_per_second": 3.46,
53
+ "step": 50
54
+ },
55
+ {
56
+ "epoch": 2.5,
57
+ "grad_norm": 3.540709972381592,
58
+ "learning_rate": 6e-06,
59
+ "loss": 1.8526,
60
+ "step": 60
61
+ },
62
+ {
63
+ "epoch": 2.9166666666666665,
64
+ "grad_norm": 3.426781415939331,
65
+ "learning_rate": 7.000000000000001e-06,
66
+ "loss": 1.8198,
67
+ "step": 70
68
+ },
69
+ {
70
+ "epoch": 3.3333333333333335,
71
+ "grad_norm": 4.007580757141113,
72
+ "learning_rate": 8.000000000000001e-06,
73
+ "loss": 1.7369,
74
+ "step": 80
75
+ },
76
+ {
77
+ "epoch": 3.75,
78
+ "grad_norm": 4.467859745025635,
79
+ "learning_rate": 9e-06,
80
+ "loss": 1.7144,
81
+ "step": 90
82
+ },
83
+ {
84
+ "epoch": 4.166666666666667,
85
+ "grad_norm": 3.9431729316711426,
86
+ "learning_rate": 1e-05,
87
+ "loss": 1.6483,
88
+ "step": 100
89
+ },
90
+ {
91
+ "epoch": 4.166666666666667,
92
+ "eval_accuracy": 0.3382352941176471,
93
+ "eval_loss": 1.793816089630127,
94
+ "eval_runtime": 2.9764,
95
+ "eval_samples_per_second": 22.847,
96
+ "eval_steps_per_second": 3.024,
97
+ "step": 100
98
+ },
99
+ {
100
+ "epoch": 4.583333333333333,
101
+ "grad_norm": 3.2608771324157715,
102
+ "learning_rate": 1.1000000000000001e-05,
103
+ "loss": 1.5856,
104
+ "step": 110
105
+ },
106
+ {
107
+ "epoch": 5.0,
108
+ "grad_norm": 3.638972520828247,
109
+ "learning_rate": 1.2e-05,
110
+ "loss": 1.5157,
111
+ "step": 120
112
+ },
113
+ {
114
+ "epoch": 5.416666666666667,
115
+ "grad_norm": 3.3878164291381836,
116
+ "learning_rate": 1.3000000000000001e-05,
117
+ "loss": 1.4388,
118
+ "step": 130
119
+ },
120
+ {
121
+ "epoch": 5.833333333333333,
122
+ "grad_norm": 4.086641311645508,
123
+ "learning_rate": 1.4000000000000001e-05,
124
+ "loss": 1.4522,
125
+ "step": 140
126
+ },
127
+ {
128
+ "epoch": 6.25,
129
+ "grad_norm": 3.5550928115844727,
130
+ "learning_rate": 1.5e-05,
131
+ "loss": 1.3419,
132
+ "step": 150
133
+ },
134
+ {
135
+ "epoch": 6.25,
136
+ "eval_accuracy": 0.38235294117647056,
137
+ "eval_loss": 1.6614487171173096,
138
+ "eval_runtime": 2.1852,
139
+ "eval_samples_per_second": 31.118,
140
+ "eval_steps_per_second": 4.119,
141
+ "step": 150
142
+ },
143
+ {
144
+ "epoch": 6.666666666666667,
145
+ "grad_norm": 4.774816036224365,
146
+ "learning_rate": 1.6000000000000003e-05,
147
+ "loss": 1.3147,
148
+ "step": 160
149
+ },
150
+ {
151
+ "epoch": 7.083333333333333,
152
+ "grad_norm": 4.092309951782227,
153
+ "learning_rate": 1.7000000000000003e-05,
154
+ "loss": 1.2643,
155
+ "step": 170
156
+ },
157
+ {
158
+ "epoch": 7.5,
159
+ "grad_norm": 4.992920398712158,
160
+ "learning_rate": 1.8e-05,
161
+ "loss": 1.1924,
162
+ "step": 180
163
+ },
164
+ {
165
+ "epoch": 7.916666666666667,
166
+ "grad_norm": 6.251681327819824,
167
+ "learning_rate": 1.9e-05,
168
+ "loss": 1.1461,
169
+ "step": 190
170
+ },
171
+ {
172
+ "epoch": 8.333333333333334,
173
+ "grad_norm": 5.500473499298096,
174
+ "learning_rate": 2e-05,
175
+ "loss": 1.1189,
176
+ "step": 200
177
+ },
178
+ {
179
+ "epoch": 8.333333333333334,
180
+ "eval_accuracy": 0.39705882352941174,
181
+ "eval_loss": 1.5659970045089722,
182
+ "eval_runtime": 2.0786,
183
+ "eval_samples_per_second": 32.715,
184
+ "eval_steps_per_second": 4.33,
185
+ "step": 200
186
+ },
187
+ {
188
+ "epoch": 8.75,
189
+ "grad_norm": 4.436168670654297,
190
+ "learning_rate": 2.1e-05,
191
+ "loss": 1.0734,
192
+ "step": 210
193
+ },
194
+ {
195
+ "epoch": 9.166666666666666,
196
+ "grad_norm": 4.706101417541504,
197
+ "learning_rate": 2.2000000000000003e-05,
198
+ "loss": 0.9833,
199
+ "step": 220
200
+ },
201
+ {
202
+ "epoch": 9.583333333333334,
203
+ "grad_norm": 4.173801898956299,
204
+ "learning_rate": 2.3000000000000003e-05,
205
+ "loss": 0.9902,
206
+ "step": 230
207
+ },
208
+ {
209
+ "epoch": 10.0,
210
+ "grad_norm": 5.312504291534424,
211
+ "learning_rate": 2.4e-05,
212
+ "loss": 0.9339,
213
+ "step": 240
214
+ },
215
+ {
216
+ "epoch": 10.0,
217
+ "step": 240,
218
+ "total_flos": 2.9603266596900864e+17,
219
+ "train_loss": 1.4860339760780334,
220
+ "train_runtime": 184.3796,
221
+ "train_samples_per_second": 20.718,
222
+ "train_steps_per_second": 1.302
223
+ }
224
+ ],
225
+ "logging_steps": 10,
226
+ "max_steps": 240,
227
+ "num_input_tokens_seen": 0,
228
+ "num_train_epochs": 10,
229
+ "save_steps": 50,
230
+ "stateful_callbacks": {
231
+ "TrainerControl": {
232
+ "args": {
233
+ "should_epoch_stop": false,
234
+ "should_evaluate": false,
235
+ "should_log": false,
236
+ "should_save": true,
237
+ "should_training_stop": true
238
+ },
239
+ "attributes": {}
240
+ }
241
+ },
242
+ "total_flos": 2.9603266596900864e+17,
243
+ "train_batch_size": 8,
244
+ "trial_name": null,
245
+ "trial_params": null
246
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:10a6bd5335dcbeb330a5b30b2ffd7d502c27ce6f6343e794c3eb34529d57ad1d
3
  size 5240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b822f209f4725765bf9a9906e6c85c98b9ec4359564482ae17ee767ae986067
3
  size 5240