pkr7098 commited on
Commit
88d8d34
·
verified ·
1 Parent(s): ab44bf0

End of training

Browse files
Files changed (5) hide show
  1. README.md +5 -3
  2. all_results.json +8 -8
  3. eval_results.json +4 -4
  4. train_results.json +4 -4
  5. trainer_state.json +81 -81
README.md CHANGED
@@ -5,6 +5,8 @@ license: apache-2.0
5
  metrics:
6
  - accuracy
7
  tags:
 
 
8
  - generated_from_trainer
9
  model-index:
10
  - name: only-lora-beans-vit-base-patch16-224-in21k
@@ -16,10 +18,10 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # only-lora-beans-vit-base-patch16-224-in21k
18
 
19
- This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.0935
22
- - Accuracy: 0.3459
23
 
24
  ## Model description
25
 
 
5
  metrics:
6
  - accuracy
7
  tags:
8
+ - image-classification
9
+ - vision
10
  - generated_from_trainer
11
  model-index:
12
  - name: only-lora-beans-vit-base-patch16-224-in21k
 
18
 
19
  # only-lora-beans-vit-base-patch16-224-in21k
20
 
21
+ 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.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 1.1110
24
+ - Accuracy: 0.3308
25
 
26
  ## Model description
27
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 10.0,
3
  "eval_accuracy": 0.3308270676691729,
4
- "eval_loss": 1.895585536956787,
5
- "eval_runtime": 0.9592,
6
- "eval_samples_per_second": 138.655,
7
- "eval_steps_per_second": 17.723,
8
  "total_flos": 8.772706474360013e+17,
9
- "train_loss": 0.7308059575007512,
10
- "train_runtime": 175.3451,
11
- "train_samples_per_second": 58.969,
12
- "train_steps_per_second": 7.414
13
  }
 
1
  {
2
  "epoch": 10.0,
3
  "eval_accuracy": 0.3308270676691729,
4
+ "eval_loss": 1.1110202074050903,
5
+ "eval_runtime": 1.0014,
6
+ "eval_samples_per_second": 132.816,
7
+ "eval_steps_per_second": 16.976,
8
  "total_flos": 8.772706474360013e+17,
9
+ "train_loss": 0.6310529987628644,
10
+ "train_runtime": 186.1113,
11
+ "train_samples_per_second": 55.558,
12
+ "train_steps_per_second": 6.985
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 10.0,
3
  "eval_accuracy": 0.3308270676691729,
4
- "eval_loss": 1.895585536956787,
5
- "eval_runtime": 0.9592,
6
- "eval_samples_per_second": 138.655,
7
- "eval_steps_per_second": 17.723
8
  }
 
1
  {
2
  "epoch": 10.0,
3
  "eval_accuracy": 0.3308270676691729,
4
+ "eval_loss": 1.1110202074050903,
5
+ "eval_runtime": 1.0014,
6
+ "eval_samples_per_second": 132.816,
7
+ "eval_steps_per_second": 16.976
8
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 10.0,
3
  "total_flos": 8.772706474360013e+17,
4
- "train_loss": 0.7308059575007512,
5
- "train_runtime": 175.3451,
6
- "train_samples_per_second": 58.969,
7
- "train_steps_per_second": 7.414
8
  }
 
1
  {
2
  "epoch": 10.0,
3
  "total_flos": 8.772706474360013e+17,
4
+ "train_loss": 0.6310529987628644,
5
+ "train_runtime": 186.1113,
6
+ "train_samples_per_second": 55.558,
7
+ "train_steps_per_second": 6.985
8
  }
trainer_state.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "best_metric": 0.3044010102748871,
3
- "best_model_checkpoint": "./beans_outputs/checkpoint-650",
4
  "epoch": 10.0,
5
  "eval_steps": 500,
6
  "global_step": 1300,
