Md Mushfiqur Rahman
commited on
Commit
·
535e8d7
1
Parent(s):
8510742
Upload with huggingface_hub
Browse files- README.md +15 -0
- all_results.json +20 -0
- config.json +64 -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 +259 -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,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 76.92,
|
3 |
+
"eval_accuracy": 0.2892984216768543,
|
4 |
+
"eval_loss": 1.9470784664154053,
|
5 |
+
"eval_runtime": 1.9293,
|
6 |
+
"eval_samples": 381,
|
7 |
+
"eval_samples_per_second": 197.482,
|
8 |
+
"eval_steps_per_second": 24.88,
|
9 |
+
"test_accuracy": 0.2644365178829654,
|
10 |
+
"test_loss": 2.0118589401245117,
|
11 |
+
"test_runtime": 2.0343,
|
12 |
+
"test_samples": 403,
|
13 |
+
"test_samples_per_second": 198.105,
|
14 |
+
"test_steps_per_second": 25.07,
|
15 |
+
"train_loss": 1.4148986282348632,
|
16 |
+
"train_runtime": 758.2535,
|
17 |
+
"train_samples": 1227,
|
18 |
+
"train_samples_per_second": 633.034,
|
19 |
+
"train_steps_per_second": 19.782
|
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:b77137a5b8f9a3f517d4f416823a3e27d12feea48463f0656ed37f95e08661e8
|
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_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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.2892984216768543,
|
3 |
+
"best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/bert/bert-base-finetuned-pos-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": 5e-05,
|
13 |
+
"loss": 2.1362,
|
14 |
+
"step": 100
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 5.13,
|
18 |
+
"learning_rate": 4.966442953020135e-05,
|
19 |
+
"loss": 1.9133,
|
20 |
+
"step": 200
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 7.69,
|
24 |
+
"learning_rate": 4.932885906040269e-05,
|
25 |
+
"loss": 1.8901,
|
26 |
+
"step": 300
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 10.26,
|
30 |
+
"learning_rate": 4.8993288590604034e-05,
|
31 |
+
"loss": 1.8743,
|
32 |
+
"step": 400
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 12.82,
|
36 |
+
"learning_rate": 4.865771812080537e-05,
|
37 |
+
"loss": 1.8572,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 12.82,
|
42 |
+
"eval_accuracy": 0.2892984216768543,
|
43 |
+
"eval_loss": 1.9470784664154053,
|
44 |
+
"eval_runtime": 1.9235,
|
45 |
+
"eval_samples_per_second": 198.078,
|
46 |
+
"eval_steps_per_second": 24.955,
|
47 |
+
"step": 500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 15.38,
|
51 |
+
"learning_rate": 4.832214765100672e-05,
|
52 |
+
"loss": 1.8448,
|
53 |
+
"step": 600
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 17.95,
|
57 |
+
"learning_rate": 4.798657718120805e-05,
|
58 |
+
"loss": 1.8263,
|
59 |
+
"step": 700
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 20.51,
|
63 |
+
"learning_rate": 4.76510067114094e-05,
|
64 |
+
"loss": 1.7988,
|
65 |
+
"step": 800
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 23.08,
|
69 |
+
"learning_rate": 4.731543624161074e-05,
|
70 |
+
"loss": 1.7733,
|
71 |
+
"step": 900
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 25.64,
|
75 |
+
"learning_rate": 4.697986577181208e-05,
|
76 |
+
"loss": 1.7321,
|
77 |
+
"step": 1000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 25.64,
|
81 |
+
"eval_accuracy": 0.27597846911778123,
|
82 |
+
"eval_loss": 2.090031147003174,
|
83 |
+
"eval_runtime": 1.9389,
|
84 |
+
"eval_samples_per_second": 196.498,
|
85 |
+
"eval_steps_per_second": 24.756,
|
86 |
+
"step": 1000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 28.21,
|
90 |
+
"learning_rate": 4.664429530201342e-05,
|
91 |
+
"loss": 1.6957,
|
92 |
+
"step": 1100
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 30.77,
|
96 |
+
"learning_rate": 4.630872483221477e-05,
|
97 |
+
"loss": 1.6365,
|
98 |
+
"step": 1200
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 33.33,
|
102 |
+
"learning_rate": 4.597315436241611e-05,
|
103 |
+
"loss": 1.5917,
|
104 |
+
"step": 1300
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 35.9,
|
108 |
+
"learning_rate": 4.5637583892617453e-05,
|
109 |
+
"loss": 1.5378,
|
110 |
+
"step": 1400
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 38.46,
|
114 |
+
"learning_rate": 4.530201342281879e-05,
|
115 |
+
"loss": 1.4759,
|
116 |
+
"step": 1500
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 38.46,
|
120 |
+
"eval_accuracy": 0.2506158197244777,
|
121 |
+
"eval_loss": 2.431821584701538,
|
122 |
+
"eval_runtime": 1.933,
|
123 |
+
"eval_samples_per_second": 197.107,
|
124 |
+
"eval_steps_per_second": 24.832,
|
125 |
+
"step": 1500
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"epoch": 41.03,
|
129 |
+
"learning_rate": 4.496644295302014e-05,
|
130 |
+
"loss": 1.4153,
|
131 |
+
"step": 1600
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 43.59,
|
135 |
+
"learning_rate": 4.463087248322148e-05,
|
136 |
+
"loss": 1.354,
|
137 |
+
"step": 1700
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 46.15,
|
141 |
+
"learning_rate": 4.4295302013422824e-05,
|
142 |
+
"loss": 1.2879,
|
143 |
+
"step": 1800
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 48.72,
|
147 |
+
"learning_rate": 4.395973154362416e-05,
|
148 |
+
"loss": 1.2279,
|
149 |
+
"step": 1900
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 51.28,
|
153 |
+
"learning_rate": 4.36241610738255e-05,
|
154 |
+
"loss": 1.1962,
|
155 |
+
"step": 2000
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 51.28,
|
159 |
+
"eval_accuracy": 0.2390292856491196,
|
160 |
+
"eval_loss": 2.9406466484069824,
|
161 |
+
"eval_runtime": 1.9342,
|
162 |
+
"eval_samples_per_second": 196.977,
|
163 |
+
"eval_steps_per_second": 24.816,
|
164 |
+
"step": 2000
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 53.85,
|
168 |
+
"learning_rate": 4.328859060402685e-05,
|
169 |
+
"loss": 1.1217,
|
170 |
+
"step": 2100
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 56.41,
|
174 |
+
"learning_rate": 4.295302013422819e-05,
|
175 |
+
"loss": 1.0833,
|
176 |
+
"step": 2200
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 58.97,
|
180 |
+
"learning_rate": 4.2617449664429534e-05,
|
181 |
+
"loss": 1.0293,
|
182 |
+
"step": 2300
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 61.54,
|
186 |
+
"learning_rate": 4.228187919463087e-05,
|
187 |
+
"loss": 0.9821,
|
188 |
+
"step": 2400
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 64.1,
|
192 |
+
"learning_rate": 4.194630872483222e-05,
|
193 |
+
"loss": 0.9384,
|
194 |
+
"step": 2500
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 64.1,
|
198 |
+
"eval_accuracy": 0.22935863516102545,
|
199 |
+
"eval_loss": 3.6179699897766113,
|
200 |
+
"eval_runtime": 1.942,
|
201 |
+
"eval_samples_per_second": 196.187,
|
202 |
+
"eval_steps_per_second": 24.716,
|
203 |
+
"step": 2500
|
204 |
+
},
|
205 |
+
{
|
206 |
+
"epoch": 66.67,
|
207 |
+
"learning_rate": 4.161073825503356e-05,
|
208 |
+
"loss": 0.8994,
|
209 |
+
"step": 2600
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 69.23,
|
213 |
+
"learning_rate": 4.1275167785234905e-05,
|
214 |
+
"loss": 0.8775,
|
215 |
+
"step": 2700
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"epoch": 71.79,
|
219 |
+
"learning_rate": 4.0942953020134226e-05,
|
220 |
+
"loss": 0.8304,
|
221 |
+
"step": 2800
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 74.36,
|
225 |
+
"learning_rate": 4.060738255033557e-05,
|
226 |
+
"loss": 0.8287,
|
227 |
+
"step": 2900
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 76.92,
|
231 |
+
"learning_rate": 4.027181208053691e-05,
|
232 |
+
"loss": 0.7909,
|
233 |
+
"step": 3000
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 76.92,
|
237 |
+
"eval_accuracy": 0.23273423957668096,
|
238 |
+
"eval_loss": 4.074990749359131,
|
239 |
+
"eval_runtime": 1.9336,
|
240 |
+
"eval_samples_per_second": 197.047,
|
241 |
+
"eval_steps_per_second": 24.825,
|
242 |
+
"step": 3000
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 76.92,
|
246 |
+
"step": 3000,
|
247 |
+
"total_flos": 1.2335402138867712e+16,
|
248 |
+
"train_loss": 1.4148986282348632,
|
249 |
+
"train_runtime": 758.2535,
|
250 |
+
"train_samples_per_second": 633.034,
|
251 |
+
"train_steps_per_second": 19.782
|
252 |
+
}
|
253 |
+
],
|
254 |
+
"max_steps": 15000,
|
255 |
+
"num_train_epochs": 385,
|
256 |
+
"total_flos": 1.2335402138867712e+16,
|
257 |
+
"trial_name": null,
|
258 |
+
"trial_params": null
|
259 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4c137655c5413a4683eb16e207fbc627682320e0cdf1d87521522f2abd6af2b
|
3 |
+
size 3387
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|