Md Mushfiqur Rahman
commited on
Commit
•
a15dae3
1
Parent(s):
1ce84ba
Upload with huggingface_hub
Browse files- README.md +15 -0
- all_results.json +22 -0
- config.json +106 -0
- eval_predictions.csv +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- test_predictions.csv +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +265 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
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": 76.92,
|
3 |
+
"eval_las": 14.889152449594015,
|
4 |
+
"eval_loss": 4.103353500366211,
|
5 |
+
"eval_runtime": 2.9637,
|
6 |
+
"eval_samples": 381,
|
7 |
+
"eval_samples_per_second": 128.557,
|
8 |
+
"eval_steps_per_second": 16.196,
|
9 |
+
"eval_uas": 31.748928017516647,
|
10 |
+
"test_las": 13.477296828304253,
|
11 |
+
"test_loss": 4.127927780151367,
|
12 |
+
"test_runtime": 3.0193,
|
13 |
+
"test_samples": 403,
|
14 |
+
"test_samples_per_second": 133.474,
|
15 |
+
"test_steps_per_second": 16.891,
|
16 |
+
"test_uas": 30.52154632218259,
|
17 |
+
"train_loss": 2.0616751454671225,
|
18 |
+
"train_runtime": 1642.7036,
|
19 |
+
"train_samples": 1227,
|
20 |
+
"train_samples_per_second": 292.201,
|
21 |
+
"train_steps_per_second": 9.131
|
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:9be2f320a2241bd643f97d790786c84ecc682538b141a27340986fa5068f14bb
|
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 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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594015,
|
3 |
+
"best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/bert/bert-base-finetuned-parsing-ud-Coptic-Scriptorium/checkpoint-500",
|
4 |
+
"epoch": 76.92307692307692,
|
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": 2.56,
|
12 |
+
"learning_rate": 7.6e-05,
|
13 |
+
"loss": 5.3836,
|
14 |
+
"step": 100
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 5.13,
|
18 |
+
"learning_rate": 7.948993288590604e-05,
|
19 |
+
"loss": 4.1364,
|
20 |
+
"step": 200
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 7.69,
|
24 |
+
"learning_rate": 7.895302013422819e-05,
|
25 |
+
"loss": 3.8943,
|
26 |
+
"step": 300
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 10.26,
|
30 |
+
"learning_rate": 7.841610738255034e-05,
|
31 |
+
"loss": 3.7384,
|
32 |
+
"step": 400
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 12.82,
|
36 |
+
"learning_rate": 7.787919463087249e-05,
|
37 |
+
"loss": 3.5767,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 12.82,
|
42 |
+
"eval_las": 14.889152449594015,
|
43 |
+
"eval_loss": 4.103353500366211,
|
44 |
+
"eval_runtime": 2.9493,
|
45 |
+
"eval_samples_per_second": 129.182,
|
46 |
+
"eval_steps_per_second": 16.275,
|
47 |
+
"eval_uas": 31.748928017516647,
|
48 |
+
"step": 500
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 15.38,
|
52 |
+
"learning_rate": 7.734228187919463e-05,
|
53 |
+
"loss": 3.4084,
|
54 |
+
"step": 600
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 17.95,
|
58 |
+
"learning_rate": 7.680536912751678e-05,
|
59 |
+
"loss": 3.2001,
|
60 |
+
"step": 700
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 20.51,
|
64 |
+
"learning_rate": 7.626845637583893e-05,
|
65 |
+
"loss": 2.9538,
|
66 |
+
"step": 800
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 23.08,
|
70 |
+
"learning_rate": 7.573154362416108e-05,
|
71 |
+
"loss": 2.7223,
|
72 |
+
"step": 900
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 25.64,
|
76 |
+
"learning_rate": 7.519463087248323e-05,
|
77 |
+
"loss": 2.4472,
|
78 |
+
"step": 1000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 25.64,
|
82 |
+
"eval_las": 11.248973633792538,
|
83 |
+
"eval_loss": 5.691993713378906,
|
84 |
+
"eval_runtime": 2.9489,
|
85 |
+
"eval_samples_per_second": 129.203,
|
86 |
+
"eval_steps_per_second": 16.278,
|
87 |
+
"eval_uas": 27.926284098166228,
|
88 |
+
"step": 1000
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 28.21,
|
92 |
+
"learning_rate": 7.465771812080537e-05,
|
93 |
+
"loss": 2.2519,
|
94 |
+
"step": 1100
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 30.77,
|
98 |
+
"learning_rate": 7.412080536912752e-05,
|
99 |
+
"loss": 2.0317,
|
100 |
+
"step": 1200
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 33.33,
|
104 |
+
"learning_rate": 7.358389261744967e-05,
|
105 |
+
"loss": 1.8544,
|
106 |
+
"step": 1300
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 35.9,
|
110 |
+
"learning_rate": 7.304697986577182e-05,
|
111 |
+
"loss": 1.7134,
|
112 |
+
"step": 1400
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 38.46,
|
116 |
+
"learning_rate": 7.251006711409397e-05,
|
117 |
+
"loss": 1.5671,
|
118 |
+
"step": 1500
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 38.46,
|
122 |
+
"eval_las": 9.871362101997994,
|
123 |
+
"eval_loss": 7.934547424316406,
|
124 |
+
"eval_runtime": 2.9464,
|
125 |
+
"eval_samples_per_second": 129.311,
|
126 |
+
"eval_steps_per_second": 16.291,
|
127 |
+
"eval_uas": 25.444758689900553,
|
128 |
+
"step": 1500
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 41.03,
|
132 |
+
"learning_rate": 7.197315436241612e-05,
|
133 |
+
"loss": 1.4647,
|
134 |
+
"step": 1600
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 43.59,
|
138 |
+
"learning_rate": 7.143624161073826e-05,
|
139 |
+
"loss": 1.3584,
|
140 |
+
"step": 1700
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 46.15,
|
144 |
+
"learning_rate": 7.089932885906041e-05,
|
145 |
+
"loss": 1.2918,
|
146 |
+
"step": 1800
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 48.72,
|
150 |
+
"learning_rate": 7.036241610738256e-05,
|
151 |
+
"loss": 1.2333,
|
152 |
+
"step": 1900
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 51.28,
|
156 |
+
"learning_rate": 6.982550335570471e-05,
|
157 |
+
"loss": 1.2108,
|
158 |
+
"step": 2000
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 51.28,
|
162 |
+
"eval_las": 9.570294681142231,
|
163 |
+
"eval_loss": 10.208051681518555,
|
164 |
+
"eval_runtime": 2.9507,
|
165 |
+
"eval_samples_per_second": 129.123,
|
166 |
+
"eval_steps_per_second": 16.267,
|
167 |
+
"eval_uas": 24.58717270322051,
|
168 |
+
"step": 2000
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 53.85,
|
172 |
+
"learning_rate": 6.928859060402686e-05,
|
173 |
+
"loss": 1.1363,
|
174 |
+
"step": 2100
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 56.41,
|
178 |
+
"learning_rate": 6.8751677852349e-05,
|
179 |
+
"loss": 1.1452,
|
180 |
+
"step": 2200
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 58.97,
|
184 |
+
"learning_rate": 6.821476510067115e-05,
|
185 |
+
"loss": 1.0937,
|
186 |
+
"step": 2300
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"epoch": 61.54,
|
190 |
+
"learning_rate": 6.76778523489933e-05,
|
191 |
+
"loss": 1.0555,
|
192 |
+
"step": 2400
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 64.1,
|
196 |
+
"learning_rate": 6.714093959731544e-05,
|
197 |
+
"loss": 1.0311,
|
198 |
+
"step": 2500
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 64.1,
|
202 |
+
"eval_las": 9.707143508803942,
|
203 |
+
"eval_loss": 11.06482219696045,
|
204 |
+
"eval_runtime": 2.9481,
|
205 |
+
"eval_samples_per_second": 129.236,
|
206 |
+
"eval_steps_per_second": 16.282,
|
207 |
+
"eval_uas": 24.368214578961776,
|
208 |
+
"step": 2500
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"epoch": 66.67,
|
212 |
+
"learning_rate": 6.660402684563758e-05,
|
213 |
+
"loss": 1.0068,
|
214 |
+
"step": 2600
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 69.23,
|
218 |
+
"learning_rate": 6.606711409395973e-05,
|
219 |
+
"loss": 1.0095,
|
220 |
+
"step": 2700
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 71.79,
|
224 |
+
"learning_rate": 6.553020134228188e-05,
|
225 |
+
"loss": 0.9792,
|
226 |
+
"step": 2800
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 74.36,
|
230 |
+
"learning_rate": 6.499328859060403e-05,
|
231 |
+
"loss": 0.988,
|
232 |
+
"step": 2900
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"epoch": 76.92,
|
236 |
+
"learning_rate": 6.445637583892618e-05,
|
237 |
+
"loss": 0.9661,
|
238 |
+
"step": 3000
|
239 |
+
},
|
240 |
+
{
|
241 |
+
"epoch": 76.92,
|
242 |
+
"eval_las": 9.670650488094152,
|
243 |
+
"eval_loss": 10.523516654968262,
|
244 |
+
"eval_runtime": 2.9465,
|
245 |
+
"eval_samples_per_second": 129.304,
|
246 |
+
"eval_steps_per_second": 16.29,
|
247 |
+
"eval_uas": 24.41383085484901,
|
248 |
+
"step": 3000
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 76.92,
|
252 |
+
"step": 3000,
|
253 |
+
"total_flos": 1.5763284763250688e+16,
|
254 |
+
"train_loss": 2.0616751454671225,
|
255 |
+
"train_runtime": 1642.7036,
|
256 |
+
"train_samples_per_second": 292.201,
|
257 |
+
"train_steps_per_second": 9.131
|
258 |
+
}
|
259 |
+
],
|
260 |
+
"max_steps": 15000,
|
261 |
+
"num_train_epochs": 385,
|
262 |
+
"total_flos": 1.5763284763250688e+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:701914dbbae9ea7861ef042c289ea84b860792a3e4b4dfaa6b5b186739676f8e
|
3 |
+
size 3451
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|