rshrott commited on
Commit
961086c
1 Parent(s): 11d0b99

🍻 cheers

Browse files
README.md CHANGED
@@ -2,6 +2,7 @@
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
 
5
  - generated_from_trainer
6
  model-index:
7
  - name: ryan_model314
@@ -13,7 +14,7 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # ryan_model314
15
 
16
- 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 None dataset.
17
  It achieves the following results on the evaluation set:
18
  - Loss: 0.2939
19
  - Na Accuracy: 0.945
 
2
  license: apache-2.0
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
+ - image-classification
6
  - generated_from_trainer
7
  model-index:
8
  - name: ryan_model314
 
14
 
15
  # ryan_model314
16
 
17
+ 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 beans dataset.
18
  It achieves the following results on the evaluation set:
19
  - Loss: 0.2939
20
  - Na Accuracy: 0.945
all_results.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "epoch": 4.0,
3
  "eval_accuracy": 0.628,
4
- "eval_loss": 0.29625898599624634,
5
- "eval_na_accuracy": 0.952,
6
- "eval_ordinal_accuracy": 0.5119617224880383,
7
- "eval_runtime": 23.9544,
8
- "eval_samples_per_second": 10.437,
9
- "eval_steps_per_second": 1.336,
10
- "train_loss": 0.2629110822454095,
11
- "train_runtime": 64.8307,
12
- "train_samples_per_second": 15.425,
13
- "train_steps_per_second": 0.987
14
  }
 
1
  {
2
  "epoch": 4.0,
3
  "eval_accuracy": 0.628,
4
+ "eval_loss": 0.29386183619499207,
5
+ "eval_na_accuracy": 0.945,
6
+ "eval_ordinal_accuracy": 0.5705521472392638,
7
+ "eval_runtime": 8.2243,
8
+ "eval_samples_per_second": 24.318,
9
+ "eval_steps_per_second": 3.04,
10
+ "train_loss": 0.212149089468377,
11
+ "train_runtime": 378.6413,
12
+ "train_samples_per_second": 10.564,
13
+ "train_steps_per_second": 0.666
14
  }
eval_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 4.0,
3
- "eval_loss": 0.29625898599624634,
4
- "eval_na_accuracy": 0.952,
5
- "eval_ordinal_accuracy": 0.5119617224880383,
6
- "eval_runtime": 23.9544,
7
- "eval_samples_per_second": 10.437,
8
- "eval_steps_per_second": 1.336
9
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "eval_loss": 0.29386183619499207,
4
+ "eval_na_accuracy": 0.945,
5
+ "eval_ordinal_accuracy": 0.5705521472392638,
6
+ "eval_runtime": 8.2243,
7
+ "eval_samples_per_second": 24.318,
8
+ "eval_steps_per_second": 3.04
9
  }
runs/Mar26_19-46-27_ryanserver/events.out.tfevents.1711497195.ryanserver.29921.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce4c3f3a2449fd4fdda1a08f3cfd96da5dbe378b026a038b44eb4a24079cb4c0
3
+ size 474
train_results.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "epoch": 4.0,
3
- "train_loss": 0.2629110822454095,
4
- "train_runtime": 64.8307,
5
- "train_samples_per_second": 15.425,
6
- "train_steps_per_second": 0.987
7
  }
 
1
  {
2
  "epoch": 4.0,
3
+ "train_loss": 0.212149089468377,
4
+ "train_runtime": 378.6413,
5
+ "train_samples_per_second": 10.564,
6
+ "train_steps_per_second": 0.666
7
  }
trainer_state.json CHANGED
@@ -1,71 +1,224 @@
1
  {
2
- "best_metric": null,
3
- "best_model_checkpoint": null,
4
  "epoch": 4.0,
5
  "eval_steps": 100,
6
- "global_step": 64,
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.62,
13
- "grad_norm": 1.1892509460449219,
14
- "learning_rate": 0.00016875,
15
- "loss": 0.5447,
16
  "step": 10
17
  },
18
  {
19
- "epoch": 1.25,
20
- "grad_norm": 1.315897822380066,
21
- "learning_rate": 0.0001375,
22
- "loss": 0.408,
23
  "step": 20
24
  },
25
  {
26
- "epoch": 1.88,
27
- "grad_norm": 0.7632724046707153,
28
- "learning_rate": 0.00010625000000000001,
29
- "loss": 0.2444,
30
  "step": 30
31
  },
