sdonoso commited on
Commit
17496d7
1 Parent(s): c8f33c2

best distilbert model finetuned on ner

Browse files
all_results.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
- "epoch": 3.0,
3
- "eval_accuracy": 0.9588502561789063,
4
- "eval_f1": 0.7950245791747356,
5
- "eval_loss": 0.1408379226922989,
6
- "eval_precision": 0.7840458351696783,
7
- "eval_recall": 0.806315153346427,
8
- "eval_runtime": 2.5786,
9
  "eval_samples": 1916,
10
- "eval_samples_per_second": 743.035,
11
- "eval_steps_per_second": 23.268,
12
- "train_loss": 0.1423617688175362,
13
- "train_runtime": 92.3444,
14
  "train_samples": 8324,
15
- "train_samples_per_second": 270.423,
16
- "train_steps_per_second": 8.479
17
  }
 
1
  {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9594786195340445,
4
+ "eval_f1": 0.7985358930305521,
5
+ "eval_loss": 0.13593988120555878,
6
+ "eval_precision": 0.7897458628841607,
7
+ "eval_recall": 0.8075237951352168,
8
+ "eval_runtime": 1.7993,
9
  "eval_samples": 1916,
10
+ "eval_samples_per_second": 1064.862,
11
+ "eval_steps_per_second": 16.673,
12
+ "train_loss": 0.15398232195213551,
13
+ "train_runtime": 729.0203,
14
  "train_samples": 8324,
15
+ "train_samples_per_second": 45.672,
16
+ "train_steps_per_second": 0.719
17
  }
config.json CHANGED
@@ -42,6 +42,6 @@
42
  "sinusoidal_pos_embds": true,
43
  "tie_weights_": true,
44
  "torch_dtype": "float32",
45
- "transformers_version": "4.12.5",
46
  "vocab_size": 31002
47
  }
 
42
  "sinusoidal_pos_embds": true,
43
  "tie_weights_": true,
44
  "torch_dtype": "float32",
45
+ "transformers_version": "4.11.3",
46
  "vocab_size": 31002
47
  }
eval_results.json CHANGED
@@ -1,12 +1,12 @@
1
  {
2
- "epoch": 3.0,
3
- "eval_accuracy": 0.9588502561789063,
4
- "eval_f1": 0.7950245791747356,
5
- "eval_loss": 0.1408379226922989,
6
- "eval_precision": 0.7840458351696783,
7
- "eval_recall": 0.806315153346427,
8
- "eval_runtime": 2.5786,
9
  "eval_samples": 1916,
10
- "eval_samples_per_second": 743.035,
11
- "eval_steps_per_second": 23.268
12
  }
 
1
  {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9594786195340445,
4
+ "eval_f1": 0.7985358930305521,
5
+ "eval_loss": 0.13593988120555878,
6
+ "eval_precision": 0.7897458628841607,
7
+ "eval_recall": 0.8075237951352168,
8
+ "eval_runtime": 1.7993,
9
  "eval_samples": 1916,
10
+ "eval_samples_per_second": 1064.862,
11
+ "eval_steps_per_second": 16.673
12
  }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0e340a699c2f2b281fda6911bad55462fee484fac4e0f8866a865aec42fab948
3
  size 266993141
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:083671a454bbf6cbbc4fdcf622aff00db11b1d22960c843e85cf0c48e883448e
3
  size 266993141
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 3.0,
3
- "train_loss": 0.1423617688175362,
4
- "train_runtime": 92.3444,
5
  "train_samples": 8324,
6
- "train_samples_per_second": 270.423,
7
- "train_steps_per_second": 8.479
8
  }
 
1
  {
2
+ "epoch": 4.0,
3
+ "train_loss": 0.15398232195213551,
4
+ "train_runtime": 729.0203,
5
  "train_samples": 8324,
6
+ "train_samples_per_second": 45.672,
7
+ "train_steps_per_second": 0.719
8
  }
