Md Mushfiqur Rahman
commited on
Commit
·
3dd362c
1
Parent(s):
88bd501
Upload with huggingface_hub
Browse files- README.md +15 -0
- all_results.json +26 -0
- config.json +53 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- test_predictions.txt +0 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +169 -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,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 36.36,
|
3 |
+
"eval_accuracy_score": 0.8425259792166268,
|
4 |
+
"eval_f1": 0.0,
|
5 |
+
"eval_loss": 0.6995488405227661,
|
6 |
+
"eval_precision": 0.0,
|
7 |
+
"eval_recall": 0.0,
|
8 |
+
"eval_runtime": 3.4792,
|
9 |
+
"eval_samples": 250,
|
10 |
+
"eval_samples_per_second": 71.855,
|
11 |
+
"eval_steps_per_second": 9.197,
|
12 |
+
"test_accuracy_score": 0.8633557046979866,
|
13 |
+
"test_f1": 0.0,
|
14 |
+
"test_loss": 0.6328587532043457,
|
15 |
+
"test_precision": 0.0,
|
16 |
+
"test_recall": 0.0,
|
17 |
+
"test_runtime": 6.9256,
|
18 |
+
"test_samples": 500,
|
19 |
+
"test_samples_per_second": 72.196,
|
20 |
+
"test_steps_per_second": 9.097,
|
21 |
+
"train_loss": 0.6987884674072266,
|
22 |
+
"train_runtime": 2254.7389,
|
23 |
+
"train_samples": 1750,
|
24 |
+
"train_samples_per_second": 212.885,
|
25 |
+
"train_steps_per_second": 6.653
|
26 |
+
}
|
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "O",
|
14 |
+
"1": "B-DATE",
|
15 |
+
"2": "I-DATE",
|
16 |
+
"3": "B-PER",
|
17 |
+
"4": "I-PER",
|
18 |
+
"5": "B-ORG",
|
19 |
+
"6": "I-ORG",
|
20 |
+
"7": "B-LOC",
|
21 |
+
"8": "I-LOC"
|
22 |
+
},
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 3072,
|
25 |
+
"label2id": {
|
26 |
+
"B-DATE": 1,
|
27 |
+
"B-LOC": 7,
|
28 |
+
"B-ORG": 5,
|
29 |
+
"B-PER": 3,
|
30 |
+
"I-DATE": 2,
|
31 |
+
"I-LOC": 8,
|
32 |
+
"I-ORG": 6,
|
33 |
+
"I-PER": 4,
|
34 |
+
"O": 0
|
35 |
+
},
|
36 |
+
"layer_norm_eps": 1e-12,
|
37 |
+
"max_position_embeddings": 512,
|
38 |
+
"model_type": "bert",
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"pooler_fc_size": 768,
|
43 |
+
"pooler_num_attention_heads": 12,
|
44 |
+
"pooler_num_fc_layers": 3,
|
45 |
+
"pooler_size_per_head": 128,
|
46 |
+
"pooler_type": "first_token_transform",
|
47 |
+
"position_embedding_type": "absolute",
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.17.0",
|
50 |
+
"type_vocab_size": 2,
|
51 |
+
"use_cache": true,
|
52 |
+
"vocab_size": 119547
|
53 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fbf4616bc91e1926c661738ad8b1547a681de22a29253bff403daf5a58937660
|
3 |
+
size 709165101
|
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.txt
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,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.0,
|
3 |
+
"best_model_checkpoint": "/scratch/mrahma45/pixel/finetuned_models/mbert/mbert-base-finetuned-masakhaner-amh/checkpoint-1000",
|
4 |
+
"epoch": 36.36363636363637,
|
5 |
+
"global_step": 2000,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 3.64,
|
12 |
+
"eval_accuracy_score": 0.8425259792166268,
|
13 |
+
"eval_f1": 0.0,
|
14 |
+
"eval_loss": 0.7014185786247253,
|
15 |
+
"eval_precision": 0.0,
|
16 |
+
"eval_recall": 0.0,
|
17 |
+
"eval_runtime": 3.5028,
|
18 |
+
"eval_samples_per_second": 71.372,
|
19 |
+
"eval_steps_per_second": 9.136,
|
20 |
+
"step": 200
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 7.27,
|
24 |
+
"eval_accuracy_score": 0.8425259792166268,
|
25 |
+
"eval_f1": 0.0,
|
26 |
+
"eval_loss": 0.6971796751022339,
|
27 |
+
"eval_precision": 0.0,
|
28 |
+
"eval_recall": 0.0,
|
29 |
+
"eval_runtime": 3.4905,
|
30 |
+
"eval_samples_per_second": 71.623,
|
31 |
+
"eval_steps_per_second": 9.168,
|
32 |
+
"step": 400
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 9.09,
|
36 |
+
"learning_rate": 4.865771812080537e-05,
|
37 |
+
"loss": 0.7264,
|
38 |
+
"step": 500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 10.91,
|
42 |
+
"eval_accuracy_score": 0.8425259792166268,
|
43 |
+
"eval_f1": 0.0,
|
44 |
+
"eval_loss": 0.698952853679657,
|
45 |
+
"eval_precision": 0.0,
|
46 |
+
"eval_recall": 0.0,
|
47 |
+
"eval_runtime": 3.4754,
|
48 |
+
"eval_samples_per_second": 71.935,
|
49 |
+
"eval_steps_per_second": 9.208,
|
50 |
+
"step": 600
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 14.55,
|
54 |
+
"eval_accuracy_score": 0.8425259792166268,
|
55 |
+
"eval_f1": 0.0,
|
56 |
+
"eval_loss": 0.708954393863678,
|
57 |
+
"eval_precision": 0.0,
|
58 |
+
"eval_recall": 0.0,
|
59 |
+
"eval_runtime": 3.4855,
|
60 |
+
"eval_samples_per_second": 71.726,
|
61 |
+
"eval_steps_per_second": 9.181,
|
62 |
+
"step": 800
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 18.18,
|
66 |
+
"learning_rate": 4.697986577181208e-05,
|
67 |
+
"loss": 0.6917,
|
68 |
+
"step": 1000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 18.18,
|
72 |
+
"eval_accuracy_score": 0.8425259792166268,
|
73 |
+
"eval_f1": 0.0,
|
74 |
+
"eval_loss": 0.6995488405227661,
|
75 |
+
"eval_precision": 0.0,
|
76 |
+
"eval_recall": 0.0,
|
77 |
+
"eval_runtime": 3.4744,
|
78 |
+
"eval_samples_per_second": 71.955,
|
79 |
+
"eval_steps_per_second": 9.21,
|
80 |
+
"step": 1000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 21.82,
|
84 |
+
"eval_accuracy_score": 0.8425259792166268,
|
85 |
+
"eval_f1": 0.0,
|
86 |
+
"eval_loss": 0.698596179485321,
|
87 |
+
"eval_precision": 0.0,
|
88 |
+
"eval_recall": 0.0,
|
89 |
+
"eval_runtime": 3.4893,
|
90 |
+
"eval_samples_per_second": 71.648,
|
91 |
+
"eval_steps_per_second": 9.171,
|
92 |
+
"step": 1200
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 25.45,
|
96 |
+
"eval_accuracy_score": 0.8425259792166268,
|
97 |
+
"eval_f1": 0.0,
|
98 |
+
"eval_loss": 0.7002435326576233,
|
99 |
+
"eval_precision": 0.0,
|
100 |
+
"eval_recall": 0.0,
|
101 |
+
"eval_runtime": 3.4772,
|
102 |
+
"eval_samples_per_second": 71.897,
|
103 |
+
"eval_steps_per_second": 9.203,
|
104 |
+
"step": 1400
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 27.27,
|
108 |
+
"learning_rate": 4.530201342281879e-05,
|
109 |
+
"loss": 0.6883,
|
110 |
+
"step": 1500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 29.09,
|
114 |
+
"eval_accuracy_score": 0.8425259792166268,
|
115 |
+
"eval_f1": 0.0,
|
116 |
+
"eval_loss": 0.7004148364067078,
|
117 |
+
"eval_precision": 0.0,
|
118 |
+
"eval_recall": 0.0,
|
119 |
+
"eval_runtime": 3.4851,
|
120 |
+
"eval_samples_per_second": 71.734,
|
121 |
+
"eval_steps_per_second": 9.182,
|
122 |
+
"step": 1600
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 32.73,
|
126 |
+
"eval_accuracy_score": 0.8425259792166268,
|
127 |
+
"eval_f1": 0.0,
|
128 |
+
"eval_loss": 0.6990127563476562,
|
129 |
+
"eval_precision": 0.0,
|
130 |
+
"eval_recall": 0.0,
|
131 |
+
"eval_runtime": 3.4756,
|
132 |
+
"eval_samples_per_second": 71.93,
|
133 |
+
"eval_steps_per_second": 9.207,
|
134 |
+
"step": 1800
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 36.36,
|
138 |
+
"learning_rate": 4.36241610738255e-05,
|
139 |
+
"loss": 0.6889,
|
140 |
+
"step": 2000
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 36.36,
|
144 |
+
"eval_accuracy_score": 0.8425259792166268,
|
145 |
+
"eval_f1": 0.0,
|
146 |
+
"eval_loss": 0.6986844539642334,
|
147 |
+
"eval_precision": 0.0,
|
148 |
+
"eval_recall": 0.0,
|
149 |
+
"eval_runtime": 3.4585,
|
150 |
+
"eval_samples_per_second": 72.285,
|
151 |
+
"eval_steps_per_second": 9.253,
|
152 |
+
"step": 2000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 36.36,
|
156 |
+
"step": 2000,
|
157 |
+
"total_flos": 8314988993187840.0,
|
158 |
+
"train_loss": 0.6987884674072266,
|
159 |
+
"train_runtime": 2254.7389,
|
160 |
+
"train_samples_per_second": 212.885,
|
161 |
+
"train_steps_per_second": 6.653
|
162 |
+
}
|
163 |
+
],
|
164 |
+
"max_steps": 15000,
|
165 |
+
"num_train_epochs": 273,
|
166 |
+
"total_flos": 8314988993187840.0,
|
167 |
+
"trial_name": null,
|
168 |
+
"trial_params": null
|
169 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:743ba82bec6ed454834a136c19322fe699c60d94a6a50f0ffb6abbf1eecd6632
|
3 |
+
size 3259
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|