32
  {
33
- "epoch": 2.5,
34
- "grad_norm": 0.5031312704086304,
35
- "learning_rate": 7.500000000000001e-05,
36
- "loss": 0.1791,
37
  "step": 40
38
  },
39
  {
40
- "epoch": 3.12,
41
- "grad_norm": 0.6666581630706787,
42
- "learning_rate": 4.375e-05,
43
- "loss": 0.1459,
44
  "step": 50
45
  },
46
  {
47
- "epoch": 3.75,
48
- "grad_norm": 0.8803956508636475,
49
- "learning_rate": 1.25e-05,
50
- "loss": 0.1187,
51
  "step": 60
52
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  {
54
  "epoch": 4.0,
55
- "step": 64,
56
- "total_flos": 7.749476775936e+16,
57
- "train_loss": 0.2629110822454095,
58
- "train_runtime": 64.8307,
59
- "train_samples_per_second": 15.425,
60
- "train_steps_per_second": 0.987
61
  }
62
  ],
63
  "logging_steps": 10,
64
- "max_steps": 64,
65
  "num_input_tokens_seen": 0,
66
  "num_train_epochs": 4,
67
  "save_steps": 100,
68
- "total_flos": 7.749476775936e+16,
69
  "train_batch_size": 16,
70
  "trial_name": null,
71
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.29386183619499207,
3
+ "best_model_checkpoint": "./ryan_model314/checkpoint-200",
4
  "epoch": 4.0,
5
  "eval_steps": 100,
6
+ "global_step": 252,
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.16,
13
+ "grad_norm": 1.1858803033828735,
14
+ "learning_rate": 0.00019206349206349208,
15
+ "loss": 0.5736,
16
  "step": 10
17
  },
18
  {
19
+ "epoch": 0.32,
20
+ "grad_norm": 1.41181480884552,
21
+ "learning_rate": 0.00018412698412698412,
22
+ "loss": 0.4142,
23
  "step": 20
24
  },
25
  {
26
+ "epoch": 0.48,
27
+ "grad_norm": 0.6347964406013489,
28
+ "learning_rate": 0.0001761904761904762,
29
+ "loss": 0.3916,
30
  "step": 30
31
  },
32
  {
33
+ "epoch": 0.63,
34
+ "grad_norm": 0.7893273234367371,
35
+ "learning_rate": 0.00016825396825396826,
36
+ "loss": 0.3628,
37
  "step": 40
38
  },
39
  {
40
+ "epoch": 0.79,
41
+ "grad_norm": 0.9887136816978455,
42
+ "learning_rate": 0.00016031746031746033,
43
+ "loss": 0.3852,
44
  "step": 50
45
  },
46
  {
47
+ "epoch": 0.95,
48
+ "grad_norm": 1.1596781015396118,
49
+ "learning_rate": 0.00015238095238095237,
50
+ "loss": 0.3962,
51
  "step": 60
52
  },
