Xmm commited on
Commit
bacf633
1 Parent(s): 20422cb

Upload 11 files

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/xlm-v-base",
3
+ "architectures": [
4
+ "XLMRobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6
32
+ },
33
+ "layer_norm_eps": 1e-05,
34
+ "max_position_embeddings": 514,
35
+ "model_type": "xlm-roberta",
36
+ "num_attention_heads": 12,
37
+ "num_hidden_layers": 12,
38
+ "pad_token_id": 1,
39
+ "position_embedding_type": "absolute",
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.38.1",
42
+ "type_vocab_size": 1,
43
+ "use_cache": true,
44
+ "vocab_size": 901629
45
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da9c76f91c340c43d00e90b30b080373a0dd6615a7e02480016eb919b5c67da9
3
+ size 3111656212
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5c5b28dd2354302b279aed74a13d3a719376bf9b72edbf8ba24e4989e51956c
3
+ size 6223436042
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44213e11b20ad35cc12ee23e9b37516197be0a22514fe7582c6f89a61de845f3
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31026445b691f1b7b313e7e4d39feecc6ba53ee700f381fcaf28d9a5411a611c
3
+ size 1064
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbee9f6b1c2cba29b335e70d6088eea943c7d5ae55ac7dd17174760bf758e309
3
+ size 18241665
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0caa1fc1011983a517970e9f788dcf9eddd8cee76f9139aa3989b05b636c38f
3
+ size 61333737
tokenizer_config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "901628": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "XLMRobertaTokenizer",
53
+ "unk_token": "<unk>"
54
+ }
trainer_state.json ADDED
@@ -0,0 +1,351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.3108769357204437,
3
+ "best_model_checkpoint": "./checkpoint-xlm-v-base/checkpoint-15000",
4
+ "epoch": 0.6640694173897644,
5
+ "eval_steps": 1000,
6
+ "global_step": 15000,
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.04,
13
+ "grad_norm": 46.0612678527832,
14
+ "learning_rate": 1.9873510587163855e-05,
15
+ "loss": 0.943,
16
+ "step": 1000
17
+ },
18
+ {
19
+ "epoch": 0.04,
20
+ "eval_LOC_f1": 0.6007898672649095,
21
+ "eval_ORG_f1": 0.5205864729691723,
22
+ "eval_PER_f1": 0.6537866457692849,
23
+ "eval_loss": 0.5755352973937988,
24
+ "eval_overall_accuracy": 0.813493507822672,
25
+ "eval_overall_f1": 0.5959796923883924,
26
+ "eval_overall_precision": 0.571592844668358,
27
+ "eval_overall_recall": 0.622540194436182,
28
+ "eval_runtime": 909.7639,
29
+ "eval_samples_per_second": 72.217,
30
+ "eval_steps_per_second": 0.282,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 0.09,
35
+ "grad_norm": 5.543514251708984,
36
+ "learning_rate": 1.974702117432771e-05,
37
+ "loss": 0.5825,
38
+ "step": 2000
39
+ },
40
+ {
41
+ "epoch": 0.09,
42
+ "eval_LOC_f1": 0.6761863812260971,
43
+ "eval_ORG_f1": 0.573783382357224,
44
+ "eval_PER_f1": 0.7231398018028106,
45
+ "eval_loss": 0.5157074332237244,
46
+ "eval_overall_accuracy": 0.844698117312631,
47
+ "eval_overall_f1": 0.664661446599853,
48
+ "eval_overall_precision": 0.690302943433134,
49
+ "eval_overall_recall": 0.640856646367237,
50
+ "eval_runtime": 884.4485,
51
+ "eval_samples_per_second": 74.284,
52
+ "eval_steps_per_second": 0.291,
53
+ "step": 2000
54
+ },
55
+ {
56
+ "epoch": 0.13,
57
+ "grad_norm": 30.680952072143555,
58
+ "learning_rate": 1.9620531761491565e-05,
59
+ "loss": 0.5153,
60
+ "step": 3000
61
+ },
62
+ {
63
+ "epoch": 0.13,
64
+ "eval_LOC_f1": 0.6448332585613877,
65
+ "eval_ORG_f1": 0.5780655943179445,
66
+ "eval_PER_f1": 0.749264457627936,
67
+ "eval_loss": 0.4841216504573822,
68
+ "eval_overall_accuracy": 0.8415159100197845,
69
+ "eval_overall_f1": 0.6599932560127353,
70
+ "eval_overall_precision": 0.6612013701212998,
71
+ "eval_overall_recall": 0.6587895486638383,
72
+ "eval_runtime": 887.5751,
73
+ "eval_samples_per_second": 74.022,
74
+ "eval_steps_per_second": 0.29,
75
+ "step": 3000
76
+ },
77
+ {
78
+ "epoch": 0.18,
79
+ "grad_norm": 14.460062026977539,
80
+ "learning_rate": 1.949404234865542e-05,
81
+ "loss": 0.4744,
82
+ "step": 4000
83
+ },
84
+ {
85
+ "epoch": 0.18,
86
+ "eval_LOC_f1": 0.7135048963789569,
87
+ "eval_ORG_f1": 0.6044746860257756,
88
+ "eval_PER_f1": 0.7562344421814889,
89
+ "eval_loss": 0.4284209907054901,
90
+ "eval_overall_accuracy": 0.8650805108611886,
91
+ "eval_overall_f1": 0.6945276906141412,
92
+ "eval_overall_precision": 0.6951840204528166,
93
+ "eval_overall_recall": 0.6938725989010129,
94
+ "eval_runtime": 884.4505,
95
+ "eval_samples_per_second": 74.283,
96
+ "eval_steps_per_second": 0.291,
97
+ "step": 4000
98
+ },
99
+ {
100
+ "epoch": 0.22,
101
+ "grad_norm": 2.3655357360839844,
102
+ "learning_rate": 1.9367552935819272e-05,
103
+ "loss": 0.4385,
104
+ "step": 5000
105
+ },
106
+ {
107
+ "epoch": 0.22,
108
+ "eval_LOC_f1": 0.7295629535257298,
109
+ "eval_ORG_f1": 0.6200475216886777,
110
+ "eval_PER_f1": 0.7408250910983861,
111
+ "eval_loss": 0.4239448308944702,
112
+ "eval_overall_accuracy": 0.8635053351958905,
113
+ "eval_overall_f1": 0.7025319684063077,
114
+ "eval_overall_precision": 0.7043199823770524,
115
+ "eval_overall_recall": 0.7007530096904989,
116
+ "eval_runtime": 907.5971,
117
+ "eval_samples_per_second": 72.389,
118
+ "eval_steps_per_second": 0.283,
119
+ "step": 5000
120
+ },
121
+ {
122
+ "epoch": 0.27,
123
+ "grad_norm": 9.867854118347168,
124
+ "learning_rate": 1.924106352298313e-05,
125
+ "loss": 0.4279,
126
+ "step": 6000
127
+ },
128
+ {
129
+ "epoch": 0.27,
130
+ "eval_LOC_f1": 0.7370099725835874,
131
+ "eval_ORG_f1": 0.6403813434199981,
132
+ "eval_PER_f1": 0.7776639577500056,
133
+ "eval_loss": 0.38233184814453125,
134
+ "eval_overall_accuracy": 0.8816618781055326,
135
+ "eval_overall_f1": 0.7238370468534203,
136
+ "eval_overall_precision": 0.7385234418271267,
137
+ "eval_overall_recall": 0.7097233746105797,
138
+ "eval_runtime": 948.2573,
139
+ "eval_samples_per_second": 69.285,
140
+ "eval_steps_per_second": 0.271,
141
+ "step": 6000
142
+ },
143
+ {
144
+ "epoch": 0.31,
145
+ "grad_norm": 25.877347946166992,
146
+ "learning_rate": 1.9114574110146982e-05,
147
+ "loss": 0.4099,
148
+ "step": 7000
149
+ },
150
+ {
151
+ "epoch": 0.31,
152
+ "eval_LOC_f1": 0.7575684397708062,
153
+ "eval_ORG_f1": 0.630874803840732,
154
+ "eval_PER_f1": 0.7838224767358626,
155
+ "eval_loss": 0.38040244579315186,
156
+ "eval_overall_accuracy": 0.883136741379065,
157
+ "eval_overall_f1": 0.7288917006049582,
158
+ "eval_overall_precision": 0.7364569017865703,
159
+ "eval_overall_recall": 0.7214803450381201,
160
+ "eval_runtime": 907.1265,
161
+ "eval_samples_per_second": 72.427,
162
+ "eval_steps_per_second": 0.283,
163
+ "step": 7000
164
+ },
165
+ {
166
+ "epoch": 0.35,
167
+ "grad_norm": 30.637121200561523,
168
+ "learning_rate": 1.8988084697310836e-05,
169
+ "loss": 0.3874,
170
+ "step": 8000
171
+ },
172
+ {
173
+ "epoch": 0.35,
174
+ "eval_LOC_f1": 0.7474734456723695,
175
+ "eval_ORG_f1": 0.6407748343462335,
176
+ "eval_PER_f1": 0.7854664027017585,
177
+ "eval_loss": 0.37021398544311523,
178
+ "eval_overall_accuracy": 0.8872800498308584,
179
+ "eval_overall_f1": 0.7295473133392094,
180
+ "eval_overall_precision": 0.74022719948437,
181
+ "eval_overall_recall": 0.7191712196878376,
182
+ "eval_runtime": 884.9913,
183
+ "eval_samples_per_second": 74.238,
184
+ "eval_steps_per_second": 0.29,
185
+ "step": 8000
186
+ },
187
+ {
188
+ "epoch": 0.4,
189
+ "grad_norm": 20.109619140625,
190
+ "learning_rate": 1.8861595284474693e-05,
191
+ "loss": 0.3841,
192
+ "step": 9000
193
+ },
194
+ {
195
+ "epoch": 0.4,
196
+ "eval_LOC_f1": 0.7684967782745274,
197
+ "eval_ORG_f1": 0.655326947582435,
198
+ "eval_PER_f1": 0.789217873159736,
199
+ "eval_loss": 0.3808096945285797,
200
+ "eval_overall_accuracy": 0.8879015799879489,
201
+ "eval_overall_f1": 0.743771496693436,
202
+ "eval_overall_precision": 0.76602787456446,
203
+ "eval_overall_recall": 0.7227718897255663,
204
+ "eval_runtime": 885.0879,
205
+ "eval_samples_per_second": 74.23,
206
+ "eval_steps_per_second": 0.29,
207
+ "step": 9000
208
+ },
209
+ {
210
+ "epoch": 0.44,
211
+ "grad_norm": 10.265982627868652,
212
+ "learning_rate": 1.8735105871638546e-05,
213
+ "loss": 0.3764,
214
+ "step": 10000
215
+ },
216
+ {
217
+ "epoch": 0.44,
218
+ "eval_LOC_f1": 0.7831821749367751,
219
+ "eval_ORG_f1": 0.6622161847467495,
220
+ "eval_PER_f1": 0.7948864849077164,
221
+ "eval_loss": 0.34247785806655884,
222
+ "eval_overall_accuracy": 0.8911041208737209,
223
+ "eval_overall_f1": 0.7509862429761675,
224
+ "eval_overall_precision": 0.7436605881991772,
225
+ "eval_overall_recall": 0.7584576608168825,
226
+ "eval_runtime": 885.3889,
227
+ "eval_samples_per_second": 74.205,
228
+ "eval_steps_per_second": 0.29,
229
+ "step": 10000
230
+ },
231
+ {
232
+ "epoch": 0.49,
233
+ "grad_norm": 4.401586055755615,
234
+ "learning_rate": 1.86086164588024e-05,
235
+ "loss": 0.3564,
236
+ "step": 11000
237
+ },
238
+ {
239
+ "epoch": 0.49,
240
+ "eval_LOC_f1": 0.789610444706057,
241
+ "eval_ORG_f1": 0.6701892389389907,
242
+ "eval_PER_f1": 0.8054954166474735,
243
+ "eval_loss": 0.35062676668167114,
244
+ "eval_overall_accuracy": 0.8928101093201735,
245
+ "eval_overall_f1": 0.7598466310260445,
246
+ "eval_overall_precision": 0.7565214692509428,
247
+ "eval_overall_recall": 0.7632011522144121,
248
+ "eval_runtime": 885.0018,
249
+ "eval_samples_per_second": 74.237,
250
+ "eval_steps_per_second": 0.29,
251
+ "step": 11000
252
+ },
253
+ {
254
+ "epoch": 0.53,
255
+ "grad_norm": 1.0011909008026123,
256
+ "learning_rate": 1.8482127045966253e-05,
257
+ "loss": 0.3484,
258
+ "step": 12000
259
+ },
260
+ {
261
+ "epoch": 0.53,
262
+ "eval_LOC_f1": 0.7712024123633622,
263
+ "eval_ORG_f1": 0.6809512535185331,
264
+ "eval_PER_f1": 0.8100081183474653,
265
+ "eval_loss": 0.37064051628112793,
266
+ "eval_overall_accuracy": 0.8851477337194005,
267
+ "eval_overall_f1": 0.758193057536852,
268
+ "eval_overall_precision": 0.7375241450255696,
269
+ "eval_overall_recall": 0.7800538534996947,
270
+ "eval_runtime": 950.4008,
271
+ "eval_samples_per_second": 69.129,
272
+ "eval_steps_per_second": 0.27,
273
+ "step": 12000
274
+ },
275
+ {
276
+ "epoch": 0.58,
277
+ "grad_norm": 13.891754150390625,
278
+ "learning_rate": 1.8355637633130106e-05,
279
+ "loss": 0.3563,
280
+ "step": 13000
281
+ },
282
+ {
283
+ "epoch": 0.58,
284
+ "eval_LOC_f1": 0.7934942596408595,
285
+ "eval_ORG_f1": 0.6686377545091862,
286
+ "eval_PER_f1": 0.8152987398240509,
287
+ "eval_loss": 0.3389296531677246,
288
+ "eval_overall_accuracy": 0.8935766857734662,
289
+ "eval_overall_f1": 0.7638085016673694,
290
+ "eval_overall_precision": 0.7483700877298401,
291
+ "eval_overall_recall": 0.7798973026284891,
292
+ "eval_runtime": 970.0425,
293
+ "eval_samples_per_second": 67.729,
294
+ "eval_steps_per_second": 0.265,
295
+ "step": 13000
296
+ },
297
+ {
298
+ "epoch": 0.62,
299
+ "grad_norm": 19.86951446533203,
300
+ "learning_rate": 1.8229148220293963e-05,
301
+ "loss": 0.3396,
302
+ "step": 14000
303
+ },
304
+ {
305
+ "epoch": 0.62,
306
+ "eval_LOC_f1": 0.7943446440452429,
307
+ "eval_ORG_f1": 0.6860717813631874,
308
+ "eval_PER_f1": 0.808841180333809,
309
+ "eval_loss": 0.33801111578941345,
310
+ "eval_overall_accuracy": 0.8965501348456104,
311
+ "eval_overall_f1": 0.767065352823492,
312
+ "eval_overall_precision": 0.770362767931157,
313
+ "eval_overall_recall": 0.7637960455249934,
314
+ "eval_runtime": 892.9487,
315
+ "eval_samples_per_second": 73.576,
316
+ "eval_steps_per_second": 0.288,
317
+ "step": 14000
318
+ },
319
+ {
320
+ "epoch": 0.66,
321
+ "grad_norm": 6.008892059326172,
322
+ "learning_rate": 1.8102658807457817e-05,
323
+ "loss": 0.3513,
324
+ "step": 15000
325
+ },
326
+ {
327
+ "epoch": 0.66,
328
+ "eval_LOC_f1": 0.796750172086523,
329
+ "eval_ORG_f1": 0.6869723599718148,
330
+ "eval_PER_f1": 0.8222321051851345,
331
+ "eval_loss": 0.3108769357204437,
332
+ "eval_overall_accuracy": 0.900560597156957,
333
+ "eval_overall_f1": 0.773478314631055,
334
+ "eval_overall_precision": 0.7637860773210824,
335
+ "eval_overall_recall": 0.7834196972306151,
336
+ "eval_runtime": 885.3039,
337
+ "eval_samples_per_second": 74.212,
338
+ "eval_steps_per_second": 0.29,
339
+ "step": 15000
340
+ }
341
+ ],
342
+ "logging_steps": 1000,
343
+ "max_steps": 158116,
344
+ "num_input_tokens_seen": 0,
345
+ "num_train_epochs": 7,
346
+ "save_steps": 500,
347
+ "total_flos": 4767734068578096.0,
348
+ "train_batch_size": 8,
349
+ "trial_name": null,
350
+ "trial_params": null
351
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f37e04eade7d1c18a9a39ac00ad59ef0af4f1bfecc2addaa9cd74c8fa53ef6f
3
+ size 4856