anudeepvanjavakam
commited on
Commit
•
2afd31e
1
Parent(s):
739235a
adding distilbert uncased model finetuned on wnut17
Browse files- config.json +54 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +13 -0
- trainer_state.json +232 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForTokenClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2",
|
15 |
+
"3": "LABEL_3",
|
16 |
+
"4": "LABEL_4",
|
17 |
+
"5": "LABEL_5",
|
18 |
+
"6": "LABEL_6",
|
19 |
+
"7": "LABEL_7",
|
20 |
+
"8": "LABEL_8",
|
21 |
+
"9": "LABEL_9",
|
22 |
+
"10": "LABEL_10",
|
23 |
+
"11": "LABEL_11",
|
24 |
+
"12": "LABEL_12"
|
25 |
+
},
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"LABEL_0": 0,
|
29 |
+
"LABEL_1": 1,
|
30 |
+
"LABEL_10": 10,
|
31 |
+
"LABEL_11": 11,
|
32 |
+
"LABEL_12": 12,
|
33 |
+
"LABEL_2": 2,
|
34 |
+
"LABEL_3": 3,
|
35 |
+
"LABEL_4": 4,
|
36 |
+
"LABEL_5": 5,
|
37 |
+
"LABEL_6": 6,
|
38 |
+
"LABEL_7": 7,
|
39 |
+
"LABEL_8": 8,
|
40 |
+
"LABEL_9": 9
|
41 |
+
},
|
42 |
+
"max_position_embeddings": 512,
|
43 |
+
"model_type": "distilbert",
|
44 |
+
"n_heads": 12,
|
45 |
+
"n_layers": 6,
|
46 |
+
"pad_token_id": 0,
|
47 |
+
"qa_dropout": 0.1,
|
48 |
+
"seq_classif_dropout": 0.2,
|
49 |
+
"sinusoidal_pos_embds": false,
|
50 |
+
"tie_weights_": true,
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.28.0",
|
53 |
+
"vocab_size": 30522
|
54 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b1334ec50c70a86d0e252165dbd364f448ba5691305ae0abcd34a7027520500
|
3 |
+
size 531039877
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8453c4da907b148b1aa2e3bbb645de5280a0c613e8bb1e74a9dede29fddff3a
|
3 |
+
size 265524901
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:680de79ee84a9c81054a239af3d0262c28542463ff1a3599c32155512e7de1d1
|
3 |
+
size 13553
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9d62d927152cd93253f7ecff6a9e2d947d55232db9e2911408013c5fc1471ac3
|
3 |
+
size 627
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"cls_token": "[CLS]",
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"pad_token": "[PAD]",
|
8 |
+
"sep_token": "[SEP]",
|
9 |
+
"strip_accents": null,
|
10 |
+
"tokenize_chinese_chars": true,
|
11 |
+
"tokenizer_class": "DistilBertTokenizer",
|
12 |
+
"unk_token": "[UNK]"
|
13 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.2353149950504303,
|
3 |
+
"best_model_checkpoint": "C:/Users/avanjavakam/OneDrive - Moulton Niguel Water/Documents/R_Home/distilbert_ner\\checkpoint-660",
|
4 |
+
"epoch": 3.6956521739130435,
|
5 |
+
"global_step": 1020,
|
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.22,
|
12 |
+
"eval_accuracy": 0.910820401008935,
|
13 |
+
"eval_f1": 0.008086253369272238,
|
14 |
+
"eval_loss": 1.8291836977005005,
|
15 |
+
"eval_precision": 0.014814814814814815,
|
16 |
+
"eval_recall": 0.005560704355885079,
|
17 |
+
"eval_runtime": 101.8258,
|
18 |
+
"eval_samples_per_second": 12.639,
|
19 |
+
"eval_steps_per_second": 0.206,
|
20 |
+
"step": 60
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.43,
|
24 |
+
"eval_accuracy": 0.9256124150314223,
|
25 |
+
"eval_f1": 0.0,
|
26 |
+
"eval_loss": 0.458038866519928,
|
27 |
+
"eval_precision": 0.0,
|
28 |
+
"eval_recall": 0.0,
|
29 |
+
"eval_runtime": 111.7945,
|
30 |
+
"eval_samples_per_second": 11.512,
|
31 |
+
"eval_steps_per_second": 0.188,
|
32 |
+
"step": 120
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.65,
|
36 |
+
"eval_accuracy": 0.9256124150314223,
|
37 |
+
"eval_f1": 0.0,
|
38 |
+
"eval_loss": 0.3688420057296753,
|
39 |
+
"eval_precision": 0.0,
|
40 |
+
"eval_recall": 0.0,
|
41 |
+
"eval_runtime": 108.5973,
|
42 |
+
"eval_samples_per_second": 11.851,
|
43 |
+
"eval_steps_per_second": 0.193,
|
44 |
+
"step": 180
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.87,
|
48 |
+
"eval_accuracy": 0.9325809071865248,
|
49 |
+
"eval_f1": 0.18012866333095068,
|
50 |
+
"eval_loss": 0.31115037202835083,
|
51 |
+
"eval_precision": 0.39375,
|
52 |
+
"eval_recall": 0.11677479147358666,
|
53 |
+
"eval_runtime": 105.4344,
|
54 |
+
"eval_samples_per_second": 12.207,
|
55 |
+
"eval_steps_per_second": 0.199,
|
56 |
+
"step": 240
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.09,
|
60 |
+
"eval_accuracy": 0.9368133042623231,
|
61 |
+
"eval_f1": 0.29143214509068166,
|
62 |
+
"eval_loss": 0.2867625951766968,
|
63 |
+
"eval_precision": 0.4480769230769231,
|
64 |
+
"eval_recall": 0.2159406858202039,
|
65 |
+
"eval_runtime": 107.3207,
|
66 |
+
"eval_samples_per_second": 11.992,
|
67 |
+
"eval_steps_per_second": 0.196,
|
68 |
+
"step": 300
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.3,
|
72 |
+
"eval_accuracy": 0.9385661151725022,
|
73 |
+
"eval_f1": 0.35040431266846367,
|
74 |
+
"eval_loss": 0.2620603144168854,
|
75 |
+
"eval_precision": 0.41881443298969073,
|
76 |
+
"eval_recall": 0.30120481927710846,
|
77 |
+
"eval_runtime": 108.3989,
|
78 |
+
"eval_samples_per_second": 11.873,
|
79 |
+
"eval_steps_per_second": 0.194,
|
80 |
+
"step": 360
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.52,
|
84 |
+
"eval_accuracy": 0.9431832756188278,
|
85 |
+
"eval_f1": 0.4271523178807947,
|
86 |
+
"eval_loss": 0.2517760097980499,
|
87 |
+
"eval_precision": 0.5279672578444747,
|
88 |
+
"eval_recall": 0.3586654309545876,
|
89 |
+
"eval_runtime": 122.2843,
|
90 |
+
"eval_samples_per_second": 10.525,
|
91 |
+
"eval_steps_per_second": 0.172,
|
92 |
+
"step": 420
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.74,
|
96 |
+
"eval_accuracy": 0.9421144884784747,
|
97 |
+
"eval_f1": 0.43276036400404455,
|
98 |
+
"eval_loss": 0.24010969698429108,
|
99 |
+
"eval_precision": 0.4760845383759733,
|
100 |
+
"eval_recall": 0.39666357738646896,
|
101 |
+
"eval_runtime": 94.176,
|
102 |
+
"eval_samples_per_second": 13.666,
|
103 |
+
"eval_steps_per_second": 0.223,
|
104 |
+
"step": 480
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.81,
|
108 |
+
"learning_rate": 2e-05,
|
109 |
+
"loss": 0.5257,
|
110 |
+
"step": 500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.96,
|
114 |
+
"eval_accuracy": 0.9433542815612842,
|
115 |
+
"eval_f1": 0.44863731656184486,
|
116 |
+
"eval_loss": 0.24359002709388733,
|
117 |
+
"eval_precision": 0.5162846803377563,
|
118 |
+
"eval_recall": 0.39666357738646896,
|
119 |
+
"eval_runtime": 82.8193,
|
120 |
+
"eval_samples_per_second": 15.54,
|
121 |
+
"eval_steps_per_second": 0.254,
|
122 |
+
"step": 540
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.17,
|
126 |
+
"eval_accuracy": 0.9458766192125176,
|
127 |
+
"eval_f1": 0.45366379310344823,
|
128 |
+
"eval_loss": 0.2503388226032257,
|
129 |
+
"eval_precision": 0.5418275418275418,
|
130 |
+
"eval_recall": 0.3901760889712697,
|
131 |
+
"eval_runtime": 83.163,
|
132 |
+
"eval_samples_per_second": 15.476,
|
133 |
+
"eval_steps_per_second": 0.253,
|
134 |
+
"step": 600
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 2.39,
|
138 |
+
"eval_accuracy": 0.9451498439570775,
|
139 |
+
"eval_f1": 0.45833333333333337,
|
140 |
+
"eval_loss": 0.2353149950504303,
|
141 |
+
"eval_precision": 0.46853823814133594,
|
142 |
+
"eval_recall": 0.448563484708063,
|
143 |
+
"eval_runtime": 82.081,
|
144 |
+
"eval_samples_per_second": 15.68,
|
145 |
+
"eval_steps_per_second": 0.256,
|
146 |
+
"step": 660
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 2.61,
|
150 |
+
"eval_accuracy": 0.9475866786370827,
|
151 |
+
"eval_f1": 0.4585847504114098,
|
152 |
+
"eval_loss": 0.24050550162792206,
|
153 |
+
"eval_precision": 0.5618279569892473,
|
154 |
+
"eval_recall": 0.3873957367933272,
|
155 |
+
"eval_runtime": 86.6375,
|
156 |
+
"eval_samples_per_second": 14.855,
|
157 |
+
"eval_steps_per_second": 0.242,
|
158 |
+
"step": 720
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 2.83,
|
162 |
+
"eval_accuracy": 0.9481424479500663,
|
163 |
+
"eval_f1": 0.46777777777777774,
|
164 |
+
"eval_loss": 0.23974569141864777,
|
165 |
+
"eval_precision": 0.5839112343966713,
|
166 |
+
"eval_recall": 0.3901760889712697,
|
167 |
+
"eval_runtime": 86.3845,
|
168 |
+
"eval_samples_per_second": 14.899,
|
169 |
+
"eval_steps_per_second": 0.243,
|
170 |
+
"step": 780
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 3.04,
|
174 |
+
"eval_accuracy": 0.948398956863751,
|
175 |
+
"eval_f1": 0.48290598290598286,
|
176 |
+
"eval_loss": 0.245252326130867,
|
177 |
+
"eval_precision": 0.5699873896595208,
|
178 |
+
"eval_recall": 0.41890639481000924,
|
179 |
+
"eval_runtime": 83.9294,
|
180 |
+
"eval_samples_per_second": 15.334,
|
181 |
+
"eval_steps_per_second": 0.25,
|
182 |
+
"step": 840
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 3.26,
|
186 |
+
"eval_accuracy": 0.9486982172630499,
|
187 |
+
"eval_f1": 0.4776902887139107,
|
188 |
+
"eval_loss": 0.2514230012893677,
|
189 |
+
"eval_precision": 0.5508474576271186,
|
190 |
+
"eval_recall": 0.42168674698795183,
|
191 |
+
"eval_runtime": 81.402,
|
192 |
+
"eval_samples_per_second": 15.81,
|
193 |
+
"eval_steps_per_second": 0.258,
|
194 |
+
"step": 900
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 3.48,
|
198 |
+
"eval_accuracy": 0.9491257321191912,
|
199 |
+
"eval_f1": 0.47783783783783784,
|
200 |
+
"eval_loss": 0.26181262731552124,
|
201 |
+
"eval_precision": 0.5732814526588845,
|
202 |
+
"eval_recall": 0.40963855421686746,
|
203 |
+
"eval_runtime": 85.1954,
|
204 |
+
"eval_samples_per_second": 15.106,
|
205 |
+
"eval_steps_per_second": 0.246,
|
206 |
+
"step": 960
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 3.62,
|
210 |
+
"learning_rate": 8.636363636363637e-06,
|
211 |
+
"loss": 0.0843,
|
212 |
+
"step": 1000
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 3.7,
|
216 |
+
"eval_accuracy": 0.9493394895472618,
|
217 |
+
"eval_f1": 0.48801742919389973,
|
218 |
+
"eval_loss": 0.2565685510635376,
|
219 |
+
"eval_precision": 0.5918097754293263,
|
220 |
+
"eval_recall": 0.4151992585727525,
|
221 |
+
"eval_runtime": 92.7674,
|
222 |
+
"eval_samples_per_second": 13.873,
|
223 |
+
"eval_steps_per_second": 0.226,
|
224 |
+
"step": 1020
|
225 |
+
}
|
226 |
+
],
|
227 |
+
"max_steps": 1380,
|
228 |
+
"num_train_epochs": 5,
|
229 |
+
"total_flos": 216292519441470.0,
|
230 |
+
"trial_name": null,
|
231 |
+
"trial_params": null
|
232 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eacee13e77155bd35bd397be9ff18e665ccb9a6abe2d93bd2a63f8306be2e271
|
3 |
+
size 3707
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|