53
+ {
54
+ "epoch": 1.11,
55
+ "grad_norm": 1.1897984743118286,
56
+ "learning_rate": 0.00014444444444444444,
57
+ "loss": 0.2923,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 1.27,
62
+ "grad_norm": 0.5242781639099121,
63
+ "learning_rate": 0.0001365079365079365,
64
+ "loss": 0.2335,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 1.43,
69
+ "grad_norm": 1.0704305171966553,
70
+ "learning_rate": 0.00012857142857142858,
71
+ "loss": 0.268,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 1.59,
76
+ "grad_norm": 0.852606475353241,
77
+ "learning_rate": 0.00012063492063492063,
78
+ "loss": 0.1969,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 1.59,
83
+ "eval_loss": 0.2954840064048767,
84
+ "eval_na_accuracy": 0.945,
85
+ "eval_ordinal_accuracy": 0.4785276073619632,
86
+ "eval_runtime": 26.5841,
87
+ "eval_samples_per_second": 7.523,
88
+ "eval_steps_per_second": 0.94,
89
+ "step": 100
90
+ },
91
+ {
92
+ "epoch": 1.75,
93
+ "grad_norm": 0.6733121871948242,
94
+ "learning_rate": 0.0001126984126984127,
95
+ "loss": 0.2328,
96
+ "step": 110
97
+ },
98
+ {
99
+ "epoch": 1.9,
100
+ "grad_norm": 0.9004744291305542,
101
+ "learning_rate": 0.00010476190476190477,
102
+ "loss": 0.2248,
103
+ "step": 120
104
+ },
105
+ {
106
+ "epoch": 2.06,
107
+ "grad_norm": 3.1687183380126953,
108
+ "learning_rate": 9.682539682539682e-05,
109
+ "loss": 0.1717,
110
+ "step": 130
111
+ },
112
+ {
113
+ "epoch": 2.22,
114
+ "grad_norm": 0.6659616827964783,
115
+ "learning_rate": 8.888888888888889e-05,
116
+ "loss": 0.145,
117
+ "step": 140
118
+ },
119
+ {
120
+ "epoch": 2.38,
121
+ "grad_norm": 0.6846858859062195,
122
+ "learning_rate": 8.095238095238096e-05,
123
+ "loss": 0.1157,
124
+ "step": 150
125
+ },
126
+ {
127
+ "epoch": 2.54,
128
+ "grad_norm": 0.6155730485916138,
129
+ "learning_rate": 7.301587301587302e-05,
130
+ "loss": 0.1424,
131
+ "step": 160
132
+ },
133
+ {
134
+ "epoch": 2.7,
135
+ "grad_norm": 0.6559838056564331,
136
+ "learning_rate": 6.507936507936509e-05,
137
+ "loss": 0.1041,
138
+ "step": 170
139
+ },
140
+ {
141
+ "epoch": 2.86,
142
+ "grad_norm": 0.4849882423877716,
143
+ "learning_rate": 5.714285714285714e-05,
144
+ "loss": 0.1339,
145
+ "step": 180
146
+ },
147
+ {
148
+ "epoch": 3.02,
149
+ "grad_norm": 0.6311644911766052,
150
+ "learning_rate": 4.9206349206349204e-05,
151
+ "loss": 0.103,
152
+ "step": 190
153
+ },
154
+ {
155
+ "epoch": 3.17,
156
+ "grad_norm": 0.8323171138763428,
157
+ "learning_rate": 4.126984126984127e-05,
158
+ "loss": 0.0746,
159
+ "step": 200
160
+ },
161
+ {
162
+ "epoch": 3.17,
163
+ "eval_loss": 0.29386183619499207,
164
+ "eval_na_accuracy": 0.945,
165
+ "eval_ordinal_accuracy": 0.5705521472392638,
166
+ "eval_runtime": 8.3287,
167
+ "eval_samples_per_second": 24.013,
168
+ "eval_steps_per_second": 3.002,
169
+ "step": 200
170
+ },
171
+ {
172
+ "epoch": 3.33,
173
+ "grad_norm": 0.8798254132270813,
174
+ "learning_rate": 3.3333333333333335e-05,
175
+ "loss": 0.086,
176
+ "step": 210
177
+ },
178
+ {
179
+ "epoch": 3.49,
180
+ "grad_norm": 0.37054240703582764,
181
+ "learning_rate": 2.5396825396825397e-05,
182
+ "loss": 0.0933,
183
+ "step": 220
184
+ },
185
+ {
186
+ "epoch": 3.65,
187
+ "grad_norm": 0.46293869614601135,
188
+ "learning_rate": 1.746031746031746e-05,
189
+ "loss": 0.066,
190
+ "step": 230
191
+ },
192
+ {
193
+ "epoch": 3.81,
194
+ "grad_norm": 0.3859086334705353,
195
+ "learning_rate": 9.523809523809523e-06,
196
+ "loss": 0.0649,
197
+ "step": 240
198
+ },
199
+ {
200
+ "epoch": 3.97,
201
+ "grad_norm": 0.300207257270813,
202
+ "learning_rate": 1.5873015873015873e-06,
203
+ "loss": 0.0623,
204
+ "step": 250
205
+ },
206
  {
207
  "epoch": 4.0,
208
+ "step": 252,
209
+ "total_flos": 3.0997907103744e+17,
210
+ "train_loss": 0.212149089468377,
211
+ "train_runtime": 378.6413,
212
+ "train_samples_per_second": 10.564,
213
+ "train_steps_per_second": 0.666
214
  }
215
  ],
216
  "logging_steps": 10,
217
+ "max_steps": 252,
218
  "num_input_tokens_seen": 0,
219
  "num_train_epochs": 4,
220
  "save_steps": 100,
221
+ "total_flos": 3.0997907103744e+17,
222
  "train_batch_size": 16,
223
  "trial_name": null,
224
  "trial_params": null