Md Mushfiqur Rahman commited on
Commit
8696c46
1 Parent(s): 3fb861b

Upload with huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - canine
5
+ - pretrained-on-english-language
6
+ ---
7
+
8
+ ### How to use
9
+
10
+ Here is how to use this model:
11
+
12
+ ```python
13
+ from transformers import CanineModel
14
+ model = CanineModel.from_pretrained('mushfiqur11/<repo name>')
15
+ ```
all_results.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 26.32,
3
+ "eval_accuracy": 0.9700717616323291,
4
+ "eval_loss": 0.1844806671142578,
5
+ "eval_runtime": 4.6789,
6
+ "eval_samples": 909,
7
+ "eval_samples_per_second": 194.275,
8
+ "eval_steps_per_second": 24.365,
9
+ "test_accuracy": 0.966618911174785,
10
+ "test_loss": 0.21602918207645416,
11
+ "test_runtime": 3.5065,
12
+ "test_samples": 680,
13
+ "test_samples_per_second": 193.928,
14
+ "test_steps_per_second": 24.241,
15
+ "train_loss": 0.0416443316757679,
16
+ "train_runtime": 1404.0367,
17
+ "train_samples": 6075,
18
+ "train_samples_per_second": 341.871,
19
+ "train_steps_per_second": 10.683
20
+ }
config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-multilingual-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "ADJ",
14
+ "1": "ADP",
15
+ "2": "ADV",
16
+ "3": "AUX",
17
+ "4": "CCONJ",
18
+ "5": "DET",
19
+ "6": "INTJ",
20
+ "7": "NOUN",
21
+ "8": "NUM",
22
+ "9": "PART",
23
+ "10": "PRON",
24
+ "11": "PROPN",
25
+ "12": "PUNCT",
26
+ "13": "SCONJ",
27
+ "14": "SYM",
28
+ "15": "VERB",
29
+ "16": "X"
30
+ },
31
+ "initializer_range": 0.02,
32
+ "intermediate_size": 3072,
33
+ "label2id": {
34
+ "ADJ": 0,
35
+ "ADP": 1,
36
+ "ADV": 2,
37
+ "AUX": 3,
38
+ "CCONJ": 4,
39
+ "DET": 5,
40
+ "INTJ": 6,
41
+ "NOUN": 7,
42
+ "NUM": 8,
43
+ "PART": 9,
44
+ "PRON": 10,
45
+ "PROPN": 11,
46
+ "PUNCT": 12,
47
+ "SCONJ": 13,
48
+ "SYM": 14,
49
+ "VERB": 15,
50
+ "X": 16
51
+ },
52
+ "layer_norm_eps": 1e-12,
53
+ "max_position_embeddings": 512,
54
+ "model_type": "bert",
55
+ "num_attention_heads": 12,
56
+ "num_hidden_layers": 12,
57
+ "pad_token_id": 0,
58
+ "pooler_fc_size": 768,
59
+ "pooler_num_attention_heads": 12,
60
+ "pooler_num_fc_layers": 3,
61
+ "pooler_size_per_head": 128,
62
+ "pooler_type": "first_token_transform",
63
+ "position_embedding_type": "absolute",
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.17.0",
66
+ "type_vocab_size": 2,
67
+ "use_cache": true,
68
+ "vocab_size": 119547
69
+ }
eval_predictions.csv ADDED
The diff for this file is too large to render. See raw diff
 
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d85ca55ca11485988dc3d2f58607c9cb3d5fffe4768aa91ffabd73c8014542e
3
+ size 709189741
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
test_predictions.csv ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "add_prefix_space": false, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-multilingual-cased", "tokenizer_class": "BertTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,415 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9700717616323291,
3
+ "best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/mbert/mbert-base-finetuned-pos-ud-Arabic-PADT/checkpoint-2500",
4
+ "epoch": 26.31578947368421,
5
+ "global_step": 5000,
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.53,
12
+ "learning_rate": 7.840000000000001e-05,
13
+ "loss": 0.9117,
14
+ "step": 100
15
+ },
16
+ {
17
+ "epoch": 1.05,
18
+ "learning_rate": 7.947382550335571e-05,
19
+ "loss": 0.154,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 1.58,
24
+ "learning_rate": 7.893691275167786e-05,
25
+ "loss": 0.1201,
26
+ "step": 300
27
+ },
28
+ {
29
+ "epoch": 2.11,
30
+ "learning_rate": 7.840000000000001e-05,
31
+ "loss": 0.1031,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 2.63,
36
+ "learning_rate": 7.786308724832216e-05,
37
+ "loss": 0.0781,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 2.63,
42
+ "eval_accuracy": 0.9692119448394457,
43
+ "eval_loss": 0.11606918275356293,
44
+ "eval_runtime": 4.6573,
45
+ "eval_samples_per_second": 195.177,
46
+ "eval_steps_per_second": 24.478,
47
+ "step": 500
48
+ },
49
+ {
50
+ "epoch": 3.16,
51
+ "learning_rate": 7.73261744966443e-05,
52
+ "loss": 0.0712,
53
+ "step": 600
54
+ },
55
+ {
56
+ "epoch": 3.68,
57
+ "learning_rate": 7.678926174496645e-05,
58
+ "loss": 0.0585,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 4.21,
63
+ "learning_rate": 7.62523489932886e-05,
64
+ "loss": 0.053,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 4.74,
69
+ "learning_rate": 7.571543624161075e-05,
70
+ "loss": 0.0439,
71
+ "step": 900
72
+ },
73
+ {
74
+ "epoch": 5.26,
75
+ "learning_rate": 7.51785234899329e-05,
76
+ "loss": 0.0393,
77
+ "step": 1000
78
+ },
79
+ {
80
+ "epoch": 5.26,
81
+ "eval_accuracy": 0.9695426436059393,
82
+ "eval_loss": 0.12902098894119263,
83
+ "eval_runtime": 4.6945,
84
+ "eval_samples_per_second": 193.631,
85
+ "eval_steps_per_second": 24.284,
86
+ "step": 1000
87
+ },
88
+ {
89
+ "epoch": 5.79,
90
+ "learning_rate": 7.464161073825505e-05,
91
+ "loss": 0.0338,
92
+ "step": 1100
93
+ },
94
+ {
95
+ "epoch": 6.32,
96
+ "learning_rate": 7.410469798657718e-05,
97
+ "loss": 0.03,
98
+ "step": 1200
99
+ },
100
+ {
101
+ "epoch": 6.84,
102
+ "learning_rate": 7.356778523489933e-05,
103
+ "loss": 0.0272,
104
+ "step": 1300
105
+ },
106
+ {
107
+ "epoch": 7.37,
108
+ "learning_rate": 7.303087248322148e-05,
109
+ "loss": 0.023,
110
+ "step": 1400
111
+ },
112
+ {
113
+ "epoch": 7.89,
114
+ "learning_rate": 7.249395973154363e-05,
115
+ "loss": 0.0233,
116
+ "step": 1500
117
+ },
118
+ {
119
+ "epoch": 7.89,
120
+ "eval_accuracy": 0.9680544991567182,
121
+ "eval_loss": 0.1491442620754242,
122
+ "eval_runtime": 4.6841,
123
+ "eval_samples_per_second": 194.061,
124
+ "eval_steps_per_second": 24.338,
125
+ "step": 1500
126
+ },
127
+ {
128
+ "epoch": 8.42,
129
+ "learning_rate": 7.195704697986577e-05,
130
+ "loss": 0.0196,
131
+ "step": 1600
132
+ },
133
+ {
134
+ "epoch": 8.95,
135
+ "learning_rate": 7.142013422818792e-05,
136
+ "loss": 0.019,
137
+ "step": 1700
138
+ },
139
+ {
140
+ "epoch": 9.47,
141
+ "learning_rate": 7.088322147651007e-05,
142
+ "loss": 0.0148,
143
+ "step": 1800
144
+ },
145
+ {
146
+ "epoch": 10.0,
147
+ "learning_rate": 7.034630872483222e-05,
148
+ "loss": 0.0165,
149
+ "step": 1900
150
+ },
151
+ {
152
+ "epoch": 10.53,
153
+ "learning_rate": 6.980939597315437e-05,
154
+ "loss": 0.0143,
155
+ "step": 2000
156
+ },
157
+ {
158
+ "epoch": 10.53,
159
+ "eval_accuracy": 0.9679222196501207,
160
+ "eval_loss": 0.17728525400161743,
161
+ "eval_runtime": 4.6951,
162
+ "eval_samples_per_second": 193.605,
163
+ "eval_steps_per_second": 24.28,
164
+ "step": 2000
165
+ },
166
+ {
167
+ "epoch": 11.05,
168
+ "learning_rate": 6.927248322147651e-05,
169
+ "loss": 0.0135,
170
+ "step": 2100
171
+ },
172
+ {
173
+ "epoch": 11.58,
174
+ "learning_rate": 6.873557046979866e-05,
175
+ "loss": 0.0115,
176
+ "step": 2200
177
+ },
178
+ {
179
+ "epoch": 12.11,
180
+ "learning_rate": 6.819865771812081e-05,
181
+ "loss": 0.0127,
182
+ "step": 2300
183
+ },
184
+ {
185
+ "epoch": 12.63,
186
+ "learning_rate": 6.766174496644296e-05,
187
+ "loss": 0.0109,
188
+ "step": 2400
189
+ },
190
+ {
191
+ "epoch": 13.16,
192
+ "learning_rate": 6.712483221476511e-05,
193
+ "loss": 0.0122,
194
+ "step": 2500
195
+ },
196
+ {
197
+ "epoch": 13.16,
198
+ "eval_accuracy": 0.9700717616323291,
199
+ "eval_loss": 0.1844806671142578,
200
+ "eval_runtime": 4.7037,
201
+ "eval_samples_per_second": 193.251,
202
+ "eval_steps_per_second": 24.236,
203
+ "step": 2500
204
+ },
205
+ {
206
+ "epoch": 13.68,
207
+ "learning_rate": 6.658791946308726e-05,
208
+ "loss": 0.0098,
209
+ "step": 2600
210
+ },
211
+ {
212
+ "epoch": 14.21,
213
+ "learning_rate": 6.60510067114094e-05,
214
+ "loss": 0.0104,
215
+ "step": 2700
216
+ },
217
+ {
218
+ "epoch": 14.74,
219
+ "learning_rate": 6.551409395973155e-05,
220
+ "loss": 0.0089,
221
+ "step": 2800
222
+ },
223
+ {
224
+ "epoch": 15.26,
225
+ "learning_rate": 6.49771812080537e-05,
226
+ "loss": 0.0092,
227
+ "step": 2900
228
+ },
229
+ {
230
+ "epoch": 15.79,
231
+ "learning_rate": 6.444026845637585e-05,
232
+ "loss": 0.0086,
233
+ "step": 3000
234
+ },
235
+ {
236
+ "epoch": 15.79,
237
+ "eval_accuracy": 0.9694103640993419,
238
+ "eval_loss": 0.18017974495887756,
239
+ "eval_runtime": 4.6947,
240
+ "eval_samples_per_second": 193.623,
241
+ "eval_steps_per_second": 24.283,
242
+ "step": 3000
243
+ },
244
+ {
245
+ "epoch": 16.32,
246
+ "learning_rate": 6.3903355704698e-05,
247
+ "loss": 0.0084,
248
+ "step": 3100
249
+ },
250
+ {
251
+ "epoch": 16.84,
252
+ "learning_rate": 6.336644295302015e-05,
253
+ "loss": 0.0082,
254
+ "step": 3200
255
+ },
256
+ {
257
+ "epoch": 17.37,
258
+ "learning_rate": 6.28295302013423e-05,
259
+ "loss": 0.0068,
260
+ "step": 3300
261
+ },
262
+ {
263
+ "epoch": 17.89,
264
+ "learning_rate": 6.229261744966444e-05,
265
+ "loss": 0.0063,
266
+ "step": 3400
267
+ },
268
+ {
269
+ "epoch": 18.42,
270
+ "learning_rate": 6.175570469798658e-05,
271
+ "loss": 0.0059,
272
+ "step": 3500
273
+ },
274
+ {
275
+ "epoch": 18.42,
276
+ "eval_accuracy": 0.9698402724957836,
277
+ "eval_loss": 0.20168748497962952,
278
+ "eval_runtime": 4.6845,
279
+ "eval_samples_per_second": 194.044,
280
+ "eval_steps_per_second": 24.336,
281
+ "step": 3500
282
+ },
283
+ {
284
+ "epoch": 18.95,
285
+ "learning_rate": 6.121879194630873e-05,
286
+ "loss": 0.0067,
287
+ "step": 3600
288
+ },
289
+ {
290
+ "epoch": 19.47,
291
+ "learning_rate": 6.068187919463087e-05,
292
+ "loss": 0.0068,
293
+ "step": 3700
294
+ },
295
+ {
296
+ "epoch": 20.0,
297
+ "learning_rate": 6.014496644295302e-05,
298
+ "loss": 0.0074,
299
+ "step": 3800
300
+ },
301
+ {
302
+ "epoch": 20.53,
303
+ "learning_rate": 5.960805369127517e-05,
304
+ "loss": 0.006,
305
+ "step": 3900
306
+ },
307
+ {
308
+ "epoch": 21.05,
309
+ "learning_rate": 5.907114093959732e-05,
310
+ "loss": 0.0061,
311
+ "step": 4000
312
+ },
313
+ {
314
+ "epoch": 21.05,
315
+ "eval_accuracy": 0.969873342372433,
316
+ "eval_loss": 0.1942814141511917,
317
+ "eval_runtime": 4.6772,
318
+ "eval_samples_per_second": 194.346,
319
+ "eval_steps_per_second": 24.373,
320
+ "step": 4000
321
+ },
322
+ {
323
+ "epoch": 21.58,
324
+ "learning_rate": 5.8534228187919466e-05,
325
+ "loss": 0.0064,
326
+ "step": 4100
327
+ },
328
+ {
329
+ "epoch": 22.11,
330
+ "learning_rate": 5.7997315436241614e-05,
331
+ "loss": 0.0053,
332
+ "step": 4200
333
+ },
334
+ {
335
+ "epoch": 22.63,
336
+ "learning_rate": 5.746040268456376e-05,
337
+ "loss": 0.0048,
338
+ "step": 4300
339
+ },
340
+ {
341
+ "epoch": 23.16,
342
+ "learning_rate": 5.692348993288591e-05,
343
+ "loss": 0.0061,
344
+ "step": 4400
345
+ },
346
+ {
347
+ "epoch": 23.68,
348
+ "learning_rate": 5.638657718120806e-05,
349
+ "loss": 0.0052,
350
+ "step": 4500
351
+ },
352
+ {
353
+ "epoch": 23.68,
354
+ "eval_accuracy": 0.9685174774298092,
355
+ "eval_loss": 0.2084885686635971,
356
+ "eval_runtime": 4.6977,
357
+ "eval_samples_per_second": 193.498,
358
+ "eval_steps_per_second": 24.267,
359
+ "step": 4500
360
+ },
361
+ {
362
+ "epoch": 24.21,
363
+ "learning_rate": 5.58496644295302e-05,
364
+ "loss": 0.0049,
365
+ "step": 4600
366
+ },
367
+ {
368
+ "epoch": 24.74,
369
+ "learning_rate": 5.531275167785235e-05,
370
+ "loss": 0.0041,
371
+ "step": 4700
372
+ },
373
+ {
374
+ "epoch": 25.26,
375
+ "learning_rate": 5.47758389261745e-05,
376
+ "loss": 0.0054,
377
+ "step": 4800
378
+ },
379
+ {
380
+ "epoch": 25.79,
381
+ "learning_rate": 5.4238926174496645e-05,
382
+ "loss": 0.0049,
383
+ "step": 4900
384
+ },
385
+ {
386
+ "epoch": 26.32,
387
+ "learning_rate": 5.370738255033558e-05,
388
+ "loss": 0.0045,
389
+ "step": 5000
390
+ },
391
+ {
392
+ "epoch": 26.32,
393
+ "eval_accuracy": 0.9700056218790304,
394
+ "eval_loss": 0.2086580991744995,
395
+ "eval_runtime": 4.685,
396
+ "eval_samples_per_second": 194.024,
397
+ "eval_steps_per_second": 24.333,
398
+ "step": 5000
399
+ },
400
+ {
401
+ "epoch": 26.32,
402
+ "step": 5000,
403
+ "total_flos": 2.088958878798336e+16,
404
+ "train_loss": 0.0416443316757679,
405
+ "train_runtime": 1404.0367,
406
+ "train_samples_per_second": 341.871,
407
+ "train_steps_per_second": 10.683
408
+ }
409
+ ],
410
+ "max_steps": 15000,
411
+ "num_train_epochs": 79,
412
+ "total_flos": 2.088958878798336e+16,
413
+ "trial_name": null,
414
+ "trial_params": null
415
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f1e49d4f3437439a22f34671f2159e2535813042aa2bff525e6d13fba586fbd
3
+ size 3387
vocab.txt ADDED
The diff for this file is too large to render. See raw diff