trainer_state.json CHANGED
@@ -1,211 +1,91 @@
1
  {
2
- "best_metric": 0.1408379226922989,
3
- "best_model_checkpoint": "/home/sdonoso/data/all_results/ner-c/distillbeto/epochs_3_bs_32_lr_5e-5/checkpoint-650",
4
- "epoch": 3.0,
5
- "global_step": 783,
6
  "is_hyper_param_search": false,
7
  "is_local_process_zero": true,
8
  "is_world_process_zero": true,
9
  "log_history": [
10
  {
11
- "epoch": 0.19,
12
- "eval_accuracy": 0.91270582927851,
13
- "eval_f1": 0.5330463206569401,
14
- "eval_loss": 0.30788546800613403,
15
- "eval_precision": 0.5643146522619852,
16
- "eval_recall": 0.5050611874905575,
17
- "eval_runtime": 2.4975,
18
- "eval_samples_per_second": 767.156,
19
- "eval_steps_per_second": 24.024,
20
- "step": 50
21
- },
22
- {
23
- "epoch": 0.38,
24
- "eval_accuracy": 0.9365030773692521,
25
- "eval_f1": 0.6476262245666917,
26
- "eval_loss": 0.21293185651302338,
27
- "eval_precision": 0.6460682604119681,
28
- "eval_recall": 0.6491917208037468,
29
- "eval_runtime": 2.2575,
30
- "eval_samples_per_second": 848.725,
31
- "eval_steps_per_second": 26.578,
32
  "step": 100
33
  },
34
  {
35
- "epoch": 0.57,
36
- "eval_accuracy": 0.944736248509651,
37
- "eval_f1": 0.699864396564713,
38
- "eval_loss": 0.18722735345363617,
39
- "eval_precision": 0.6979714500375658,
40
- "eval_recall": 0.7017676386161051,
41
- "eval_runtime": 2.3182,
42
- "eval_samples_per_second": 826.488,
43
- "eval_steps_per_second": 25.882,
44
- "step": 150
45
- },
46
- {
47
- "epoch": 0.77,
48
- "eval_accuracy": 0.9477975058808366,
49
- "eval_f1": 0.7246957554170377,
50
- "eval_loss": 0.17380821704864502,
51
- "eval_precision": 0.7121190024792183,
52
- "eval_recall": 0.7377247318326031,
53
- "eval_runtime": 2.3996,
54
- "eval_samples_per_second": 798.478,
55
- "eval_steps_per_second": 25.005,
56
  "step": 200
57
  },
58
  {
59
- "epoch": 0.96,
60
- "eval_accuracy": 0.9545644958592466,
61
- "eval_f1": 0.7617755671113121,
62
- "eval_loss": 0.15325294435024261,
63
- "eval_precision": 0.76,
64
- "eval_recall": 0.7635594500679861,
65
- "eval_runtime": 1.8255,
66
- "eval_samples_per_second": 1049.569,
67
- "eval_steps_per_second": 32.867,
68
- "step": 250
69
- },
70
- {
71
- "epoch": 1.15,
72
- "eval_accuracy": 0.9546450552637515,
73
- "eval_f1": 0.7736564335092545,
74
- "eval_loss": 0.14816872775554657,
75
- "eval_precision": 0.7614866842259291,
76
- "eval_recall": 0.7862214836077958,
77
- "eval_runtime": 2.4706,
78
- "eval_samples_per_second": 775.515,
79
- "eval_steps_per_second": 24.285,
80
  "step": 300
81
  },
82
  {
83
- "epoch": 1.34,
84
- "eval_accuracy": 0.9547578384300583,
85
- "eval_f1": 0.7661177165645078,
86
- "eval_loss": 0.15087640285491943,
87
- "eval_precision": 0.7493498988731581,
88
- "eval_recall": 0.7836531198066173,
89
- "eval_runtime": 2.4417,
90
- "eval_samples_per_second": 784.692,
91
- "eval_steps_per_second": 24.573,
92
- "step": 350
93
- },
94
- {
95
- "epoch": 1.53,
96
- "eval_accuracy": 0.9578996552057487,
97
- "eval_f1": 0.7852530409971468,
98
- "eval_loss": 0.14353066682815552,
99
- "eval_precision": 0.780564263322884,
100
- "eval_recall": 0.789998489197764,
101
- "eval_runtime": 2.5039,
102
- "eval_samples_per_second": 765.209,
103
- "eval_steps_per_second": 23.963,
104
  "step": 400
105
  },
106
  {
107
- "epoch": 1.72,
108
- "eval_accuracy": 0.9558856700931266,
109
- "eval_f1": 0.7782641509433962,
110
- "eval_loss": 0.14613068103790283,
111
- "eval_precision": 0.7775599457095461,
112
- "eval_recall": 0.7789696328750566,
113
- "eval_runtime": 2.4226,
114
- "eval_samples_per_second": 790.884,
115
- "eval_steps_per_second": 24.767,
116
- "step": 450
117
- },
118
- {
119
- "epoch": 1.92,
120
- "learning_rate": 1.826309067688378e-05,
121
- "loss": 0.1857,
122
  "step": 500
123
  },
124
  {
125
- "epoch": 1.92,
126
- "eval_accuracy": 0.9570457255179969,
127
- "eval_f1": 0.7807983224743502,
128
- "eval_loss": 0.14462997019290924,
129
- "eval_precision": 0.7741312741312741,
130
- "eval_recall": 0.7875812056201843,
131
- "eval_runtime": 1.851,
132
- "eval_samples_per_second": 1035.138,
133
- "eval_steps_per_second": 32.416,
134
  "step": 500
135
  },
136
  {
137
- "epoch": 2.11,
138
- "eval_accuracy": 0.9570618373988979,
139
- "eval_f1": 0.7854627201198952,
140
- "eval_loss": 0.14743077754974365,
141
- "eval_precision": 0.77921498661909,
142
- "eval_recall": 0.7918114518809488,
143
- "eval_runtime": 1.8311,
144
- "eval_samples_per_second": 1046.348,
145
- "eval_steps_per_second": 32.767,
146
- "step": 550
147
- },
148
- {
149
- "epoch": 2.3,
150
- "eval_accuracy": 0.9581413334192633,
151
- "eval_f1": 0.7868118752797255,
152
- "eval_loss": 0.14506658911705017,
153
- "eval_precision": 0.7770738175924562,
154
- "eval_recall": 0.7967970992597069,
155
- "eval_runtime": 2.5694,
156
- "eval_samples_per_second": 745.706,
157
- "eval_steps_per_second": 23.352,
158
- "step": 600
159
- },
160
- {
161
- "epoch": 2.49,
162
- "eval_accuracy": 0.9588502561789063,
163
- "eval_f1": 0.7950245791747356,
164
- "eval_loss": 0.1408379226922989,
165
- "eval_precision": 0.7840458351696783,
166
- "eval_recall": 0.806315153346427,
167
- "eval_runtime": 2.2646,
168
- "eval_samples_per_second": 846.054,
169
- "eval_steps_per_second": 26.494,
170
- "step": 650
171
- },
172
- {
173
- "epoch": 2.68,
174
- "eval_accuracy": 0.9592047175587278,
175
- "eval_f1": 0.799455741174692,
176
- "eval_loss": 0.14132483303546906,
177
- "eval_precision": 0.8,
178
- "eval_recall": 0.7989122223900892,
179
- "eval_runtime": 2.2902,
180
- "eval_samples_per_second": 836.619,
181
- "eval_steps_per_second": 26.199,
182
- "step": 700
183
- },
184
- {
185
- "epoch": 2.87,
186
- "eval_accuracy": 0.9591886056778268,
187
- "eval_f1": 0.798218464558013,
188
- "eval_loss": 0.14295388758182526,
189
- "eval_precision": 0.7976765238382619,
190
- "eval_recall": 0.7987611421664904,
191
- "eval_runtime": 2.1296,
192
- "eval_samples_per_second": 899.69,
193
- "eval_steps_per_second": 28.174,
194
- "step": 750
195
- },
196
- {
197
- "epoch": 3.0,
198
- "step": 783,
199
- "total_flos": 630881172395712.0,
200
- "train_loss": 0.1423617688175362,
201
- "train_runtime": 92.3444,
202
- "train_samples_per_second": 270.423,
203
- "train_steps_per_second": 8.479
204
  }
205
  ],
206
- "max_steps": 783,
207
- "num_train_epochs": 3,
208
- "total_flos": 630881172395712.0,
209
  "trial_name": null,
210
  "trial_params": null
211
  }
 
