Md Mushfiqur Rahman commited on
Commit
b67d172
1 Parent(s): 69f4eb0

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": 13.22,
3
+ "eval_accuracy": 0.8568872987477638,
4
+ "eval_loss": 0.4852503538131714,
5
+ "eval_runtime": 8.4097,
6
+ "eval_samples": 1659,
7
+ "eval_samples_per_second": 197.272,
8
+ "eval_steps_per_second": 24.733,
9
+ "test_accuracy": 0.8621507197290432,
10
+ "test_loss": 0.45892825722694397,
11
+ "test_runtime": 8.5754,
12
+ "test_samples": 1684,
13
+ "test_samples_per_second": 196.375,
14
+ "test_steps_per_second": 24.605,
15
+ "train_loss": 0.310650390625,
16
+ "train_runtime": 1477.8296,
17
+ "train_samples": 13304,
18
+ "train_samples_per_second": 324.801,
19
+ "train_steps_per_second": 10.15
20
+ }
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
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
+ "position_embedding_type": "absolute",
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.17.0",
61
+ "type_vocab_size": 2,
62
+ "use_cache": true,
63
+ "vocab_size": 28996
64
+ }
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:65ac49fde839049dee41f55b5c0d6a782cbab66517c19fe8cef2a22c84e4bf39
3
+ size 431017069
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-cased", "tokenizer_class": "BertTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,454 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8568872987477638,
3
+ "best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/bert/bert-base-finetuned-pos-ud-Hindi-HDTB/checkpoint-3000",
4
+ "epoch": 13.221153846153847,
5
+ "global_step": 5500,
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.24,
12
+ "learning_rate": 4.9500000000000004e-05,
13
+ "loss": 1.5512,
14
+ "step": 100
15
+ },
16
+ {
17
+ "epoch": 0.48,
18
+ "learning_rate": 4.966778523489933e-05,
19
+ "loss": 0.7227,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 0.72,
24
+ "learning_rate": 4.933221476510068e-05,
25
+ "loss": 0.6046,
26
+ "step": 300
27
+ },
28
+ {
29
+ "epoch": 0.96,
30
+ "learning_rate": 4.8996644295302016e-05,
31
+ "loss": 0.5466,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 1.2,
36
+ "learning_rate": 4.8661073825503355e-05,
37
+ "loss": 0.5069,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 1.2,
42
+ "eval_accuracy": 0.8260783144504075,
43
+ "eval_loss": 0.4958227276802063,
44
+ "eval_runtime": 8.4268,
45
+ "eval_samples_per_second": 196.872,
46
+ "eval_steps_per_second": 24.683,
47
+ "step": 500
48
+ },
49
+ {
50
+ "epoch": 1.44,
51
+ "learning_rate": 4.83255033557047e-05,
52
+ "loss": 0.4882,
53
+ "step": 600
54
+ },
55
+ {
56
+ "epoch": 1.68,
57
+ "learning_rate": 4.798993288590604e-05,
58
+ "loss": 0.4728,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 1.92,
63
+ "learning_rate": 4.765436241610739e-05,
64
+ "loss": 0.4576,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 2.16,
69
+ "learning_rate": 4.7318791946308726e-05,
70
+ "loss": 0.4339,
71
+ "step": 900
72
+ },
73
+ {
74
+ "epoch": 2.4,
75
+ "learning_rate": 4.698322147651007e-05,
76
+ "loss": 0.4185,
77
+ "step": 1000
78
+ },
79
+ {
80
+ "epoch": 2.4,
81
+ "eval_accuracy": 0.8392821648635602,
82
+ "eval_loss": 0.46815404295921326,
83
+ "eval_runtime": 8.5929,
84
+ "eval_samples_per_second": 193.067,
85
+ "eval_steps_per_second": 24.206,
86
+ "step": 1000
87
+ },
88
+ {
89
+ "epoch": 2.64,
90
+ "learning_rate": 4.664765100671141e-05,
91
+ "loss": 0.4086,
92
+ "step": 1100
93
+ },
94
+ {
95
+ "epoch": 2.88,
96
+ "learning_rate": 4.631208053691276e-05,
97
+ "loss": 0.4081,
98
+ "step": 1200
99
+ },
100
+ {
101
+ "epoch": 3.12,
102
+ "learning_rate": 4.5976510067114097e-05,
103
+ "loss": 0.3903,
104
+ "step": 1300
105
+ },
106
+ {
107
+ "epoch": 3.37,
108
+ "learning_rate": 4.564093959731544e-05,
109
+ "loss": 0.3658,
110
+ "step": 1400
111
+ },
112
+ {
113
+ "epoch": 3.61,
114
+ "learning_rate": 4.5305369127516775e-05,
115
+ "loss": 0.3701,
116
+ "step": 1500
117
+ },
118
+ {
119
+ "epoch": 3.61,
120
+ "eval_accuracy": 0.8504699434931993,
121
+ "eval_loss": 0.4506780803203583,
122
+ "eval_runtime": 8.4658,
123
+ "eval_samples_per_second": 195.965,
124
+ "eval_steps_per_second": 24.569,
125
+ "step": 1500
126
+ },
127
+ {
128
+ "epoch": 3.85,
129
+ "learning_rate": 4.496979865771812e-05,
130
+ "loss": 0.3701,
131
+ "step": 1600
132
+ },
133
+ {
134
+ "epoch": 4.09,
135
+ "learning_rate": 4.463422818791946e-05,
136
+ "loss": 0.3607,
137
+ "step": 1700
138
+ },
139
+ {
140
+ "epoch": 4.33,
141
+ "learning_rate": 4.4298657718120806e-05,
142
+ "loss": 0.3278,
143
+ "step": 1800
144
+ },
145
+ {
146
+ "epoch": 4.57,
147
+ "learning_rate": 4.3963087248322146e-05,
148
+ "loss": 0.3374,
149
+ "step": 1900
150
+ },
151
+ {
152
+ "epoch": 4.81,
153
+ "learning_rate": 4.362751677852349e-05,
154
+ "loss": 0.3336,
155
+ "step": 2000
156
+ },
157
+ {
158
+ "epoch": 4.81,
159
+ "eval_accuracy": 0.8520316892409916,
160
+ "eval_loss": 0.44800490140914917,
161
+ "eval_runtime": 8.4418,
162
+ "eval_samples_per_second": 196.522,
163
+ "eval_steps_per_second": 24.639,
164
+ "step": 2000
165
+ },
166
+ {
167
+ "epoch": 5.05,
168
+ "learning_rate": 4.329194630872484e-05,
169
+ "loss": 0.3316,
170
+ "step": 2100
171
+ },
172
+ {
173
+ "epoch": 5.29,
174
+ "learning_rate": 4.295637583892618e-05,
175
+ "loss": 0.2929,
176
+ "step": 2200
177
+ },
178
+ {
179
+ "epoch": 5.53,
180
+ "learning_rate": 4.262080536912752e-05,
181
+ "loss": 0.3,
182
+ "step": 2300
183
+ },
184
+ {
185
+ "epoch": 5.77,
186
+ "learning_rate": 4.228523489932886e-05,
187
+ "loss": 0.3029,
188
+ "step": 2400
189
+ },
190
+ {
191
+ "epoch": 6.01,
192
+ "learning_rate": 4.194966442953021e-05,
193
+ "loss": 0.3045,
194
+ "step": 2500
195
+ },
196
+ {
197
+ "epoch": 6.01,
198
+ "eval_accuracy": 0.854814436209785,
199
+ "eval_loss": 0.4508860409259796,
200
+ "eval_runtime": 8.4218,
201
+ "eval_samples_per_second": 196.99,
202
+ "eval_steps_per_second": 24.698,
203
+ "step": 2500
204
+ },
205
+ {
206
+ "epoch": 6.25,
207
+ "learning_rate": 4.161409395973155e-05,
208
+ "loss": 0.265,
209
+ "step": 2600
210
+ },
211
+ {
212
+ "epoch": 6.49,
213
+ "learning_rate": 4.127852348993289e-05,
214
+ "loss": 0.2695,
215
+ "step": 2700
216
+ },
217
+ {
218
+ "epoch": 6.73,
219
+ "learning_rate": 4.0942953020134226e-05,
220
+ "loss": 0.2749,
221
+ "step": 2800
222
+ },
223
+ {
224
+ "epoch": 6.97,
225
+ "learning_rate": 4.060738255033557e-05,
226
+ "loss": 0.2735,
227
+ "step": 2900
228
+ },
229
+ {
230
+ "epoch": 7.21,
231
+ "learning_rate": 4.027181208053691e-05,
232
+ "loss": 0.2419,
233
+ "step": 3000
234
+ },
235
+ {
236
+ "epoch": 7.21,
237
+ "eval_accuracy": 0.8568872987477638,
238
+ "eval_loss": 0.4852503538131714,
239
+ "eval_runtime": 8.4429,
240
+ "eval_samples_per_second": 196.497,
241
+ "eval_steps_per_second": 24.636,
242
+ "step": 3000
243
+ },
244
+ {
245
+ "epoch": 7.45,
246
+ "learning_rate": 3.993624161073826e-05,
247
+ "loss": 0.2386,
248
+ "step": 3100
249
+ },
250
+ {
251
+ "epoch": 7.69,
252
+ "learning_rate": 3.96006711409396e-05,
253
+ "loss": 0.241,
254
+ "step": 3200
255
+ },
256
+ {
257
+ "epoch": 7.93,
258
+ "learning_rate": 3.926510067114094e-05,
259
+ "loss": 0.2447,
260
+ "step": 3300
261
+ },
262
+ {
263
+ "epoch": 8.17,
264
+ "learning_rate": 3.892953020134228e-05,
265
+ "loss": 0.2193,
266
+ "step": 3400
267
+ },
268
+ {
269
+ "epoch": 8.41,
270
+ "learning_rate": 3.859395973154363e-05,
271
+ "loss": 0.2148,
272
+ "step": 3500
273
+ },
274
+ {
275
+ "epoch": 8.41,
276
+ "eval_accuracy": 0.855439134508902,
277
+ "eval_loss": 0.5063510537147522,
278
+ "eval_runtime": 8.6104,
279
+ "eval_samples_per_second": 192.673,
280
+ "eval_steps_per_second": 24.157,
281
+ "step": 3500
282
+ },
283
+ {
284
+ "epoch": 8.65,
285
+ "learning_rate": 3.825838926174497e-05,
286
+ "loss": 0.2085,
287
+ "step": 3600
288
+ },
289
+ {
290
+ "epoch": 8.89,
291
+ "learning_rate": 3.7922818791946313e-05,
292
+ "loss": 0.2195,
293
+ "step": 3700
294
+ },
295
+ {
296
+ "epoch": 9.13,
297
+ "learning_rate": 3.758724832214765e-05,
298
+ "loss": 0.2027,
299
+ "step": 3800
300
+ },
301
+ {
302
+ "epoch": 9.38,
303
+ "learning_rate": 3.725167785234899e-05,
304
+ "loss": 0.183,
305
+ "step": 3900
306
+ },
307
+ {
308
+ "epoch": 9.62,
309
+ "learning_rate": 3.691610738255034e-05,
310
+ "loss": 0.1883,
311
+ "step": 4000
312
+ },
313
+ {
314
+ "epoch": 9.62,
315
+ "eval_accuracy": 0.8551835761138087,
316
+ "eval_loss": 0.5312172174453735,
317
+ "eval_runtime": 8.4553,
318
+ "eval_samples_per_second": 196.208,
319
+ "eval_steps_per_second": 24.6,
320
+ "step": 4000
321
+ },
322
+ {
323
+ "epoch": 9.86,
324
+ "learning_rate": 3.658053691275168e-05,
325
+ "loss": 0.1903,
326
+ "step": 4100
327
+ },
328
+ {
329
+ "epoch": 10.1,
330
+ "learning_rate": 3.624496644295302e-05,
331
+ "loss": 0.1764,
332
+ "step": 4200
333
+ },
334
+ {
335
+ "epoch": 10.34,
336
+ "learning_rate": 3.590939597315436e-05,
337
+ "loss": 0.158,
338
+ "step": 4300
339
+ },
340
+ {
341
+ "epoch": 10.58,
342
+ "learning_rate": 3.557382550335571e-05,
343
+ "loss": 0.1643,
344
+ "step": 4400
345
+ },
346
+ {
347
+ "epoch": 10.82,
348
+ "learning_rate": 3.523825503355705e-05,
349
+ "loss": 0.1642,
350
+ "step": 4500
351
+ },
352
+ {
353
+ "epoch": 10.82,
354
+ "eval_accuracy": 0.852003293863759,
355
+ "eval_loss": 0.5592557787895203,
356
+ "eval_runtime": 8.4747,
357
+ "eval_samples_per_second": 195.759,
358
+ "eval_steps_per_second": 24.544,
359
+ "step": 4500
360
+ },
361
+ {
362
+ "epoch": 11.06,
363
+ "learning_rate": 3.4902684563758394e-05,
364
+ "loss": 0.1645,
365
+ "step": 4600
366
+ },
367
+ {
368
+ "epoch": 11.3,
369
+ "learning_rate": 3.456711409395973e-05,
370
+ "loss": 0.1353,
371
+ "step": 4700
372
+ },
373
+ {
374
+ "epoch": 11.54,
375
+ "learning_rate": 3.423154362416108e-05,
376
+ "loss": 0.1462,
377
+ "step": 4800
378
+ },
379
+ {
380
+ "epoch": 11.78,
381
+ "learning_rate": 3.389597315436242e-05,
382
+ "loss": 0.1451,
383
+ "step": 4900
384
+ },
385
+ {
386
+ "epoch": 12.02,
387
+ "learning_rate": 3.356040268456376e-05,
388
+ "loss": 0.1488,
389
+ "step": 5000
390
+ },
391
+ {
392
+ "epoch": 12.02,
393
+ "eval_accuracy": 0.8523156430133174,
394
+ "eval_loss": 0.587023913860321,
395
+ "eval_runtime": 8.4932,
396
+ "eval_samples_per_second": 195.333,
397
+ "eval_steps_per_second": 24.49,
398
+ "step": 5000
399
+ },
400
+ {
401
+ "epoch": 12.26,
402
+ "learning_rate": 3.32248322147651e-05,
403
+ "loss": 0.1163,
404
+ "step": 5100
405
+ },
406
+ {
407
+ "epoch": 12.5,
408
+ "learning_rate": 3.288926174496644e-05,
409
+ "loss": 0.1224,
410
+ "step": 5200
411
+ },
412
+ {
413
+ "epoch": 12.74,
414
+ "learning_rate": 3.255369127516779e-05,
415
+ "loss": 0.1281,
416
+ "step": 5300
417
+ },
418
+ {
419
+ "epoch": 12.98,
420
+ "learning_rate": 3.221812080536913e-05,
421
+ "loss": 0.1305,
422
+ "step": 5400
423
+ },
424
+ {
425
+ "epoch": 13.22,
426
+ "learning_rate": 3.1882550335570474e-05,
427
+ "loss": 0.1027,
428
+ "step": 5500
429
+ },
430
+ {
431
+ "epoch": 13.22,
432
+ "eval_accuracy": 0.8522588522588522,
433
+ "eval_loss": 0.6439880132675171,
434
+ "eval_runtime": 8.5081,
435
+ "eval_samples_per_second": 194.991,
436
+ "eval_steps_per_second": 24.447,
437
+ "step": 5500
438
+ },
439
+ {
440
+ "epoch": 13.22,
441
+ "step": 5500,
442
+ "total_flos": 2.298364364453069e+16,
443
+ "train_loss": 0.310650390625,
444
+ "train_runtime": 1477.8296,
445
+ "train_samples_per_second": 324.801,
446
+ "train_steps_per_second": 10.15
447
+ }
448
+ ],
449
+ "max_steps": 15000,
450
+ "num_train_epochs": 37,
451
+ "total_flos": 2.298364364453069e+16,
452
+ "trial_name": null,
453
+ "trial_params": null
454
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eae63cd82c77e0e9be7f18580a1041faa821b70fc4658b1980426e2ce77de5a4
3
+ size 3387
vocab.txt ADDED
The diff for this file is too large to render. See raw diff