Md Mushfiqur Rahman commited on
Commit
ed893db
1 Parent(s): 138b0b9

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": 32.0,
3
+ "eval_accuracy": 0.9564084340203743,
4
+ "eval_loss": 0.22227974236011505,
5
+ "eval_runtime": 2.582,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 193.651,
8
+ "eval_steps_per_second": 24.4,
9
+ "test_accuracy": 0.9622877122877123,
10
+ "test_loss": 0.20706787705421448,
11
+ "test_runtime": 2.5856,
12
+ "test_samples": 500,
13
+ "test_samples_per_second": 193.378,
14
+ "test_steps_per_second": 24.366,
15
+ "train_loss": 0.04717882344126701,
16
+ "train_runtime": 1107.6488,
17
+ "train_samples": 3997,
18
+ "train_samples_per_second": 433.35,
19
+ "train_steps_per_second": 13.542
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:13ea45d3aee17fcf4d04f787b3178d98b9037f1a0532fa6d64e824b338a08600
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,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.9564084340203743,
3
+ "best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/mbert/mbert-base-finetuned-pos-ud-Chinese-GSD/checkpoint-1500",
4
+ "epoch": 32.0,
5
+ "global_step": 4000,
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.8,
12
+ "learning_rate": 7.92e-05,
13
+ "loss": 1.0164,
14
+ "step": 100
15
+ },
16
+ {
17
+ "epoch": 1.6,
18
+ "learning_rate": 7.946845637583894e-05,
19
+ "loss": 0.1696,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 2.4,
24
+ "learning_rate": 7.893154362416109e-05,
25
+ "loss": 0.1167,
26
+ "step": 300
27
+ },
28
+ {
29
+ "epoch": 3.2,
30
+ "learning_rate": 7.839463087248322e-05,
31
+ "loss": 0.0845,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 4.0,
36
+ "learning_rate": 7.785771812080537e-05,
37
+ "loss": 0.0603,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 4.0,
42
+ "eval_accuracy": 0.9558556424228066,
43
+ "eval_loss": 0.1726187914609909,
44
+ "eval_runtime": 2.583,
45
+ "eval_samples_per_second": 193.571,
46
+ "eval_steps_per_second": 24.39,
47
+ "step": 500
48
+ },
49
+ {
50
+ "epoch": 4.8,
51
+ "learning_rate": 7.732080536912752e-05,
52
+ "loss": 0.0413,
53
+ "step": 600
54
+ },
55
+ {
56
+ "epoch": 5.6,
57
+ "learning_rate": 7.678389261744967e-05,
58
+ "loss": 0.0335,
59
+ "step": 700
60
+ },
61
+ {
62
+ "epoch": 6.4,
63
+ "learning_rate": 7.624697986577182e-05,
64
+ "loss": 0.0287,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 7.2,
69
+ "learning_rate": 7.571006711409396e-05,
70
+ "loss": 0.0259,
71
+ "step": 900
72
+ },
73
+ {
74
+ "epoch": 8.0,
75
+ "learning_rate": 7.517315436241611e-05,
76
+ "loss": 0.0214,
77
+ "step": 1000
78
+ },
79
+ {
80
+ "epoch": 8.0,
81
+ "eval_accuracy": 0.9563294637921503,
82
+ "eval_loss": 0.21138951182365417,
83
+ "eval_runtime": 2.5897,
84
+ "eval_samples_per_second": 193.075,
85
+ "eval_steps_per_second": 24.327,
86
+ "step": 1000
87
+ },
88
+ {
89
+ "epoch": 8.8,
90
+ "learning_rate": 7.463624161073826e-05,
91
+ "loss": 0.0184,
92
+ "step": 1100
93
+ },
94
+ {
95
+ "epoch": 9.6,
96
+ "learning_rate": 7.409932885906041e-05,
97
+ "loss": 0.0176,
98
+ "step": 1200
99
+ },
100
+ {
101
+ "epoch": 10.4,
102
+ "learning_rate": 7.356241610738256e-05,
103
+ "loss": 0.017,
104
+ "step": 1300
105
+ },
106
+ {
107
+ "epoch": 11.2,
108
+ "learning_rate": 7.30255033557047e-05,
109
+ "loss": 0.0139,
110
+ "step": 1400
111
+ },
112
+ {
113
+ "epoch": 12.0,
114
+ "learning_rate": 7.248859060402685e-05,
115
+ "loss": 0.0143,
116
+ "step": 1500
117
+ },
118
+ {
119
+ "epoch": 12.0,
120
+ "eval_accuracy": 0.9564084340203743,
121
+ "eval_loss": 0.22227974236011505,
122
+ "eval_runtime": 2.5849,
123
+ "eval_samples_per_second": 193.435,
124
+ "eval_steps_per_second": 24.373,
125
+ "step": 1500
126
+ },
127
+ {
128
+ "epoch": 12.8,
129
+ "learning_rate": 7.1951677852349e-05,
130
+ "loss": 0.0128,
131
+ "step": 1600
132
+ },
133
+ {
134
+ "epoch": 13.6,
135
+ "learning_rate": 7.141476510067115e-05,
136
+ "loss": 0.0112,
137
+ "step": 1700
138
+ },
139
+ {
140
+ "epoch": 14.4,
141
+ "learning_rate": 7.08778523489933e-05,
142
+ "loss": 0.0118,
143
+ "step": 1800
144
+ },
145
+ {
146
+ "epoch": 15.2,
147
+ "learning_rate": 7.034093959731545e-05,
148
+ "loss": 0.0118,
149
+ "step": 1900
150
+ },
151
+ {
152
+ "epoch": 16.0,
153
+ "learning_rate": 6.98040268456376e-05,
154
+ "loss": 0.0099,
155
+ "step": 2000
156
+ },
157
+ {
158
+ "epoch": 16.0,
159
+ "eval_accuracy": 0.9560135828792545,
160
+ "eval_loss": 0.24710656702518463,
161
+ "eval_runtime": 2.5783,
162
+ "eval_samples_per_second": 193.93,
163
+ "eval_steps_per_second": 24.435,
164
+ "step": 2000
165
+ },
166
+ {
167
+ "epoch": 16.8,
168
+ "learning_rate": 6.926711409395974e-05,
169
+ "loss": 0.0087,
170
+ "step": 2100
171
+ },
172
+ {
173
+ "epoch": 17.6,
174
+ "learning_rate": 6.873020134228189e-05,
175
+ "loss": 0.0101,
176
+ "step": 2200
177
+ },
178
+ {
179
+ "epoch": 18.4,
180
+ "learning_rate": 6.819328859060404e-05,
181
+ "loss": 0.0094,
182
+ "step": 2300
183
+ },
184
+ {
185
+ "epoch": 19.2,
186
+ "learning_rate": 6.765637583892619e-05,
187
+ "loss": 0.0095,
188
+ "step": 2400
189
+ },
190
+ {
191
+ "epoch": 20.0,
192
+ "learning_rate": 6.711946308724834e-05,
193
+ "loss": 0.0086,
194
+ "step": 2500
195
+ },
196
+ {
197
+ "epoch": 20.0,
198
+ "eval_accuracy": 0.9556977019663587,
199
+ "eval_loss": 0.248493954539299,
200
+ "eval_runtime": 2.5942,
201
+ "eval_samples_per_second": 192.736,
202
+ "eval_steps_per_second": 24.285,
203
+ "step": 2500
204
+ },
205
+ {
206
+ "epoch": 20.8,
207
+ "learning_rate": 6.658255033557048e-05,
208
+ "loss": 0.009,
209
+ "step": 2600
210
+ },
211
+ {
212
+ "epoch": 21.6,
213
+ "learning_rate": 6.604563758389262e-05,
214
+ "loss": 0.0088,
215
+ "step": 2700
216
+ },
217
+ {
218
+ "epoch": 22.4,
219
+ "learning_rate": 6.550872483221477e-05,
220
+ "loss": 0.0087,
221
+ "step": 2800
222
+ },
223
+ {
224
+ "epoch": 23.2,
225
+ "learning_rate": 6.497181208053692e-05,
226
+ "loss": 0.0073,
227
+ "step": 2900
228
+ },
229
+ {
230
+ "epoch": 24.0,
231
+ "learning_rate": 6.443489932885906e-05,
232
+ "loss": 0.0083,
233
+ "step": 3000
234
+ },
235
+ {
236
+ "epoch": 24.0,
237
+ "eval_accuracy": 0.9560925531074784,
238
+ "eval_loss": 0.2502564489841461,
239
+ "eval_runtime": 2.5819,
240
+ "eval_samples_per_second": 193.657,
241
+ "eval_steps_per_second": 24.401,
242
+ "step": 3000
243
+ },
244
+ {
245
+ "epoch": 24.8,
246
+ "learning_rate": 6.389798657718121e-05,
247
+ "loss": 0.0063,
248
+ "step": 3100
249
+ },
250
+ {
251
+ "epoch": 25.6,
252
+ "learning_rate": 6.336107382550336e-05,
253
+ "loss": 0.0064,
254
+ "step": 3200
255
+ },
256
+ {
257
+ "epoch": 26.4,
258
+ "learning_rate": 6.282416107382551e-05,
259
+ "loss": 0.0069,
260
+ "step": 3300
261
+ },
262
+ {
263
+ "epoch": 27.2,
264
+ "learning_rate": 6.228724832214766e-05,
265
+ "loss": 0.0071,
266
+ "step": 3400
267
+ },
268
+ {
269
+ "epoch": 28.0,
270
+ "learning_rate": 6.17503355704698e-05,
271
+ "loss": 0.0052,
272
+ "step": 3500
273
+ },
274
+ {
275
+ "epoch": 28.0,
276
+ "eval_accuracy": 0.9552238805970149,
277
+ "eval_loss": 0.26657333970069885,
278
+ "eval_runtime": 2.6131,
279
+ "eval_samples_per_second": 191.344,
280
+ "eval_steps_per_second": 24.109,
281
+ "step": 3500
282
+ },
283
+ {
284
+ "epoch": 28.8,
285
+ "learning_rate": 6.121342281879195e-05,
286
+ "loss": 0.0053,
287
+ "step": 3600
288
+ },
289
+ {
290
+ "epoch": 29.6,
291
+ "learning_rate": 6.06765100671141e-05,
292
+ "loss": 0.006,
293
+ "step": 3700
294
+ },
295
+ {
296
+ "epoch": 30.4,
297
+ "learning_rate": 6.013959731543624e-05,
298
+ "loss": 0.0058,
299
+ "step": 3800
300
+ },
301
+ {
302
+ "epoch": 31.2,
303
+ "learning_rate": 5.960268456375839e-05,
304
+ "loss": 0.006,
305
+ "step": 3900
306
+ },
307
+ {
308
+ "epoch": 32.0,
309
+ "learning_rate": 5.906577181208054e-05,
310
+ "loss": 0.0065,
311
+ "step": 4000
312
+ },
313
+ {
314
+ "epoch": 32.0,
315
+ "eval_accuracy": 0.9546710889994472,
316
+ "eval_loss": 0.27891796827316284,
317
+ "eval_runtime": 2.5975,
318
+ "eval_samples_per_second": 192.494,
319
+ "eval_steps_per_second": 24.254,
320
+ "step": 4000
321
+ },
322
+ {
323
+ "epoch": 32.0,
324
+ "step": 4000,
325
+ "total_flos": 1.6712716359155712e+16,
326
+ "train_loss": 0.04717882344126701,
327
+ "train_runtime": 1107.6488,
328
+ "train_samples_per_second": 433.35,
329
+ "train_steps_per_second": 13.542
330
+ }
331
+ ],
332
+ "max_steps": 15000,
333
+ "num_train_epochs": 120,
334
+ "total_flos": 1.6712716359155712e+16,
335
+ "trial_name": null,
336
+ "trial_params": null
337
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b301a314447949a60b8ea6fbc5187aec9cb167fbc9e14fafe1ed15b4bed4d2e
3
+ size 3387
vocab.txt ADDED
The diff for this file is too large to render. See raw diff