1
  {
2
+ "best_metric": 0.13593988120555878,
3
+ "best_model_checkpoint": "/home/sdonoso/data/all_results/ner-c/distillbert/epochs_4_bs_64_lr_5e-5/checkpoint-500",
4
+ "epoch": 4.0,
5
+ "global_step": 524,
6
  "is_hyper_param_search": false,
7
  "is_local_process_zero": true,
8
  "is_world_process_zero": true,
9
  "log_history": [
10
  {
11
+ "epoch": 0.76,
12
+ "eval_accuracy": 0.9476202751909258,
13
+ "eval_f1": 0.7172177028136428,
14
+ "eval_loss": 0.1729145497083664,
15
+ "eval_precision": 0.7087020648967551,
16
+ "eval_recall": 0.7259404743919021,
17
+ "eval_runtime": 1.7788,
18
+ "eval_samples_per_second": 1077.132,
19
+ "eval_steps_per_second": 16.865,
 
 
 
 
 
 
 
 
 
 
 
 
20
  "step": 100
21
  },
22
  {
23
+ "epoch": 1.53,
24
+ "eval_accuracy": 0.9522766087713079,
25
+ "eval_f1": 0.7523824162311713,
26
+ "eval_loss": 0.1584220975637436,
27
+ "eval_precision": 0.765681213827624,
28
+ "eval_recall": 0.7395376945157879,
29
+ "eval_runtime": 1.776,
30
+ "eval_samples_per_second": 1078.832,
31
+ "eval_steps_per_second": 16.892,
 
 
 
 
 
 
 
 
 
 
 
 
32
  "step": 200
33
  },
34
  {
35
+ "epoch": 2.29,
36
+ "eval_accuracy": 0.9581574453001643,
37
+ "eval_f1": 0.7900313386061781,
38
+ "eval_loss": 0.13973243534564972,
39
+ "eval_precision": 0.7804806132979507,
40
+ "eval_recall": 0.7998187037316815,
41
+ "eval_runtime": 1.7908,
42
+ "eval_samples_per_second": 1069.888,
43
+ "eval_steps_per_second": 16.752,
 
 
 
 
 
 
 
 
 
 
 
 
44
  "step": 300
45
  },
46
  {
47
+ "epoch": 3.05,
48
+ "eval_accuracy": 0.9592047175587278,
49
+ "eval_f1": 0.7948698717467937,
50
+ "eval_loss": 0.1360633671283722,
51
+ "eval_precision": 0.7892463509085493,
52
+ "eval_recall": 0.8005741048496752,
53
+ "eval_runtime": 1.7307,
54
+ "eval_samples_per_second": 1107.051,
55
+ "eval_steps_per_second": 17.334,
 
 
 
 
 
 
 
 
 
 
 
 
56
  "step": 400
57
  },
58
  {
59
+ "epoch": 3.82,
60
+ "learning_rate": 2.5763358778625957e-06,
61
+ "loss": 0.1581,
 
 
 
 
 
 
 
 
 
 
 
 
62
  "step": 500
63
  },
64
  {
65
+ "epoch": 3.82,
66
+ "eval_accuracy": 0.9594786195340445,
67
+ "eval_f1": 0.7985358930305521,
68
+ "eval_loss": 0.13593988120555878,
69
+ "eval_precision": 0.7897458628841607,
70
+ "eval_recall": 0.8075237951352168,
71
+ "eval_runtime": 1.769,
72
+ "eval_samples_per_second": 1083.1,
73
+ "eval_steps_per_second": 16.959,
74
  "step": 500
75
  },
76
  {
77
+ "epoch": 4.0,
78
+ "step": 524,
79
+ "total_flos": 997670842354368.0,
80
+ "train_loss": 0.15398232195213551,
81
+ "train_runtime": 729.0203,
82
+ "train_samples_per_second": 45.672,
83
+ "train_steps_per_second": 0.719
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  }
85
  ],
86
+ "max_steps": 524,
87
+ "num_train_epochs": 4,
88
+ "total_flos": 997670842354368.0,
89
  "trial_name": null,
90
  "trial_params": null
91
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2e9e0d49e93a9c1d8cd83593ab4e7b528f7ce2eae90f3212a798e9af265a22af
3
  size 2863
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14accc8dc446d473155620c0432148b8817472fb76e901132b3159466838521a
3
  size 2863