@@ -10,193 +10,193 @@
10
  "log_history": [
11
  {
12
  "epoch": 0.7692307692307693,
13
- "grad_norm": 2.5466179847717285,
14
  "learning_rate": 5e-05,
15
- "loss": 1.0208,
16
  "step": 100
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.8045112781954887,
21
- "eval_loss": 0.8930914998054504,
22
- "eval_runtime": 0.9307,
23
- "eval_samples_per_second": 142.898,
24
- "eval_steps_per_second": 18.265,
25
  "step": 130
26
  },
27
  {
28
  "epoch": 1.5384615384615383,
29
- "grad_norm": 1.4668034315109253,
30
  "learning_rate": 5e-05,
31
- "loss": 0.8683,
32
  "step": 200
33
  },
34
  {
35
  "epoch": 2.0,
36
- "eval_accuracy": 0.8796992481203008,
37
- "eval_loss": 0.6855143308639526,
38
- "eval_runtime": 0.9382,
39
- "eval_samples_per_second": 141.765,
40
- "eval_steps_per_second": 18.12,
41
  "step": 260
42
  },
43
  {
44
  "epoch": 2.3076923076923075,
45
- "grad_norm": 1.5885818004608154,
46
  "learning_rate": 5e-05,
47
- "loss": 0.7297,
48
  "step": 300
49
  },
50
  {
51
  "epoch": 3.0,
52
- "eval_accuracy": 0.9022556390977443,
53
- "eval_loss": 0.5008501410484314,
54
- "eval_runtime": 0.9428,
55
- "eval_samples_per_second": 141.075,
56
- "eval_steps_per_second": 18.032,
57
  "step": 390
58
  },
59
  {
60
  "epoch": 3.076923076923077,
61
- "grad_norm": 2.4792442321777344,
62
  "learning_rate": 5e-05,
63
- "loss": 0.6084,
64
  "step": 400
65
  },
66
  {
67
  "epoch": 3.8461538461538463,
68
- "grad_norm": 1.0500737428665161,
69
  "learning_rate": 5e-05,
70
- "loss": 0.4881,
71
  "step": 500
72
  },
73
  {
74
  "epoch": 4.0,
75
- "eval_accuracy": 0.9323308270676691,
76
- "eval_loss": 0.3685053288936615,
77
- "eval_runtime": 0.9444,
78
- "eval_samples_per_second": 140.829,
79
- "eval_steps_per_second": 18.001,
80
  "step": 520
81
  },
82
  {
83
  "epoch": 4.615384615384615,
84
- "grad_norm": 0.9487807154655457,
85
  "learning_rate": 5e-05,
86
- "loss": 0.3733,
87
  "step": 600
88
  },
89
  {
90
  "epoch": 5.0,
91
- "eval_accuracy": 0.8872180451127819,
92
- "eval_loss": 0.3044010102748871,
93
- "eval_runtime": 0.9975,
94
- "eval_samples_per_second": 133.327,
95
- "eval_steps_per_second": 17.042,
96
  "step": 650
97
  },
98
  {
99
  "epoch": 5.384615384615385,
100
- "grad_norm": 2.811962604522705,
101
  "learning_rate": 5e-05,
102
- "loss": 0.3229,
103
  "step": 700
104
  },
105
  {
106
  "epoch": 6.0,
107
- "eval_accuracy": 0.8646616541353384,
108
- "eval_loss": 0.3873802721500397,
109
- "eval_runtime": 0.9366,
110
- "eval_samples_per_second": 142.002,
111
- "eval_steps_per_second": 18.151,
112
  "step": 780
113
  },
114
  {
115
  "epoch": 6.153846153846154,
116
- "grad_norm": 2.758183717727661,
117
  "learning_rate": 5e-05,
118
- "loss": 0.4189,
119
  "step": 800
120
  },
121
  {
122
  "epoch": 6.923076923076923,
123
- "grad_norm": 5.297445297241211,
124
  "learning_rate": 5e-05,
125
- "loss": 0.5796,
126
  "step": 900
127
  },
128
  {
129
  "epoch": 7.0,
130
- "eval_accuracy": 0.5939849624060151,
131
- "eval_loss": 0.7966009974479675,
132
- "eval_runtime": 0.9577,
133
- "eval_samples_per_second": 138.872,
134
- "eval_steps_per_second": 17.75,
135
  "step": 910
136
  },
137
  {
138
  "epoch": 7.6923076923076925,
139
- "grad_norm": 28.03814697265625,
140
  "learning_rate": 5e-05,
141
- "loss": 0.765,
142
  "step": 1000
143
  },
144
  {
145
  "epoch": 8.0,
146
- "eval_accuracy": 0.5263157894736842,
147
- "eval_loss": 0.9421801567077637,
148
- "eval_runtime": 0.9477,
149
- "eval_samples_per_second": 140.335,
150
- "eval_steps_per_second": 17.938,
151
  "step": 1040
152
  },
153
  {
154
  "epoch": 8.461538461538462,
155
- "grad_norm": 5.901334285736084,
156
  "learning_rate": 5e-05,
157
- "loss": 1.0732,
158
  "step": 1100
159
  },
160
  {
161
  "epoch": 9.0,
162
  "eval_accuracy": 0.3308270676691729,
163
- "eval_loss": 1.0903689861297607,
164
- "eval_runtime": 0.9358,
165
- "eval_samples_per_second": 142.119,
166
- "eval_steps_per_second": 18.166,
167
  "step": 1170
168
  },
169
  {
170
  "epoch": 9.23076923076923,
171
- "grad_norm": 1.3560993671417236,
172
  "learning_rate": 5e-05,
173
- "loss": 1.0879,
174
  "step": 1200
175
  },
176
  {
177
  "epoch": 10.0,
178
- "grad_norm": 37.35905456542969,
179
  "learning_rate": 5e-05,
180
- "loss": 1.1643,
181
  "step": 1300
182
  },
183
  {
184
  "epoch": 10.0,
185
- "eval_accuracy": 0.41353383458646614,
186
- "eval_loss": 1.0773515701293945,
187
- "eval_runtime": 0.9946,
188
- "eval_samples_per_second": 133.719,
189
- "eval_steps_per_second": 17.092,
190
  "step": 1300
191
  },
192
  {
193
  "epoch": 10.0,
194
  "step": 1300,
195
  "total_flos": 8.772706474360013e+17,
196
- "train_loss": 0.7308059575007512,
197
- "train_runtime": 175.3451,
198
- "train_samples_per_second": 58.969,
199
- "train_steps_per_second": 7.414
200
  }
201
  ],
