Md Mushfiqur Rahman commited on
Commit
ecb4421
1 Parent(s): 5ff64ca

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": 20.36,
3
+ "eval_accuracy": 0.8855701147554326,
4
+ "eval_loss": 0.43164435029029846,
5
+ "eval_runtime": 2.6136,
6
+ "eval_samples": 507,
7
+ "eval_samples_per_second": 193.985,
8
+ "eval_steps_per_second": 24.487,
9
+ "test_accuracy": 0.875556237532607,
10
+ "test_loss": 0.48223212361335754,
11
+ "test_runtime": 2.807,
12
+ "test_samples": 543,
13
+ "test_samples_per_second": 193.444,
14
+ "test_steps_per_second": 24.225,
15
+ "train_loss": 0.20138724523120458,
16
+ "train_runtime": 1165.6408,
17
+ "train_samples": 7050,
18
+ "train_samples_per_second": 411.791,
19
+ "train_steps_per_second": 12.868
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:4d933a716e227b263ec34a1a000d0e5dd2e2e0c4aa87ac1430eb72194e5ac0be
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,376 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8855701147554326,
3
+ "best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/bert/bert-base-finetuned-pos-ud-Japanese-GSD/checkpoint-2000",
4
+ "epoch": 20.361990950226243,
5
+ "global_step": 4500,
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.45,
12
+ "learning_rate": 4.9500000000000004e-05,
13
+ "loss": 1.3362,
14
+ "step": 100
15
+ },
16
+ {
17
+ "epoch": 0.9,
18
+ "learning_rate": 4.966778523489933e-05,
19
+ "loss": 0.5269,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 1.36,
24
+ "learning_rate": 4.933221476510068e-05,
25
+ "loss": 0.432,
26
+ "step": 300
27
+ },
28
+ {
29
+ "epoch": 1.81,
30
+ "learning_rate": 4.8996644295302016e-05,
31
+ "loss": 0.4029,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 2.26,
36
+ "learning_rate": 4.8661073825503355e-05,
37
+ "loss": 0.3774,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 2.26,
42
+ "eval_accuracy": 0.8758850817937658,
43
+ "eval_loss": 0.37171030044555664,
44
+ "eval_runtime": 2.6026,
45
+ "eval_samples_per_second": 194.803,
46
+ "eval_steps_per_second": 24.591,
47
+ "step": 500
48
+ },
49
+ {
50
+ "epoch": 2.71,
51
+ "learning_rate": 4.83255033557047e-05,
52
+ "loss": 0.3581,
53
+ "step": 600
54
+ },
55
+ {
56
+ "epoch": 3.17,
57
+ "learning_rate": 4.798993288590604e-05,
58
+ "loss": 0.3378,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 3.62,
63
+ "learning_rate": 4.765436241610739e-05,
64
+ "loss": 0.3239,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 4.07,
69
+ "learning_rate": 4.7318791946308726e-05,
70
+ "loss": 0.3132,
71
+ "step": 900
72
+ },
73
+ {
74
+ "epoch": 4.52,
75
+ "learning_rate": 4.698322147651007e-05,
76
+ "loss": 0.2882,
77
+ "step": 1000
78
+ },
79
+ {
80
+ "epoch": 4.52,
81
+ "eval_accuracy": 0.8841865386180516,
82
+ "eval_loss": 0.3594276010990143,
83
+ "eval_runtime": 2.6266,
84
+ "eval_samples_per_second": 193.024,
85
+ "eval_steps_per_second": 24.366,
86
+ "step": 1000
87
+ },
88
+ {
89
+ "epoch": 4.98,
90
+ "learning_rate": 4.664765100671141e-05,
91
+ "loss": 0.2882,
92
+ "step": 1100
93
+ },
94
+ {
95
+ "epoch": 5.43,
96
+ "learning_rate": 4.631208053691276e-05,
97
+ "loss": 0.2499,
98
+ "step": 1200
99
+ },
100
+ {
101
+ "epoch": 5.88,
102
+ "learning_rate": 4.5976510067114097e-05,
103
+ "loss": 0.2633,
104
+ "step": 1300
105
+ },
106
+ {
107
+ "epoch": 6.33,
108
+ "learning_rate": 4.564093959731544e-05,
109
+ "loss": 0.2364,
110
+ "step": 1400
111
+ },
112
+ {
113
+ "epoch": 6.79,
114
+ "learning_rate": 4.5305369127516775e-05,
115
+ "loss": 0.2304,
116
+ "step": 1500
117
+ },
118
+ {
119
+ "epoch": 6.79,
120
+ "eval_accuracy": 0.8854887279238219,
121
+ "eval_loss": 0.3736213743686676,
122
+ "eval_runtime": 2.6247,
123
+ "eval_samples_per_second": 193.165,
124
+ "eval_steps_per_second": 24.384,
125
+ "step": 1500
126
+ },
127
+ {
128
+ "epoch": 7.24,
129
+ "learning_rate": 4.496979865771812e-05,
130
+ "loss": 0.2144,
131
+ "step": 1600
132
+ },
133
+ {
134
+ "epoch": 7.69,
135
+ "learning_rate": 4.463422818791946e-05,
136
+ "loss": 0.2067,
137
+ "step": 1700
138
+ },
139
+ {
140
+ "epoch": 8.14,
141
+ "learning_rate": 4.4298657718120806e-05,
142
+ "loss": 0.1925,
143
+ "step": 1800
144
+ },
145
+ {
146
+ "epoch": 8.6,
147
+ "learning_rate": 4.3963087248322146e-05,
148
+ "loss": 0.1764,
149
+ "step": 1900
150
+ },
151
+ {
152
+ "epoch": 9.05,
153
+ "learning_rate": 4.362751677852349e-05,
154
+ "loss": 0.1778,
155
+ "step": 2000
156
+ },
157
+ {
158
+ "epoch": 9.05,
159
+ "eval_accuracy": 0.8855701147554326,
160
+ "eval_loss": 0.43164435029029846,
161
+ "eval_runtime": 2.6105,
162
+ "eval_samples_per_second": 194.219,
163
+ "eval_steps_per_second": 24.517,
164
+ "step": 2000
165
+ },
166
+ {
167
+ "epoch": 9.5,
168
+ "learning_rate": 4.329194630872484e-05,
169
+ "loss": 0.1529,
170
+ "step": 2100
171
+ },
172
+ {
173
+ "epoch": 9.95,
174
+ "learning_rate": 4.295637583892618e-05,
175
+ "loss": 0.1583,
176
+ "step": 2200
177
+ },
178
+ {
179
+ "epoch": 10.41,
180
+ "learning_rate": 4.262080536912752e-05,
181
+ "loss": 0.1356,
182
+ "step": 2300
183
+ },
184
+ {
185
+ "epoch": 10.86,
186
+ "learning_rate": 4.228523489932886e-05,
187
+ "loss": 0.1374,
188
+ "step": 2400
189
+ },
190
+ {
191
+ "epoch": 11.31,
192
+ "learning_rate": 4.194966442953021e-05,
193
+ "loss": 0.1217,
194
+ "step": 2500
195
+ },
196
+ {
197
+ "epoch": 11.31,
198
+ "eval_accuracy": 0.8805241311955726,
199
+ "eval_loss": 0.493513286113739,
200
+ "eval_runtime": 2.6161,
201
+ "eval_samples_per_second": 193.798,
202
+ "eval_steps_per_second": 24.464,
203
+ "step": 2500
204
+ },
205
+ {
206
+ "epoch": 11.76,
207
+ "learning_rate": 4.161409395973155e-05,
208
+ "loss": 0.1193,
209
+ "step": 2600
210
+ },
211
+ {
212
+ "epoch": 12.22,
213
+ "learning_rate": 4.127852348993289e-05,
214
+ "loss": 0.1098,
215
+ "step": 2700
216
+ },
217
+ {
218
+ "epoch": 12.67,
219
+ "learning_rate": 4.0942953020134226e-05,
220
+ "loss": 0.103,
221
+ "step": 2800
222
+ },
223
+ {
224
+ "epoch": 13.12,
225
+ "learning_rate": 4.060738255033557e-05,
226
+ "loss": 0.1012,
227
+ "step": 2900
228
+ },
229
+ {
230
+ "epoch": 13.57,
231
+ "learning_rate": 4.027181208053691e-05,
232
+ "loss": 0.0896,
233
+ "step": 3000
234
+ },
235
+ {
236
+ "epoch": 13.57,
237
+ "eval_accuracy": 0.8823146414910068,
238
+ "eval_loss": 0.5315696001052856,
239
+ "eval_runtime": 2.6096,
240
+ "eval_samples_per_second": 194.28,
241
+ "eval_steps_per_second": 24.525,
242
+ "step": 3000
243
+ },
244
+ {
245
+ "epoch": 14.03,
246
+ "learning_rate": 3.993624161073826e-05,
247
+ "loss": 0.0869,
248
+ "step": 3100
249
+ },
250
+ {
251
+ "epoch": 14.48,
252
+ "learning_rate": 3.96006711409396e-05,
253
+ "loss": 0.0784,
254
+ "step": 3200
255
+ },
256
+ {
257
+ "epoch": 14.93,
258
+ "learning_rate": 3.926510067114094e-05,
259
+ "loss": 0.0783,
260
+ "step": 3300
261
+ },
262
+ {
263
+ "epoch": 15.38,
264
+ "learning_rate": 3.892953020134228e-05,
265
+ "loss": 0.0691,
266
+ "step": 3400
267
+ },
268
+ {
269
+ "epoch": 15.84,
270
+ "learning_rate": 3.859395973154363e-05,
271
+ "loss": 0.0685,
272
+ "step": 3500
273
+ },
274
+ {
275
+ "epoch": 15.84,
276
+ "eval_accuracy": 0.8823960283226174,
277
+ "eval_loss": 0.5921140313148499,
278
+ "eval_runtime": 2.6221,
279
+ "eval_samples_per_second": 193.357,
280
+ "eval_steps_per_second": 24.408,
281
+ "step": 3500
282
+ },
283
+ {
284
+ "epoch": 16.29,
285
+ "learning_rate": 3.825838926174497e-05,
286
+ "loss": 0.0646,
287
+ "step": 3600
288
+ },
289
+ {
290
+ "epoch": 16.74,
291
+ "learning_rate": 3.7922818791946313e-05,
292
+ "loss": 0.0592,
293
+ "step": 3700
294
+ },
295
+ {
296
+ "epoch": 17.19,
297
+ "learning_rate": 3.758724832214765e-05,
298
+ "loss": 0.0593,
299
+ "step": 3800
300
+ },
301
+ {
302
+ "epoch": 17.65,
303
+ "learning_rate": 3.725167785234899e-05,
304
+ "loss": 0.0546,
305
+ "step": 3900
306
+ },
307
+ {
308
+ "epoch": 18.1,
309
+ "learning_rate": 3.691610738255034e-05,
310
+ "loss": 0.0546,
311
+ "step": 4000
312
+ },
313
+ {
314
+ "epoch": 18.1,
315
+ "eval_accuracy": 0.88272157564906,
316
+ "eval_loss": 0.6464724540710449,
317
+ "eval_runtime": 2.62,
318
+ "eval_samples_per_second": 193.511,
319
+ "eval_steps_per_second": 24.427,
320
+ "step": 4000
321
+ },
322
+ {
323
+ "epoch": 18.55,
324
+ "learning_rate": 3.658053691275168e-05,
325
+ "loss": 0.0494,
326
+ "step": 4100
327
+ },
328
+ {
329
+ "epoch": 19.0,
330
+ "learning_rate": 3.624496644295302e-05,
331
+ "loss": 0.0519,
332
+ "step": 4200
333
+ },
334
+ {
335
+ "epoch": 19.46,
336
+ "learning_rate": 3.590939597315436e-05,
337
+ "loss": 0.0422,
338
+ "step": 4300
339
+ },
340
+ {
341
+ "epoch": 19.91,
342
+ "learning_rate": 3.557382550335571e-05,
343
+ "loss": 0.0445,
344
+ "step": 4400
345
+ },
346
+ {
347
+ "epoch": 20.36,
348
+ "learning_rate": 3.523825503355705e-05,
349
+ "loss": 0.0395,
350
+ "step": 4500
351
+ },
352
+ {
353
+ "epoch": 20.36,
354
+ "eval_accuracy": 0.8812566126800684,
355
+ "eval_loss": 0.6766866445541382,
356
+ "eval_runtime": 2.6147,
357
+ "eval_samples_per_second": 193.903,
358
+ "eval_steps_per_second": 24.477,
359
+ "step": 4500
360
+ },
361
+ {
362
+ "epoch": 20.36,
363
+ "step": 4500,
364
+ "total_flos": 1.875842476013568e+16,
365
+ "train_loss": 0.20138724523120458,
366
+ "train_runtime": 1165.6408,
367
+ "train_samples_per_second": 411.791,
368
+ "train_steps_per_second": 12.868
369
+ }
370
+ ],
371
+ "max_steps": 15000,
372
+ "num_train_epochs": 68,
373
+ "total_flos": 1.875842476013568e+16,
374
+ "trial_name": null,
375
+ "trial_params": null
376
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:424878333e7f3fd6599da9a37049f61e340a0221e9b4a28d23cd37fc6f796bb7
3
+ size 3387
vocab.txt ADDED
The diff for this file is too large to render. See raw diff