Noemi Aepli commited on
Commit
88cf499
1 Parent(s): 71bdd8f

first model version

Browse files
config.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/user/naepli/noisepp/gsw_pos_best/DEbert_swisscrawl_ftDE-xpos-noise",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "finetuning_task": "ner",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "$(",
14
+ "1": "$,",
15
+ "2": "$.",
16
+ "3": "ADJA",
17
+ "4": "ADJD",
18
+ "5": "ADV",
19
+ "6": "APPO",
20
+ "7": "APPR",
21
+ "8": "APPRART",
22
+ "9": "APZR",
23
+ "10": "ART",
24
+ "11": "CARD",
25
+ "12": "FM",
26
+ "13": "ITJ",
27
+ "14": "KOKOM",
28
+ "15": "KON",
29
+ "16": "KOUI",
30
+ "17": "KOUS",
31
+ "18": "NE",
32
+ "19": "NN",
33
+ "20": "PDAT",
34
+ "21": "PDS",
35
+ "22": "PIAT",
36
+ "23": "PIDAT",
37
+ "24": "PIS",
38
+ "25": "PPER",
39
+ "26": "PPOSAT",
40
+ "27": "PPOSS",
41
+ "28": "PRELAT",
42
+ "29": "PRELS",
43
+ "30": "PRF",
44
+ "31": "PROAV",
45
+ "32": "PTKA",
46
+ "33": "PTKANT",
47
+ "34": "PTKNEG",
48
+ "35": "PTKVZ",
49
+ "36": "PTKZU",
50
+ "37": "PWAT",
51
+ "38": "PWAV",
52
+ "39": "PWS",
53
+ "40": "TRUNC",
54
+ "41": "VAFIN",
55
+ "42": "VAIMP",
56
+ "43": "VAINF",
57
+ "44": "VAPP",
58
+ "45": "VMFIN",
59
+ "46": "VMINF",
60
+ "47": "VMPP",
61
+ "48": "VVFIN",
62
+ "49": "VVIMP",
63
+ "50": "VVINF",
64
+ "51": "VVIZU",
65
+ "52": "VVPP",
66
+ "53": "XY"
67
+ },
68
+ "initializer_range": 0.02,
69
+ "intermediate_size": 3072,
70
+ "label2id": {
71
+ "$(": 0,
72
+ "$,": 1,
73
+ "$.": 2,
74
+ "ADJA": 3,
75
+ "ADJD": 4,
76
+ "ADV": 5,
77
+ "APPO": 6,
78
+ "APPR": 7,
79
+ "APPRART": 8,
80
+ "APZR": 9,
81
+ "ART": 10,
82
+ "CARD": 11,
83
+ "FM": 12,
84
+ "ITJ": 13,
85
+ "KOKOM": 14,
86
+ "KON": 15,
87
+ "KOUI": 16,
88
+ "KOUS": 17,
89
+ "NE": 18,
90
+ "NN": 19,
91
+ "PDAT": 20,
92
+ "PDS": 21,
93
+ "PIAT": 22,
94
+ "PIDAT": 23,
95
+ "PIS": 24,
96
+ "PPER": 25,
97
+ "PPOSAT": 26,
98
+ "PPOSS": 27,
99
+ "PRELAT": 28,
100
+ "PRELS": 29,
101
+ "PRF": 30,
102
+ "PROAV": 31,
103
+ "PTKA": 32,
104
+ "PTKANT": 33,
105
+ "PTKNEG": 34,
106
+ "PTKVZ": 35,
107
+ "PTKZU": 36,
108
+ "PWAT": 37,
109
+ "PWAV": 38,
110
+ "PWS": 39,
111
+ "TRUNC": 40,
112
+ "VAFIN": 41,
113
+ "VAIMP": 42,
114
+ "VAINF": 43,
115
+ "VAPP": 44,
116
+ "VMFIN": 45,
117
+ "VMINF": 46,
118
+ "VMPP": 47,
119
+ "VVFIN": 48,
120
+ "VVIMP": 49,
121
+ "VVINF": 50,
122
+ "VVIZU": 51,
123
+ "VVPP": 52,
124
+ "XY": 53
125
+ },
126
+ "layer_norm_eps": 1e-12,
127
+ "max_position_embeddings": 512,
128
+ "model_type": "bert",
129
+ "num_attention_heads": 12,
130
+ "num_hidden_layers": 12,
131
+ "output_past": true,
132
+ "pad_token_id": 0,
133
+ "position_embedding_type": "absolute",
134
+ "torch_dtype": "float32",
135
+ "transformers_version": "4.25.0.dev0",
136
+ "type_vocab_size": 2,
137
+ "use_cache": true,
138
+ "vocab_size": 31102
139
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b5130babacfc8b11f22774d275e98e9c4a2805bf7f3823f7b549f3c093b8f84
3
+ size 437586605
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "max_len": 512,
7
+ "name_or_path": "/home/user/naepli/noisepp/gsw_pos_best/DEbert_swisscrawl_ftDE-xpos-noise",
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }
trainer_state.json ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.2828419506549835,
3
+ "best_model_checkpoint": "//home/user/naepli/noisepp/gsw_pos_best/DEbert_swisscrawl_ftDE-xpos-noise_ftGSW_v2/checkpoint-10000",
4
+ "epoch": 5.0,
5
+ "global_step": 14725,
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.17,
12
+ "learning_rate": 4.8302207130730054e-05,
13
+ "loss": 0.1584,
14
+ "step": 500
15
+ },
16
+ {
17
+ "epoch": 0.34,
18
+ "learning_rate": 4.6604414261460106e-05,
19
+ "loss": 0.1276,
20
+ "step": 1000
21
+ },
22
+ {
23
+ "epoch": 0.34,
24
+ "eval_accuracy": 0.9205043369399982,
25
+ "eval_f1": 0.9128971962616822,
26
+ "eval_loss": 0.3129468858242035,
27
+ "eval_precision": 0.9137511693171187,
28
+ "eval_recall": 0.9120448179271708,
29
+ "eval_runtime": 2.3351,
30
+ "eval_samples_per_second": 313.471,
31
+ "eval_steps_per_second": 39.398,
32
+ "step": 1000
33
+ },
34
+ {
35
+ "epoch": 0.51,
36
+ "learning_rate": 4.490662139219016e-05,
37
+ "loss": 0.1257,
38
+ "step": 1500
39
+ },
40
+ {
41
+ "epoch": 0.68,
42
+ "learning_rate": 4.320882852292021e-05,
43
+ "loss": 0.1137,
44
+ "step": 2000
45
+ },
46
+ {
47
+ "epoch": 0.68,
48
+ "eval_accuracy": 0.9290887954931593,
49
+ "eval_f1": 0.9225095696013444,
50
+ "eval_loss": 0.28120967745780945,
51
+ "eval_precision": 0.9224234503360716,
52
+ "eval_recall": 0.9225957049486462,
53
+ "eval_runtime": 2.3612,
54
+ "eval_samples_per_second": 310.007,
55
+ "eval_steps_per_second": 38.963,
56
+ "step": 2000
57
+ },
58
+ {
59
+ "epoch": 0.85,
60
+ "learning_rate": 4.1511035653650255e-05,
61
+ "loss": 0.1123,
62
+ "step": 2500
63
+ },
64
+ {
65
+ "epoch": 1.02,
66
+ "learning_rate": 3.981324278438031e-05,
67
+ "loss": 0.102,
68
+ "step": 3000
69
+ },
70
+ {
71
+ "epoch": 1.02,
72
+ "eval_accuracy": 0.9374049897165341,
73
+ "eval_f1": 0.930929808994536,
74
+ "eval_loss": 0.2500903308391571,
75
+ "eval_precision": 0.9312342333925068,
76
+ "eval_recall": 0.9306255835667601,
77
+ "eval_runtime": 1.3009,
78
+ "eval_samples_per_second": 562.677,
79
+ "eval_steps_per_second": 70.719,
80
+ "step": 3000
81
+ },
82
+ {
83
+ "epoch": 1.19,
84
+ "learning_rate": 3.811544991511036e-05,
85
+ "loss": 0.067,
86
+ "step": 3500
87
+ },
88
+ {
89
+ "epoch": 1.36,
90
+ "learning_rate": 3.641765704584041e-05,
91
+ "loss": 0.0674,
92
+ "step": 4000
93
+ },
94
+ {
95
+ "epoch": 1.36,
96
+ "eval_accuracy": 0.9362425109541268,
97
+ "eval_f1": 0.9298311094522721,
98
+ "eval_loss": 0.25322550535202026,
99
+ "eval_precision": 0.9292241700857888,
100
+ "eval_recall": 0.9304388422035481,
101
+ "eval_runtime": 1.2863,
102
+ "eval_samples_per_second": 569.086,
103
+ "eval_steps_per_second": 71.524,
104
+ "step": 4000
105
+ },
106
+ {
107
+ "epoch": 1.53,
108
+ "learning_rate": 3.471986417657046e-05,
109
+ "loss": 0.0659,
110
+ "step": 4500
111
+ },
112
+ {
113
+ "epoch": 1.7,
114
+ "learning_rate": 3.3022071307300515e-05,
115
+ "loss": 0.0671,
116
+ "step": 5000
117
+ },
118
+ {
119
+ "epoch": 1.7,
120
+ "eval_accuracy": 0.9383886255924171,
121
+ "eval_f1": 0.9333582403213002,
122
+ "eval_loss": 0.257250040769577,
123
+ "eval_precision": 0.9336634588433149,
124
+ "eval_recall": 0.9330532212885154,
125
+ "eval_runtime": 2.4588,
126
+ "eval_samples_per_second": 297.711,
127
+ "eval_steps_per_second": 37.417,
128
+ "step": 5000
129
+ },
130
+ {
131
+ "epoch": 1.87,
132
+ "learning_rate": 3.132427843803056e-05,
133
+ "loss": 0.0683,
134
+ "step": 5500
135
+ },
136
+ {
137
+ "epoch": 2.04,
138
+ "learning_rate": 2.9626485568760615e-05,
139
+ "loss": 0.0547,
140
+ "step": 6000
141
+ },
142
+ {
143
+ "epoch": 2.04,
144
+ "eval_accuracy": 0.9407135831172315,
145
+ "eval_f1": 0.9349024002988698,
146
+ "eval_loss": 0.2575545907020569,
147
+ "eval_precision": 0.9351644245142003,
148
+ "eval_recall": 0.934640522875817,
149
+ "eval_runtime": 1.2898,
150
+ "eval_samples_per_second": 567.536,
151
+ "eval_steps_per_second": 71.33,
152
+ "step": 6000
153
+ },
154
+ {
155
+ "epoch": 2.21,
156
+ "learning_rate": 2.7928692699490667e-05,
157
+ "loss": 0.0356,
158
+ "step": 6500
159
+ },
160
+ {
161
+ "epoch": 2.38,
162
+ "learning_rate": 2.6230899830220713e-05,
163
+ "loss": 0.0368,
164
+ "step": 7000
165
+ },
166
+ {
167
+ "epoch": 2.38,
168
+ "eval_accuracy": 0.9416972189931145,
169
+ "eval_f1": 0.9363886685023568,
170
+ "eval_loss": 0.2715625464916229,
171
+ "eval_precision": 0.9360828590090511,
172
+ "eval_recall": 0.9366946778711485,
173
+ "eval_runtime": 1.2849,
174
+ "eval_samples_per_second": 569.686,
175
+ "eval_steps_per_second": 71.6,
176
+ "step": 7000
177
+ },
178
+ {
179
+ "epoch": 2.55,
180
+ "learning_rate": 2.4533106960950768e-05,
181
+ "loss": 0.0367,
182
+ "step": 7500
183
+ },
184
+ {
185
+ "epoch": 2.72,
186
+ "learning_rate": 2.2835314091680816e-05,
187
+ "loss": 0.0383,
188
+ "step": 8000
189
+ },
190
+ {
191
+ "epoch": 2.72,
192
+ "eval_accuracy": 0.9413395332200661,
193
+ "eval_f1": 0.9358543417366947,
194
+ "eval_loss": 0.2626907527446747,
195
+ "eval_precision": 0.9358543417366947,
196
+ "eval_recall": 0.9358543417366947,
197
+ "eval_runtime": 1.3044,
198
+ "eval_samples_per_second": 561.17,
199
+ "eval_steps_per_second": 70.53,
200
+ "step": 8000
201
+ },
202
+ {
203
+ "epoch": 2.89,
204
+ "learning_rate": 2.1137521222410865e-05,
205
+ "loss": 0.0381,
206
+ "step": 8500
207
+ },
208
+ {
209
+ "epoch": 3.06,
210
+ "learning_rate": 1.9439728353140917e-05,
211
+ "loss": 0.032,
212
+ "step": 9000
213
+ },
214
+ {
215
+ "epoch": 3.06,
216
+ "eval_accuracy": 0.9429491191987839,
217
+ "eval_f1": 0.9374211338038043,
218
+ "eval_loss": 0.2770785689353943,
219
+ "eval_precision": 0.938429868064003,
220
+ "eval_recall": 0.9364145658263305,
221
+ "eval_runtime": 1.3011,
222
+ "eval_samples_per_second": 562.587,
223
+ "eval_steps_per_second": 70.708,
224
+ "step": 9000
225
+ },
226
+ {
227
+ "epoch": 3.23,
228
+ "learning_rate": 1.774193548387097e-05,
229
+ "loss": 0.0203,
230
+ "step": 9500
231
+ },
232
+ {
233
+ "epoch": 3.4,
234
+ "learning_rate": 1.6044142614601017e-05,
235
+ "loss": 0.0195,
236
+ "step": 10000
237
+ },
238
+ {
239
+ "epoch": 3.4,
240
+ "eval_accuracy": 0.9438433336314048,
241
+ "eval_f1": 0.9383257855175311,
242
+ "eval_loss": 0.2828419506549835,
243
+ "eval_precision": 0.9383695956671958,
244
+ "eval_recall": 0.93828197945845,
245
+ "eval_runtime": 1.3079,
246
+ "eval_samples_per_second": 559.696,
247
+ "eval_steps_per_second": 70.344,
248
+ "step": 10000
249
+ },
250
+ {
251
+ "epoch": 3.57,
252
+ "learning_rate": 1.434634974533107e-05,
253
+ "loss": 0.0176,
254
+ "step": 10500
255
+ },
256
+ {
257
+ "epoch": 3.74,
258
+ "learning_rate": 1.2648556876061121e-05,
259
+ "loss": 0.0186,
260
+ "step": 11000
261
+ },
262
+ {
263
+ "epoch": 3.74,
264
+ "eval_accuracy": 0.9435750693016185,
265
+ "eval_f1": 0.9380398748657608,
266
+ "eval_loss": 0.30645471811294556,
267
+ "eval_precision": 0.9381712898104044,
268
+ "eval_recall": 0.9379084967320261,
269
+ "eval_runtime": 1.2883,
270
+ "eval_samples_per_second": 568.19,
271
+ "eval_steps_per_second": 71.412,
272
+ "step": 11000
273
+ },
274
+ {
275
+ "epoch": 3.9,
276
+ "learning_rate": 1.0950764006791173e-05,
277
+ "loss": 0.0195,
278
+ "step": 11500
279
+ },
280
+ {
281
+ "epoch": 4.07,
282
+ "learning_rate": 9.252971137521223e-06,
283
+ "loss": 0.0146,
284
+ "step": 12000
285
+ },
286
+ {
287
+ "epoch": 4.07,
288
+ "eval_accuracy": 0.9447375480640258,
289
+ "eval_f1": 0.9395509499136442,
290
+ "eval_loss": 0.3018830716609955,
291
+ "eval_precision": 0.939419396994306,
292
+ "eval_recall": 0.9396825396825397,
293
+ "eval_runtime": 1.2869,
294
+ "eval_samples_per_second": 568.801,
295
+ "eval_steps_per_second": 71.489,
296
+ "step": 12000
297
+ },
298
+ {
299
+ "epoch": 4.24,
300
+ "learning_rate": 7.5551782682512745e-06,
301
+ "loss": 0.0104,
302
+ "step": 12500
303
+ },
304
+ {
305
+ "epoch": 4.41,
306
+ "learning_rate": 5.857385398981325e-06,
307
+ "loss": 0.0088,
308
+ "step": 13000
309
+ },
310
+ {
311
+ "epoch": 4.41,
312
+ "eval_accuracy": 0.9442010194044532,
313
+ "eval_f1": 0.9391718407170534,
314
+ "eval_loss": 0.31471893191337585,
315
+ "eval_precision": 0.9391279992531043,
316
+ "eval_recall": 0.9392156862745098,
317
+ "eval_runtime": 1.283,
318
+ "eval_samples_per_second": 570.548,
319
+ "eval_steps_per_second": 71.708,
320
+ "step": 13000
321
+ },
322
+ {
323
+ "epoch": 4.58,
324
+ "learning_rate": 4.159592529711375e-06,
325
+ "loss": 0.0091,
326
+ "step": 13500
327
+ },
328
+ {
329
+ "epoch": 4.75,
330
+ "learning_rate": 2.461799660441426e-06,
331
+ "loss": 0.01,
332
+ "step": 14000
333
+ },
334
+ {
335
+ "epoch": 4.75,
336
+ "eval_accuracy": 0.9451846552803362,
337
+ "eval_f1": 0.939825404976425,
338
+ "eval_loss": 0.3139691650867462,
339
+ "eval_precision": 0.9397815330034544,
340
+ "eval_recall": 0.9398692810457516,
341
+ "eval_runtime": 1.3004,
342
+ "eval_samples_per_second": 562.918,
343
+ "eval_steps_per_second": 70.749,
344
+ "step": 14000
345
+ },
346
+ {
347
+ "epoch": 4.92,
348
+ "learning_rate": 7.640067911714771e-07,
349
+ "loss": 0.0091,
350
+ "step": 14500
351
+ },
352
+ {
353
+ "epoch": 5.0,
354
+ "step": 14725,
355
+ "total_flos": 3264317950832928.0,
356
+ "train_loss": 0.05123547306287471,
357
+ "train_runtime": 906.0685,
358
+ "train_samples_per_second": 130.001,
359
+ "train_steps_per_second": 16.252
360
+ }
361
+ ],
362
+ "max_steps": 14725,
363
+ "num_train_epochs": 5,
364
+ "total_flos": 3264317950832928.0,
365
+ "trial_name": null,
366
+ "trial_params": null
367
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0fffcdbbd109cc6eeccf4444f4fa5af5f4a3e614f99dba1d60e95397725adeb
3
+ size 3643
vocab.txt ADDED
The diff for this file is too large to render. See raw diff