202
  "logging_steps": 100,
 
1
  {
2
+ "best_metric": 0.17903044819831848,
3
+ "best_model_checkpoint": "./beans_outputs/checkpoint-520",
4
  "epoch": 10.0,
5
  "eval_steps": 500,
6
  "global_step": 1300,
 
10
  "log_history": [
11
  {
12
  "epoch": 0.7692307692307693,
13
+ "grad_norm": 2.7811906337738037,
14
  "learning_rate": 5e-05,
15
+ "loss": 0.9748,
16
  "step": 100
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.8947368421052632,
21
+ "eval_loss": 0.7215397357940674,
22
+ "eval_runtime": 0.9364,
23
+ "eval_samples_per_second": 142.034,
24
+ "eval_steps_per_second": 18.155,
25
  "step": 130
26
  },
27
  {
28
  "epoch": 1.5384615384615383,
29
+ "grad_norm": 1.6656582355499268,
30
  "learning_rate": 5e-05,
31
+ "loss": 0.6849,
32
  "step": 200
33
  },
34
  {
35
  "epoch": 2.0,
36
+ "eval_accuracy": 0.9473684210526315,
37
+ "eval_loss": 0.4107130765914917,
38
+ "eval_runtime": 0.9628,
39
+ "eval_samples_per_second": 138.137,
40
+ "eval_steps_per_second": 17.657,
41
  "step": 260
42
  },
43
  {
44
  "epoch": 2.3076923076923075,
45
+ "grad_norm": 1.416643738746643,
46
  "learning_rate": 5e-05,
47
+ "loss": 0.4838,
48
  "step": 300
49
  },
50
  {
51
  "epoch": 3.0,
52
+ "eval_accuracy": 0.9473684210526315,
53
+ "eval_loss": 0.2423216700553894,
54
+ "eval_runtime": 0.9821,
55
+ "eval_samples_per_second": 135.426,
56
+ "eval_steps_per_second": 17.31,
57
  "step": 390
58
  },
59
  {
60
  "epoch": 3.076923076923077,
61
+ "grad_norm": 2.6065406799316406,
62
  "learning_rate": 5e-05,
63
+ "loss": 0.3533,
64
  "step": 400
65
  },
66
  {
67
  "epoch": 3.8461538461538463,
68
+ "grad_norm": 1.5872589349746704,
69
  "learning_rate": 5e-05,
70
+ "loss": 0.2594,
71
  "step": 500
72
  },
73
  {
74
  "epoch": 4.0,
75
+ "eval_accuracy": 0.9624060150375939,
76
+ "eval_loss": 0.17903044819831848,
77
+ "eval_runtime": 0.9895,
78
+ "eval_samples_per_second": 134.417,
79
+ "eval_steps_per_second": 17.181,
80
  "step": 520
81
  },
82
  {
83
  "epoch": 4.615384615384615,
84
+ "grad_norm": 2.6757798194885254,
85
  "learning_rate": 5e-05,
86
+ "loss": 0.2082,
87
  "step": 600
88
  },
89
  {
90
  "epoch": 5.0,
91
+ "eval_accuracy": 0.9323308270676691,
92
+ "eval_loss": 0.19146375358104706,
93
+ "eval_runtime": 1.0393,
94
+ "eval_samples_per_second": 127.973,
95
+ "eval_steps_per_second": 16.357,
96
  "step": 650
97
  },
98
  {
99
  "epoch": 5.384615384615385,
100
+ "grad_norm": 5.998991012573242,
101
  "learning_rate": 5e-05,
102
+ "loss": 0.2159,
103
  "step": 700
104
  },
105
  {
106
  "epoch": 6.0,
107
+ "eval_accuracy": 0.9097744360902256,
108
+ "eval_loss": 0.3304254412651062,
109
+ "eval_runtime": 0.9409,
110
+ "eval_samples_per_second": 141.349,
111
+ "eval_steps_per_second": 18.067,
112
  "step": 780
113
  },
114
  {
115
  "epoch": 6.153846153846154,
116
+ "grad_norm": 4.108273029327393,
117
  "learning_rate": 5e-05,
118
+ "loss": 0.339,
119
  "step": 800
120
  },
121
  {
122
  "epoch": 6.923076923076923,
123
+ "grad_norm": 5.80717134475708,
124
  "learning_rate": 5e-05,
125
+ "loss": 0.5954,
126
  "step": 900
127
  },
128
  {
129
  "epoch": 7.0,
130
+ "eval_accuracy": 0.6917293233082706,
131
+ "eval_loss": 0.6861125230789185,
132
+ "eval_runtime": 1.0533,
133
+ "eval_samples_per_second": 126.266,
134
+ "eval_steps_per_second": 16.139,
135
  "step": 910
136
  },
137
  {
138
  "epoch": 7.6923076923076925,
139
+ "grad_norm": 4.3353142738342285,
140
  "learning_rate": 5e-05,
141
+ "loss": 0.8045,
142
  "step": 1000
143
  },
144
  {
145
  "epoch": 8.0,
146
+ "eval_accuracy": 0.48872180451127817,
147
+ "eval_loss": 1.0407782793045044,
148
+ "eval_runtime": 1.1746,
149
+ "eval_samples_per_second": 113.234,
150
+ "eval_steps_per_second": 14.474,
151
  "step": 1040
152
  },
153
  {
154
  "epoch": 8.461538461538462,
155
+ "grad_norm": 1.6110053062438965,
156
  "learning_rate": 5e-05,
157
+ "loss": 1.0506,
158
  "step": 1100
159
  },
160
  {
161
  "epoch": 9.0,
162
  "eval_accuracy": 0.3308270676691729,
163
+ "eval_loss": 1.1016151905059814,
164
+ "eval_runtime": 1.2259,
165
+ "eval_samples_per_second": 108.493,
166
+ "eval_steps_per_second": 13.868,
167
  "step": 1170
168
  },
169
  {
170
  "epoch": 9.23076923076923,
171
+ "grad_norm": 0.6255662441253662,
172
  "learning_rate": 5e-05,
173
+ "loss": 1.1038,
174
  "step": 1200
175
  },
176
  {
177
  "epoch": 10.0,
178
+ "grad_norm": 6.890110969543457,
179
  "learning_rate": 5e-05,
180
+ "loss": 1.1299,
181
  "step": 1300
182
  },
183
  {
184
  "epoch": 10.0,
185
+ "eval_accuracy": 0.3458646616541353,
186
+ "eval_loss": 1.0934619903564453,
187
+ "eval_runtime": 1.1913,
188
+ "eval_samples_per_second": 111.642,
189
+ "eval_steps_per_second": 14.27,
190
  "step": 1300
191
  },
192
  {
193
  "epoch": 10.0,
194
  "step": 1300,
195
  "total_flos": 8.772706474360013e+17,
196
+ "train_loss": 0.6310529987628644,
197
+ "train_runtime": 186.1113,
198
+ "train_samples_per_second": 55.558,
199
+ "train_steps_per_second": 6.985
200
  }
201
  ],
202
  "logging_steps": 100,