badmatr11x
commited on
Commit
•
23e7044
1
Parent(s):
407ce12
Upload 12 files
Browse files- config.json +38 -0
- merges.txt +0 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- trainer_state.json +262 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilroberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 768,
|
13 |
+
"id2label": {
|
14 |
+
"0": "HATE-SPEECH",
|
15 |
+
"1": "OFFENSIVE-LANGUAGE",
|
16 |
+
"2": "NEITHER"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"HATE-SPEECH": 0,
|
22 |
+
"NEITHER": 2,
|
23 |
+
"OFFENSIVE-LANGUAGE": 1
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-05,
|
26 |
+
"max_position_embeddings": 514,
|
27 |
+
"model_type": "roberta",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 6,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.26.1",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 50265
|
38 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:604027a258be494821b60a6f803a2a7d40b21f3e41f28e4be75ed095feaf84c0
|
3 |
+
size 657024261
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e03dd3e153110e4e3870df24b657ea0c4b76eb342dd111653ff27405667975df
|
3 |
+
size 328521525
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2baa2bbb89939a4f4c9b88be149eb1af51c2241e26b8f93e7dafbadcb8ac9dcc
|
3 |
+
size 13553
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a9b2c729172f3f94d7d0210cb8c04748a1bbe2b4c65c118648995e967f2bb80d
|
3 |
+
size 627
|
special_tokens_map.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<s>",
|
4 |
+
"cls_token": "<s>",
|
5 |
+
"eos_token": "</s>",
|
6 |
+
"errors": "replace",
|
7 |
+
"mask_token": "<mask>",
|
8 |
+
"model_max_length": 512,
|
9 |
+
"name_or_path": "distilroberta-base",
|
10 |
+
"pad_token": "<pad>",
|
11 |
+
"sep_token": "</s>",
|
12 |
+
"special_tokens_map_file": null,
|
13 |
+
"tokenizer_class": "RobertaTokenizer",
|
14 |
+
"trim_offsets": true,
|
15 |
+
"unk_token": "<unk>"
|
16 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,262 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.14910581707954407,
|
3 |
+
"best_model_checkpoint": "speech-multiclassifier-run-2/checkpoint-3192",
|
4 |
+
"epoch": 5.0,
|
5 |
+
"global_step": 15960,
|
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.16,
|
12 |
+
"learning_rate": 1.9373433583959903e-05,
|
13 |
+
"loss": 0.2984,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.31,
|
18 |
+
"learning_rate": 1.87468671679198e-05,
|
19 |
+
"loss": 0.2101,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.47,
|
24 |
+
"learning_rate": 1.81203007518797e-05,
|
25 |
+
"loss": 0.2104,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.63,
|
30 |
+
"learning_rate": 1.74937343358396e-05,
|
31 |
+
"loss": 0.1926,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.78,
|
36 |
+
"learning_rate": 1.68671679197995e-05,
|
37 |
+
"loss": 0.1981,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.94,
|
42 |
+
"learning_rate": 1.62406015037594e-05,
|
43 |
+
"loss": 0.1808,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 1.0,
|
48 |
+
"eval_loss": 0.14910581707954407,
|
49 |
+
"eval_overall-accuracy": 0.9499647639182522,
|
50 |
+
"eval_overall-f1": 0.9499647639182522,
|
51 |
+
"eval_overall-precision": 0.9499647639182522,
|
52 |
+
"eval_overall-recall": 0.9499647639182522,
|
53 |
+
"eval_runtime": 79.4483,
|
54 |
+
"eval_samples_per_second": 35.721,
|
55 |
+
"eval_steps_per_second": 2.24,
|
56 |
+
"step": 3192
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.1,
|
60 |
+
"learning_rate": 1.56140350877193e-05,
|
61 |
+
"loss": 0.1611,
|
62 |
+
"step": 3500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 1.25,
|
66 |
+
"learning_rate": 1.49874686716792e-05,
|
67 |
+
"loss": 0.1598,
|
68 |
+
"step": 4000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.41,
|
72 |
+
"learning_rate": 1.43609022556391e-05,
|
73 |
+
"loss": 0.1544,
|
74 |
+
"step": 4500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.57,
|
78 |
+
"learning_rate": 1.3734335839598997e-05,
|
79 |
+
"loss": 0.1536,
|
80 |
+
"step": 5000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.72,
|
84 |
+
"learning_rate": 1.3107769423558898e-05,
|
85 |
+
"loss": 0.1518,
|
86 |
+
"step": 5500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.88,
|
90 |
+
"learning_rate": 1.2481203007518798e-05,
|
91 |
+
"loss": 0.1567,
|
92 |
+
"step": 6000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 2.0,
|
96 |
+
"eval_loss": 0.1555911898612976,
|
97 |
+
"eval_overall-accuracy": 0.9513742071881607,
|
98 |
+
"eval_overall-f1": 0.9513742071881607,
|
99 |
+
"eval_overall-precision": 0.9513742071881607,
|
100 |
+
"eval_overall-recall": 0.9513742071881607,
|
101 |
+
"eval_runtime": 78.9404,
|
102 |
+
"eval_samples_per_second": 35.951,
|
103 |
+
"eval_steps_per_second": 2.255,
|
104 |
+
"step": 6384
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 2.04,
|
108 |
+
"learning_rate": 1.18546365914787e-05,
|
109 |
+
"loss": 0.1468,
|
110 |
+
"step": 6500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.19,
|
114 |
+
"learning_rate": 1.1228070175438597e-05,
|
115 |
+
"loss": 0.1265,
|
116 |
+
"step": 7000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.35,
|
120 |
+
"learning_rate": 1.0601503759398497e-05,
|
121 |
+
"loss": 0.1211,
|
122 |
+
"step": 7500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.51,
|
126 |
+
"learning_rate": 9.974937343358396e-06,
|
127 |
+
"loss": 0.1232,
|
128 |
+
"step": 8000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.66,
|
132 |
+
"learning_rate": 9.348370927318296e-06,
|
133 |
+
"loss": 0.1215,
|
134 |
+
"step": 8500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 2.82,
|
138 |
+
"learning_rate": 8.721804511278195e-06,
|
139 |
+
"loss": 0.114,
|
140 |
+
"step": 9000
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 2.98,
|
144 |
+
"learning_rate": 8.095238095238097e-06,
|
145 |
+
"loss": 0.1328,
|
146 |
+
"step": 9500
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 3.0,
|
150 |
+
"eval_loss": 0.17720717191696167,
|
151 |
+
"eval_overall-accuracy": 0.952431289640592,
|
152 |
+
"eval_overall-f1": 0.952431289640592,
|
153 |
+
"eval_overall-precision": 0.952431289640592,
|
154 |
+
"eval_overall-recall": 0.952431289640592,
|
155 |
+
"eval_runtime": 78.7543,
|
156 |
+
"eval_samples_per_second": 36.036,
|
157 |
+
"eval_steps_per_second": 2.26,
|
158 |
+
"step": 9576
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 3.13,
|
162 |
+
"learning_rate": 7.468671679197995e-06,
|
163 |
+
"loss": 0.1011,
|
164 |
+
"step": 10000
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 3.29,
|
168 |
+
"learning_rate": 6.842105263157896e-06,
|
169 |
+
"loss": 0.0942,
|
170 |
+
"step": 10500
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 3.45,
|
174 |
+
"learning_rate": 6.215538847117794e-06,
|
175 |
+
"loss": 0.0994,
|
176 |
+
"step": 11000
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 3.6,
|
180 |
+
"learning_rate": 5.588972431077695e-06,
|
181 |
+
"loss": 0.1042,
|
182 |
+
"step": 11500
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 3.76,
|
186 |
+
"learning_rate": 4.962406015037594e-06,
|
187 |
+
"loss": 0.0993,
|
188 |
+
"step": 12000
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 3.92,
|
192 |
+
"learning_rate": 4.335839598997494e-06,
|
193 |
+
"loss": 0.0954,
|
194 |
+
"step": 12500
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 4.0,
|
198 |
+
"eval_loss": 0.1867782473564148,
|
199 |
+
"eval_overall-accuracy": 0.95630725863284,
|
200 |
+
"eval_overall-f1": 0.95630725863284,
|
201 |
+
"eval_overall-precision": 0.95630725863284,
|
202 |
+
"eval_overall-recall": 0.95630725863284,
|
203 |
+
"eval_runtime": 79.4309,
|
204 |
+
"eval_samples_per_second": 35.729,
|
205 |
+
"eval_steps_per_second": 2.241,
|
206 |
+
"step": 12768
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 4.07,
|
210 |
+
"learning_rate": 3.7092731829573934e-06,
|
211 |
+
"loss": 0.0798,
|
212 |
+
"step": 13000
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 4.23,
|
216 |
+
"learning_rate": 3.0827067669172934e-06,
|
217 |
+
"loss": 0.0773,
|
218 |
+
"step": 13500
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 4.39,
|
222 |
+
"learning_rate": 2.456140350877193e-06,
|
223 |
+
"loss": 0.0827,
|
224 |
+
"step": 14000
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 4.54,
|
228 |
+
"learning_rate": 1.8295739348370927e-06,
|
229 |
+
"loss": 0.0857,
|
230 |
+
"step": 14500
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 4.7,
|
234 |
+
"learning_rate": 1.2030075187969925e-06,
|
235 |
+
"loss": 0.0758,
|
236 |
+
"step": 15000
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"epoch": 4.86,
|
240 |
+
"learning_rate": 5.764411027568922e-07,
|
241 |
+
"loss": 0.0756,
|
242 |
+
"step": 15500
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 5.0,
|
246 |
+
"eval_loss": 0.20741401612758636,
|
247 |
+
"eval_overall-accuracy": 0.9570119802677942,
|
248 |
+
"eval_overall-f1": 0.9570119802677942,
|
249 |
+
"eval_overall-precision": 0.9570119802677942,
|
250 |
+
"eval_overall-recall": 0.9570119802677942,
|
251 |
+
"eval_runtime": 80.2735,
|
252 |
+
"eval_samples_per_second": 35.354,
|
253 |
+
"eval_steps_per_second": 2.217,
|
254 |
+
"step": 15960
|
255 |
+
}
|
256 |
+
],
|
257 |
+
"max_steps": 15960,
|
258 |
+
"num_train_epochs": 5,
|
259 |
+
"total_flos": 4401666409805172.0,
|
260 |
+
"trial_name": null,
|
261 |
+
"trial_params": null
|
262 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d61ae91ed048c4ea8e28ed27eb5c9b4a8c14b96512fdfbde0f5cd8f8949d0f44
|
3 |
+
size 3515
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|