Md Mushfiqur Rahman commited on
Commit
400f525
1 Parent(s): 9e97354

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,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 24.0,
3
+ "eval_las": 27.560609650161886,
4
+ "eval_loss": 3.2153432369232178,
5
+ "eval_runtime": 3.9651,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 126.1,
8
+ "eval_steps_per_second": 15.889,
9
+ "eval_uas": 38.72699992102977,
10
+ "test_las": 29.312354312354312,
11
+ "test_loss": 3.145913600921631,
12
+ "test_runtime": 3.7359,
13
+ "test_samples": 500,
14
+ "test_samples_per_second": 133.836,
15
+ "test_steps_per_second": 16.863,
16
+ "test_uas": 40.36796536796537,
17
+ "train_loss": 1.6239593226114908,
18
+ "train_runtime": 1696.2446,
19
+ "train_samples": 3997,
20
+ "train_samples_per_second": 282.978,
21
+ "train_steps_per_second": 8.843
22
+ }
config.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-cased",
3
+ "architectures": [
4
+ "BertForBiaffineParsing"
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": "_",
14
+ "1": "acl",
15
+ "2": "advcl",
16
+ "3": "advmod",
17
+ "4": "amod",
18
+ "5": "appos",
19
+ "6": "aux",
20
+ "7": "case",
21
+ "8": "cc",
22
+ "9": "ccomp",
23
+ "10": "clf",
24
+ "11": "compound",
25
+ "12": "conj",
26
+ "13": "cop",
27
+ "14": "csubj",
28
+ "15": "dep",
29
+ "16": "det",
30
+ "17": "discourse",
31
+ "18": "dislocated",
32
+ "19": "expl",
33
+ "20": "fixed",
34
+ "21": "flat",
35
+ "22": "goeswith",
36
+ "23": "iobj",
37
+ "24": "list",
38
+ "25": "mark",
39
+ "26": "nmod",
40
+ "27": "nsubj",
41
+ "28": "nummod",
42
+ "29": "obj",
43
+ "30": "obl",
44
+ "31": "orphan",
45
+ "32": "parataxis",
46
+ "33": "punct",
47
+ "34": "reparandum",
48
+ "35": "root",
49
+ "36": "vocative",
50
+ "37": "xcomp"
51
+ },
52
+ "initializer_range": 0.02,
53
+ "intermediate_size": 3072,
54
+ "label2id": {
55
+ "_": 0,
56
+ "acl": 1,
57
+ "advcl": 2,
58
+ "advmod": 3,
59
+ "amod": 4,
60
+ "appos": 5,
61
+ "aux": 6,
62
+ "case": 7,
63
+ "cc": 8,
64
+ "ccomp": 9,
65
+ "clf": 10,
66
+ "compound": 11,
67
+ "conj": 12,
68
+ "cop": 13,
69
+ "csubj": 14,
70
+ "dep": 15,
71
+ "det": 16,
72
+ "discourse": 17,
73
+ "dislocated": 18,
74
+ "expl": 19,
75
+ "fixed": 20,
76
+ "flat": 21,
77
+ "goeswith": 22,
78
+ "iobj": 23,
79
+ "list": 24,
80
+ "mark": 25,
81
+ "nmod": 26,
82
+ "nsubj": 27,
83
+ "nummod": 28,
84
+ "obj": 29,
85
+ "obl": 30,
86
+ "orphan": 31,
87
+ "parataxis": 32,
88
+ "punct": 33,
89
+ "reparandum": 34,
90
+ "root": 35,
91
+ "vocative": 36,
92
+ "xcomp": 37
93
+ },
94
+ "layer_norm_eps": 1e-12,
95
+ "max_position_embeddings": 512,
96
+ "model_type": "bert",
97
+ "num_attention_heads": 12,
98
+ "num_hidden_layers": 12,
99
+ "pad_token_id": -100,
100
+ "position_embedding_type": "absolute",
101
+ "torch_dtype": "float32",
102
+ "transformers_version": "4.17.0",
103
+ "type_vocab_size": 2,
104
+ "use_cache": true,
105
+ "vocab_size": 28996
106
+ }
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:f8a45d1d45dc6b2261bb1b78957b0f1c6b8fdad5a8afbb1ba0ef07a8b770f79b
3
+ size 525577269
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,265 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 27.560609650161886,
3
+ "best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/bert/bert-base-finetuned-parsing-ud-Chinese-GSD/checkpoint-500",
4
+ "epoch": 24.0,
5
+ "global_step": 3000,
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.52e-05,
13
+ "loss": 5.1119,
14
+ "step": 100
15
+ },
16
+ {
17
+ "epoch": 1.6,
18
+ "learning_rate": 7.949530201342283e-05,
19
+ "loss": 3.5502,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 2.4,
24
+ "learning_rate": 7.895838926174497e-05,
25
+ "loss": 3.2732,
26
+ "step": 300
27
+ },
28
+ {
29
+ "epoch": 3.2,
30
+ "learning_rate": 7.842147651006712e-05,
31
+ "loss": 3.1436,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 4.0,
36
+ "learning_rate": 7.788456375838927e-05,
37
+ "loss": 2.9782,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 4.0,
42
+ "eval_las": 27.560609650161886,
43
+ "eval_loss": 3.2153432369232178,
44
+ "eval_runtime": 3.7874,
45
+ "eval_samples_per_second": 132.018,
46
+ "eval_steps_per_second": 16.634,
47
+ "eval_uas": 38.72699992102977,
48
+ "step": 500
49
+ },
50
+ {
51
+ "epoch": 4.8,
52
+ "learning_rate": 7.734765100671142e-05,
53
+ "loss": 2.7713,
54
+ "step": 600
55
+ },
56
+ {
57
+ "epoch": 5.6,
58
+ "learning_rate": 7.681073825503357e-05,
59
+ "loss": 2.596,
60
+ "step": 700
61
+ },
62
+ {
63
+ "epoch": 6.4,
64
+ "learning_rate": 7.627382550335572e-05,
65
+ "loss": 2.4727,
66
+ "step": 800
67
+ },
68
+ {
69
+ "epoch": 7.2,
70
+ "learning_rate": 7.573691275167786e-05,
71
+ "loss": 2.2636,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 8.0,
76
+ "learning_rate": 7.52e-05,
77
+ "loss": 2.1577,
78
+ "step": 1000
79
+ },
80
+ {
81
+ "epoch": 8.0,
82
+ "eval_las": 27.24472873726605,
83
+ "eval_loss": 3.5974676609039307,
84
+ "eval_runtime": 3.7904,
85
+ "eval_samples_per_second": 131.911,
86
+ "eval_steps_per_second": 16.621,
87
+ "eval_uas": 37.81094527363184,
88
+ "step": 1000
89
+ },
90
+ {
91
+ "epoch": 8.8,
92
+ "learning_rate": 7.466308724832215e-05,
93
+ "loss": 1.9002,
94
+ "step": 1100
95
+ },
96
+ {
97
+ "epoch": 9.6,
98
+ "learning_rate": 7.41261744966443e-05,
99
+ "loss": 1.7571,
100
+ "step": 1200
101
+ },
102
+ {
103
+ "epoch": 10.4,
104
+ "learning_rate": 7.358926174496644e-05,
105
+ "loss": 1.6221,
106
+ "step": 1300
107
+ },
108
+ {
109
+ "epoch": 11.2,
110
+ "learning_rate": 7.305234899328859e-05,
111
+ "loss": 1.4755,
112
+ "step": 1400
113
+ },
114
+ {
115
+ "epoch": 12.0,
116
+ "learning_rate": 7.251543624161074e-05,
117
+ "loss": 1.3676,
118
+ "step": 1500
119
+ },
120
+ {
121
+ "epoch": 12.0,
122
+ "eval_las": 26.139145542130613,
123
+ "eval_loss": 4.466611385345459,
124
+ "eval_runtime": 3.7901,
125
+ "eval_samples_per_second": 131.922,
126
+ "eval_steps_per_second": 16.622,
127
+ "eval_uas": 37.3055358129985,
128
+ "step": 1500
129
+ },
130
+ {
131
+ "epoch": 12.8,
132
+ "learning_rate": 7.197852348993289e-05,
133
+ "loss": 1.1862,
134
+ "step": 1600
135
+ },
136
+ {
137
+ "epoch": 13.6,
138
+ "learning_rate": 7.144161073825504e-05,
139
+ "loss": 1.0804,
140
+ "step": 1700
141
+ },
142
+ {
143
+ "epoch": 14.4,
144
+ "learning_rate": 7.090469798657718e-05,
145
+ "loss": 1.0108,
146
+ "step": 1800
147
+ },
148
+ {
149
+ "epoch": 15.2,
150
+ "learning_rate": 7.036778523489933e-05,
151
+ "loss": 0.9181,
152
+ "step": 1900
153
+ },
154
+ {
155
+ "epoch": 16.0,
156
+ "learning_rate": 6.983087248322148e-05,
157
+ "loss": 0.8486,
158
+ "step": 2000
159
+ },
160
+ {
161
+ "epoch": 16.0,
162
+ "eval_las": 25.70480928689884,
163
+ "eval_loss": 5.577605247497559,
164
+ "eval_runtime": 3.7894,
165
+ "eval_samples_per_second": 131.945,
166
+ "eval_steps_per_second": 16.625,
167
+ "eval_uas": 36.713259101318805,
168
+ "step": 2000
169
+ },
170
+ {
171
+ "epoch": 16.8,
172
+ "learning_rate": 6.929395973154363e-05,
173
+ "loss": 0.7407,
174
+ "step": 2100
175
+ },
176
+ {
177
+ "epoch": 17.6,
178
+ "learning_rate": 6.875704697986578e-05,
179
+ "loss": 0.682,
180
+ "step": 2200
181
+ },
182
+ {
183
+ "epoch": 18.4,
184
+ "learning_rate": 6.822013422818793e-05,
185
+ "loss": 0.6301,
186
+ "step": 2300
187
+ },
188
+ {
189
+ "epoch": 19.2,
190
+ "learning_rate": 6.768322147651007e-05,
191
+ "loss": 0.5779,
192
+ "step": 2400
193
+ },
194
+ {
195
+ "epoch": 20.0,
196
+ "learning_rate": 6.714630872483222e-05,
197
+ "loss": 0.5466,
198
+ "step": 2500
199
+ },
200
+ {
201
+ "epoch": 20.0,
202
+ "eval_las": 26.09966042801864,
203
+ "eval_loss": 6.376339912414551,
204
+ "eval_runtime": 3.7911,
205
+ "eval_samples_per_second": 131.889,
206
+ "eval_steps_per_second": 16.618,
207
+ "eval_uas": 37.08441917397141,
208
+ "step": 2500
209
+ },
210
+ {
211
+ "epoch": 20.8,
212
+ "learning_rate": 6.660939597315437e-05,
213
+ "loss": 0.4749,
214
+ "step": 2600
215
+ },
216
+ {
217
+ "epoch": 21.6,
218
+ "learning_rate": 6.607248322147652e-05,
219
+ "loss": 0.4391,
220
+ "step": 2700
221
+ },
222
+ {
223
+ "epoch": 22.4,
224
+ "learning_rate": 6.553557046979867e-05,
225
+ "loss": 0.4082,
226
+ "step": 2800
227
+ },
228
+ {
229
+ "epoch": 23.2,
230
+ "learning_rate": 6.499865771812081e-05,
231
+ "loss": 0.3809,
232
+ "step": 2900
233
+ },
234
+ {
235
+ "epoch": 24.0,
236
+ "learning_rate": 6.446174496644296e-05,
237
+ "loss": 0.3536,
238
+ "step": 3000
239
+ },
240
+ {
241
+ "epoch": 24.0,
242
+ "eval_las": 26.060175313906658,
243
+ "eval_loss": 7.119637489318848,
244
+ "eval_runtime": 3.7886,
245
+ "eval_samples_per_second": 131.973,
246
+ "eval_steps_per_second": 16.629,
247
+ "eval_uas": 37.37660901840007,
248
+ "step": 3000
249
+ },
250
+ {
251
+ "epoch": 24.0,
252
+ "step": 3000,
253
+ "total_flos": 1.6017757518422016e+16,
254
+ "train_loss": 1.6239593226114908,
255
+ "train_runtime": 1696.2446,
256
+ "train_samples_per_second": 282.978,
257
+ "train_steps_per_second": 8.843
258
+ }
259
+ ],
260
+ "max_steps": 15000,
261
+ "num_train_epochs": 120,
262
+ "total_flos": 1.6017757518422016e+16,
263
+ "trial_name": null,
264
+ "trial_params": null
265
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:087378b4f0d17aa974e0a6ddae8a00b6afcd6b0e89c5a4aa9b3a3e5fb75b775b
3
+ size 3387
vocab.txt ADDED
The diff for this file is too large to render. See raw diff