Md Mushfiqur Rahman commited on
Commit
723ab9d
1 Parent(s): 0af754e

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,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.41,
3
+ "eval_accuracy_score": 0.9919806855769333,
4
+ "eval_f1": 0.946596004891969,
5
+ "eval_loss": 0.033798202872276306,
6
+ "eval_precision": 0.9340305711987128,
7
+ "eval_recall": 0.959504132231405,
8
+ "eval_runtime": 24.1129,
9
+ "eval_samples": 1721,
10
+ "eval_samples_per_second": 71.372,
11
+ "eval_steps_per_second": 8.958,
12
+ "test_accuracy_score": 0.9877443750167609,
13
+ "test_f1": 0.8561260803253686,
14
+ "test_loss": 0.049406249076128006,
15
+ "test_precision": 0.8279252704031466,
16
+ "test_recall": 0.8863157894736842,
17
+ "test_runtime": 24.045,
18
+ "test_samples": 1721,
19
+ "test_samples_per_second": 71.574,
20
+ "test_steps_per_second": 8.983,
21
+ "train_loss": 0.03252722313006719,
22
+ "train_runtime": 5922.6834,
23
+ "train_samples": 45057,
24
+ "train_samples_per_second": 81.044,
25
+ "train_steps_per_second": 2.533
26
+ }
config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "O",
14
+ "1": "B-DATE",
15
+ "2": "I-DATE",
16
+ "3": "B-PER",
17
+ "4": "I-PER",
18
+ "5": "B-ORG",
19
+ "6": "I-ORG",
20
+ "7": "B-LOC",
21
+ "8": "I-LOC"
22
+ },
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "B-DATE": 1,
27
+ "B-LOC": 7,
28
+ "B-ORG": 5,
29
+ "B-PER": 3,
30
+ "I-DATE": 2,
31
+ "I-LOC": 8,
32
+ "I-ORG": 6,
33
+ "I-PER": 4,
34
+ "O": 0
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "max_position_embeddings": 512,
38
+ "model_type": "bert",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "pooler_fc_size": 768,
43
+ "pooler_num_attention_heads": 12,
44
+ "pooler_num_fc_layers": 3,
45
+ "pooler_size_per_head": 128,
46
+ "pooler_type": "first_token_transform",
47
+ "position_embedding_type": "absolute",
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.17.0",
50
+ "type_vocab_size": 2,
51
+ "use_cache": true,
52
+ "vocab_size": 119547
53
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26d4bf6c51bf811af54a89c0e2aafdd251505dadb4b71836f75d005dbdeeb1c2
3
+ size 709165101
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.txt 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,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.946596004891969,
3
+ "best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/mbert/mbert-base-finetuned-masakhaner-zh/checkpoint-3000",
4
+ "epoch": 3.4066713981547196,
5
+ "global_step": 4800,
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.14,
12
+ "eval_accuracy_score": 0.9769949905874095,
13
+ "eval_f1": 0.8151797603195738,
14
+ "eval_loss": 0.06385169178247452,
15
+ "eval_precision": 0.7889175257731958,
16
+ "eval_recall": 0.8432506887052341,
17
+ "eval_runtime": 24.1345,
18
+ "eval_samples_per_second": 71.309,
19
+ "eval_steps_per_second": 8.95,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 0.28,
24
+ "eval_accuracy_score": 0.9891728619593079,
25
+ "eval_f1": 0.9067463010723497,
26
+ "eval_loss": 0.03630797192454338,
27
+ "eval_precision": 0.8937650521808937,
28
+ "eval_recall": 0.9201101928374655,
29
+ "eval_runtime": 24.1366,
30
+ "eval_samples_per_second": 71.302,
31
+ "eval_steps_per_second": 8.949,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 0.35,
36
+ "learning_rate": 4.865771812080537e-05,
37
+ "loss": 0.1392,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 0.43,
42
+ "eval_accuracy_score": 0.9874924220669411,
43
+ "eval_f1": 0.9033054450692636,
44
+ "eval_loss": 0.03671281412243843,
45
+ "eval_precision": 0.8994810161158153,
46
+ "eval_recall": 0.9071625344352617,
47
+ "eval_runtime": 24.1358,
48
+ "eval_samples_per_second": 71.305,
49
+ "eval_steps_per_second": 8.949,
50
+ "step": 600
51
+ },
52
+ {
53
+ "epoch": 0.57,
54
+ "eval_accuracy_score": 0.9906405879412484,
55
+ "eval_f1": 0.9202271498107085,
56
+ "eval_loss": 0.030743952840566635,
57
+ "eval_precision": 0.903611258629846,
58
+ "eval_recall": 0.937465564738292,
59
+ "eval_runtime": 24.1206,
60
+ "eval_samples_per_second": 71.35,
61
+ "eval_steps_per_second": 8.955,
62
+ "step": 800
63
+ },
64
+ {
65
+ "epoch": 0.71,
66
+ "learning_rate": 4.697986577181208e-05,
67
+ "loss": 0.0391,
68
+ "step": 1000
69
+ },
70
+ {
71
+ "epoch": 0.71,
72
+ "eval_accuracy_score": 0.987524329153505,
73
+ "eval_f1": 0.9087680961485933,
74
+ "eval_loss": 0.03989069163799286,
75
+ "eval_precision": 0.9011375947995667,
76
+ "eval_recall": 0.9165289256198347,
77
+ "eval_runtime": 24.1074,
78
+ "eval_samples_per_second": 71.389,
79
+ "eval_steps_per_second": 8.96,
80
+ "step": 1000
81
+ },
82
+ {
83
+ "epoch": 0.85,
84
+ "eval_accuracy_score": 0.9905555023770779,
85
+ "eval_f1": 0.926657645466847,
86
+ "eval_loss": 0.032413773238658905,
87
+ "eval_precision": 0.9106382978723404,
88
+ "eval_recall": 0.9432506887052342,
89
+ "eval_runtime": 24.1368,
90
+ "eval_samples_per_second": 71.302,
91
+ "eval_steps_per_second": 8.949,
92
+ "step": 1200
93
+ },
94
+ {
95
+ "epoch": 0.99,
96
+ "eval_accuracy_score": 0.989800367995065,
97
+ "eval_f1": 0.9251387572762962,
98
+ "eval_loss": 0.036592062562704086,
99
+ "eval_precision": 0.9095022624434389,
100
+ "eval_recall": 0.9413223140495868,
101
+ "eval_runtime": 24.1374,
102
+ "eval_samples_per_second": 71.3,
103
+ "eval_steps_per_second": 8.949,
104
+ "step": 1400
105
+ },
106
+ {
107
+ "epoch": 1.06,
108
+ "learning_rate": 4.530201342281879e-05,
109
+ "loss": 0.0319,
110
+ "step": 1500
111
+ },
112
+ {
113
+ "epoch": 1.14,
114
+ "eval_accuracy_score": 0.9906724950278123,
115
+ "eval_f1": 0.9408690869086909,
116
+ "eval_loss": 0.03387833759188652,
117
+ "eval_precision": 0.9393190554640307,
118
+ "eval_recall": 0.9424242424242424,
119
+ "eval_runtime": 24.1207,
120
+ "eval_samples_per_second": 71.35,
121
+ "eval_steps_per_second": 8.955,
122
+ "step": 1600
123
+ },
124
+ {
125
+ "epoch": 1.28,
126
+ "eval_accuracy_score": 0.9921508567052743,
127
+ "eval_f1": 0.9472521402927369,
128
+ "eval_loss": 0.031188521534204483,
129
+ "eval_precision": 0.9496124031007752,
130
+ "eval_recall": 0.9449035812672176,
131
+ "eval_runtime": 24.0966,
132
+ "eval_samples_per_second": 71.421,
133
+ "eval_steps_per_second": 8.964,
134
+ "step": 1800
135
+ },
136
+ {
137
+ "epoch": 1.42,
138
+ "learning_rate": 4.36241610738255e-05,
139
+ "loss": 0.0215,
140
+ "step": 2000
141
+ },
142
+ {
143
+ "epoch": 1.42,
144
+ "eval_accuracy_score": 0.9917041574933793,
145
+ "eval_f1": 0.9353570944572435,
146
+ "eval_loss": 0.028981657698750496,
147
+ "eval_precision": 0.920512136569752,
148
+ "eval_recall": 0.9506887052341598,
149
+ "eval_runtime": 24.134,
150
+ "eval_samples_per_second": 71.31,
151
+ "eval_steps_per_second": 8.95,
152
+ "step": 2000
153
+ },
154
+ {
155
+ "epoch": 1.56,
156
+ "eval_accuracy_score": 0.991278729672527,
157
+ "eval_f1": 0.9291854277527629,
158
+ "eval_loss": 0.027085134759545326,
159
+ "eval_precision": 0.9205190592051906,
160
+ "eval_recall": 0.9380165289256198,
161
+ "eval_runtime": 24.1322,
162
+ "eval_samples_per_second": 71.316,
163
+ "eval_steps_per_second": 8.951,
164
+ "step": 2200
165
+ },
166
+ {
167
+ "epoch": 1.7,
168
+ "eval_accuracy_score": 0.9881624708847835,
169
+ "eval_f1": 0.9310910582444627,
170
+ "eval_loss": 0.04595605656504631,
171
+ "eval_precision": 0.9242671009771987,
172
+ "eval_recall": 0.9380165289256198,
173
+ "eval_runtime": 24.1249,
174
+ "eval_samples_per_second": 71.337,
175
+ "eval_steps_per_second": 8.953,
176
+ "step": 2400
177
+ },
178
+ {
179
+ "epoch": 1.77,
180
+ "learning_rate": 4.194630872483222e-05,
181
+ "loss": 0.0212,
182
+ "step": 2500
183
+ },
184
+ {
185
+ "epoch": 1.85,
186
+ "eval_accuracy_score": 0.9916509790157727,
187
+ "eval_f1": 0.9383054565396216,
188
+ "eval_loss": 0.02704950049519539,
189
+ "eval_precision": 0.9339519650655022,
190
+ "eval_recall": 0.9426997245179063,
191
+ "eval_runtime": 24.1289,
192
+ "eval_samples_per_second": 71.325,
193
+ "eval_steps_per_second": 8.952,
194
+ "step": 2600
195
+ },
196
+ {
197
+ "epoch": 1.99,
198
+ "eval_accuracy_score": 0.9914701721919105,
199
+ "eval_f1": 0.9384028345598255,
200
+ "eval_loss": 0.031768567860126495,
201
+ "eval_precision": 0.9285329018338727,
202
+ "eval_recall": 0.9484848484848485,
203
+ "eval_runtime": 24.1114,
204
+ "eval_samples_per_second": 71.377,
205
+ "eval_steps_per_second": 8.958,
206
+ "step": 2800
207
+ },
208
+ {
209
+ "epoch": 2.13,
210
+ "learning_rate": 4.026845637583892e-05,
211
+ "loss": 0.0183,
212
+ "step": 3000
213
+ },
214
+ {
215
+ "epoch": 2.13,
216
+ "eval_accuracy_score": 0.9919806855769333,
217
+ "eval_f1": 0.946596004891969,
218
+ "eval_loss": 0.033798202872276306,
219
+ "eval_precision": 0.9340305711987128,
220
+ "eval_recall": 0.959504132231405,
221
+ "eval_runtime": 24.1185,
222
+ "eval_samples_per_second": 71.356,
223
+ "eval_steps_per_second": 8.956,
224
+ "step": 3000
225
+ },
226
+ {
227
+ "epoch": 2.27,
228
+ "eval_accuracy_score": 0.9928740840007232,
229
+ "eval_f1": 0.9457025920873124,
230
+ "eval_loss": 0.02753218449652195,
231
+ "eval_precision": 0.9367567567567567,
232
+ "eval_recall": 0.9548209366391185,
233
+ "eval_runtime": 24.1012,
234
+ "eval_samples_per_second": 71.407,
235
+ "eval_steps_per_second": 8.962,
236
+ "step": 3200
237
+ },
238
+ {
239
+ "epoch": 2.41,
240
+ "eval_accuracy_score": 0.9928421769141593,
241
+ "eval_f1": 0.9465940054495913,
242
+ "eval_loss": 0.026147814467549324,
243
+ "eval_precision": 0.9363881401617251,
244
+ "eval_recall": 0.9570247933884297,
245
+ "eval_runtime": 24.1545,
246
+ "eval_samples_per_second": 71.25,
247
+ "eval_steps_per_second": 8.942,
248
+ "step": 3400
249
+ },
250
+ {
251
+ "epoch": 2.48,
252
+ "learning_rate": 3.859060402684564e-05,
253
+ "loss": 0.0128,
254
+ "step": 3500
255
+ },
256
+ {
257
+ "epoch": 2.56,
258
+ "eval_accuracy_score": 0.9918105144485924,
259
+ "eval_f1": 0.9442399454669393,
260
+ "eval_loss": 0.030992617830634117,
261
+ "eval_precision": 0.9346828609986505,
262
+ "eval_recall": 0.9539944903581267,
263
+ "eval_runtime": 24.1093,
264
+ "eval_samples_per_second": 71.383,
265
+ "eval_steps_per_second": 8.959,
266
+ "step": 3600
267
+ },
268
+ {
269
+ "epoch": 2.7,
270
+ "eval_accuracy_score": 0.9916828861023367,
271
+ "eval_f1": 0.9474550692824805,
272
+ "eval_loss": 0.03291752561926842,
273
+ "eval_precision": 0.9437004646078163,
274
+ "eval_recall": 0.9512396694214876,
275
+ "eval_runtime": 24.1311,
276
+ "eval_samples_per_second": 71.319,
277
+ "eval_steps_per_second": 8.951,
278
+ "step": 3800
279
+ },
280
+ {
281
+ "epoch": 2.84,
282
+ "learning_rate": 3.6912751677852356e-05,
283
+ "loss": 0.0134,
284
+ "step": 4000
285
+ },
286
+ {
287
+ "epoch": 2.84,
288
+ "eval_accuracy_score": 0.9919168714038055,
289
+ "eval_f1": 0.9425444596443229,
290
+ "eval_loss": 0.029299931600689888,
291
+ "eval_precision": 0.936141304347826,
292
+ "eval_recall": 0.9490358126721763,
293
+ "eval_runtime": 24.0874,
294
+ "eval_samples_per_second": 71.448,
295
+ "eval_steps_per_second": 8.967,
296
+ "step": 4000
297
+ },
298
+ {
299
+ "epoch": 2.98,
300
+ "eval_accuracy_score": 0.9920125926634973,
301
+ "eval_f1": 0.9384928716904277,
302
+ "eval_loss": 0.03006567806005478,
303
+ "eval_precision": 0.9253012048192771,
304
+ "eval_recall": 0.9520661157024793,
305
+ "eval_runtime": 24.1243,
306
+ "eval_samples_per_second": 71.339,
307
+ "eval_steps_per_second": 8.954,
308
+ "step": 4200
309
+ },
310
+ {
311
+ "epoch": 3.12,
312
+ "eval_accuracy_score": 0.9918530572306776,
313
+ "eval_f1": 0.943499725726824,
314
+ "eval_loss": 0.03543129563331604,
315
+ "eval_precision": 0.9393773894046968,
316
+ "eval_recall": 0.9476584022038568,
317
+ "eval_runtime": 24.0895,
318
+ "eval_samples_per_second": 71.442,
319
+ "eval_steps_per_second": 8.967,
320
+ "step": 4400
321
+ },
322
+ {
323
+ "epoch": 3.19,
324
+ "learning_rate": 3.523489932885906e-05,
325
+ "loss": 0.01,
326
+ "step": 4500
327
+ },
328
+ {
329
+ "epoch": 3.26,
330
+ "eval_accuracy_score": 0.9917147931889005,
331
+ "eval_f1": 0.9457131136332558,
332
+ "eval_loss": 0.03731205314397812,
333
+ "eval_precision": 0.9389084985066521,
334
+ "eval_recall": 0.9526170798898072,
335
+ "eval_runtime": 24.1136,
336
+ "eval_samples_per_second": 71.371,
337
+ "eval_steps_per_second": 8.958,
338
+ "step": 4600
339
+ },
340
+ {
341
+ "epoch": 3.41,
342
+ "eval_accuracy_score": 0.9919594141858907,
343
+ "eval_f1": 0.9425412856557936,
344
+ "eval_loss": 0.034975141286849976,
345
+ "eval_precision": 0.9340005409791723,
346
+ "eval_recall": 0.9512396694214876,
347
+ "eval_runtime": 24.1047,
348
+ "eval_samples_per_second": 71.397,
349
+ "eval_steps_per_second": 8.961,
350
+ "step": 4800
351
+ },
352
+ {
353
+ "epoch": 3.41,
354
+ "step": 4800,
355
+ "total_flos": 2.005670985822259e+16,
356
+ "train_loss": 0.03252722313006719,
357
+ "train_runtime": 5922.6834,
358
+ "train_samples_per_second": 81.044,
359
+ "train_steps_per_second": 2.533
360
+ }
361
+ ],
362
+ "max_steps": 15000,
363
+ "num_train_epochs": 11,
364
+ "total_flos": 2.005670985822259e+16,
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:c1da4ff5769abd44d05518eb2d6723b24f3adca4dcfff92d448d3af96bf03955
3
+ size 3259
vocab.txt ADDED
The diff for this file is too large to render. See raw diff