upload fos model
Browse files- config.json +70 -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 +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +288 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "../models/roberta-large/",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"finetuning_task": "nace",
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 1024,
|
14 |
+
"id2label": {
|
15 |
+
"0": "Art",
|
16 |
+
"1": "Biology",
|
17 |
+
"2": "Business",
|
18 |
+
"3": "Chemistry",
|
19 |
+
"4": "Computer Science",
|
20 |
+
"5": "Economics",
|
21 |
+
"6": "Engineering",
|
22 |
+
"7": "Environmental Science",
|
23 |
+
"8": "Geography",
|
24 |
+
"9": "Geology",
|
25 |
+
"10": "History",
|
26 |
+
"11": "Materials Science",
|
27 |
+
"12": "Mathematics",
|
28 |
+
"13": "Medicine",
|
29 |
+
"14": "Philosophy",
|
30 |
+
"15": "Physics",
|
31 |
+
"16": "Political Science",
|
32 |
+
"17": "Psychology",
|
33 |
+
"18": "Sociology"
|
34 |
+
},
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 4096,
|
37 |
+
"label2id": {
|
38 |
+
"Art": 0,
|
39 |
+
"Biology": 1,
|
40 |
+
"Business": 2,
|
41 |
+
"Chemistry": 3,
|
42 |
+
"Computer Science": 4,
|
43 |
+
"Economics": 5,
|
44 |
+
"Engineering": 6,
|
45 |
+
"Environmental Science": 7,
|
46 |
+
"Geography": 8,
|
47 |
+
"Geology": 9,
|
48 |
+
"History": 10,
|
49 |
+
"Materials Science": 11,
|
50 |
+
"Mathematics": 12,
|
51 |
+
"Medicine": 13,
|
52 |
+
"Philosophy": 14,
|
53 |
+
"Physics": 15,
|
54 |
+
"Political Science": 16,
|
55 |
+
"Psychology": 17,
|
56 |
+
"Sociology": 18
|
57 |
+
},
|
58 |
+
"layer_norm_eps": 1e-05,
|
59 |
+
"max_position_embeddings": 514,
|
60 |
+
"model_type": "roberta",
|
61 |
+
"num_attention_heads": 16,
|
62 |
+
"num_hidden_layers": 24,
|
63 |
+
"pad_token_id": 1,
|
64 |
+
"position_embedding_type": "absolute",
|
65 |
+
"problem_type": "multi_label_classification",
|
66 |
+
"transformers_version": "4.6.1",
|
67 |
+
"type_vocab_size": 1,
|
68 |
+
"use_cache": true,
|
69 |
+
"vocab_size": 50265
|
70 |
+
}
|
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:46d47c27a923a6cda14c5ed153c6601c3e1918d3b6ec50683e4240d04f256768
|
3 |
+
size 2843262493
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:904c4b71bbf089ea7864757c877c2950671ae6cc75d2f95e2f48e00a8586a91a
|
3 |
+
size 1421681005
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a4e90f1345986502ffb3f500ea6d1b484187c5f83a6f051ae2d30f98cc82db9a
|
3 |
+
size 15523
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:396a57403ef857fb5d322349ea51b7f10b639efd5e0c529a85f3324f2ac9c15b
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "special_tokens_map_file": null, "name_or_path": "../models/roberta-large/"}
|
trainer_state.json
ADDED
@@ -0,0 +1,288 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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"global_step": 34000,
|
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.01,
|
12 |
+
"learning_rate": 1.0273057878408088e-06,
|
13 |
+
"loss": 0.3175,
|
14 |
+
"step": 2000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.01,
|
18 |
+
"eval_accuracy": 0.2783648835349153,
|
19 |
+
"eval_f1": 0.46687230297082155,
|
20 |
+
"eval_loss": 0.1457696259021759,
|
21 |
+
"eval_roc_auc": 0.6606907669432402,
|
22 |
+
"eval_runtime": 2510.5482,
|
23 |
+
"eval_samples_per_second": 32.867,
|
24 |
+
"step": 2000
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.01,
|
28 |
+
"learning_rate": 2.0546115756816175e-06,
|
29 |
+
"loss": 0.1255,
|
30 |
+
"step": 4000
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.01,
|
34 |
+
"eval_accuracy": 0.459812880238505,
|
35 |
+
"eval_f1": 0.6263968944830018,
|
36 |
+
"eval_loss": 0.10650500655174255,
|
37 |
+
"eval_roc_auc": 0.7560059946779483,
|
38 |
+
"eval_runtime": 2508.5898,
|
39 |
+
"eval_samples_per_second": 32.893,
|
40 |
+
"step": 4000
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 0.02,
|
44 |
+
"learning_rate": 3.0819173635224263e-06,
|
45 |
+
"loss": 0.1042,
|
46 |
+
"step": 6000
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.02,
|
50 |
+
"eval_accuracy": 0.5097801585185544,
|
51 |
+
"eval_f1": 0.6604502012072435,
|
52 |
+
"eval_loss": 0.0960676446557045,
|
53 |
+
"eval_roc_auc": 0.780487395930802,
|
54 |
+
"eval_runtime": 2510.7767,
|
55 |
+
"eval_samples_per_second": 32.864,
|
56 |
+
"step": 6000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.02,
|
60 |
+
"learning_rate": 4.109223151363235e-06,
|
61 |
+
"loss": 0.0962,
|
62 |
+
"step": 8000
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.02,
|
66 |
+
"eval_accuracy": 0.5427684998909276,
|
67 |
+
"eval_f1": 0.6739507307713664,
|
68 |
+
"eval_loss": 0.09160555154085159,
|
69 |
+
"eval_roc_auc": 0.7915836904940926,
|
70 |
+
"eval_runtime": 2512.9385,
|
71 |
+
"eval_samples_per_second": 32.836,
|
72 |
+
"step": 8000
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.03,
|
76 |
+
"learning_rate": 5.136528939204044e-06,
|
77 |
+
"loss": 0.0926,
|
78 |
+
"step": 10000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 0.03,
|
82 |
+
"eval_accuracy": 0.5522093220544393,
|
83 |
+
"eval_f1": 0.6834786765291677,
|
84 |
+
"eval_loss": 0.08829274028539658,
|
85 |
+
"eval_roc_auc": 0.7978195145032272,
|
86 |
+
"eval_runtime": 2516.7533,
|
87 |
+
"eval_samples_per_second": 32.786,
|
88 |
+
"step": 10000
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 0.04,
|
92 |
+
"learning_rate": 6.1638347270448526e-06,
|
93 |
+
"loss": 0.0905,
|
94 |
+
"step": 12000
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 0.04,
|
98 |
+
"eval_accuracy": 0.5546452723174249,
|
99 |
+
"eval_f1": 0.6794668300903938,
|
100 |
+
"eval_loss": 0.08848168700933456,
|
101 |
+
"eval_roc_auc": 0.7959266090899211,
|
102 |
+
"eval_runtime": 2514.7748,
|
103 |
+
"eval_samples_per_second": 32.812,
|
104 |
+
"step": 12000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 0.04,
|
108 |
+
"learning_rate": 7.191140514885661e-06,
|
109 |
+
"loss": 0.089,
|
110 |
+
"step": 14000
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 0.04,
|
114 |
+
"eval_accuracy": 0.557250890757932,
|
115 |
+
"eval_f1": 0.687455713685222,
|
116 |
+
"eval_loss": 0.08794952929019928,
|
117 |
+
"eval_roc_auc": 0.8052103848950731,
|
118 |
+
"eval_runtime": 2514.8342,
|
119 |
+
"eval_samples_per_second": 32.811,
|
120 |
+
"step": 14000
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 0.05,
|
124 |
+
"learning_rate": 8.21844630272647e-06,
|
125 |
+
"loss": 0.088,
|
126 |
+
"step": 16000
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 0.05,
|
130 |
+
"eval_accuracy": 0.5636498048815959,
|
131 |
+
"eval_f1": 0.6874285817931185,
|
132 |
+
"eval_loss": 0.08668860048055649,
|
133 |
+
"eval_roc_auc": 0.8033362882753715,
|
134 |
+
"eval_runtime": 2516.4721,
|
135 |
+
"eval_samples_per_second": 32.79,
|
136 |
+
"step": 16000
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 0.06,
|
140 |
+
"learning_rate": 9.24575209056728e-06,
|
141 |
+
"loss": 0.0871,
|
142 |
+
"step": 18000
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.06,
|
146 |
+
"eval_accuracy": 0.5651525801682139,
|
147 |
+
"eval_f1": 0.6958583698677593,
|
148 |
+
"eval_loss": 0.08520551770925522,
|
149 |
+
"eval_roc_auc": 0.8107390175102938,
|
150 |
+
"eval_runtime": 2518.4918,
|
151 |
+
"eval_samples_per_second": 32.763,
|
152 |
+
"step": 18000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 0.06,
|
156 |
+
"learning_rate": 1.0273057878408088e-05,
|
157 |
+
"loss": 0.087,
|
158 |
+
"step": 20000
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 0.06,
|
162 |
+
"eval_accuracy": 0.573066388734033,
|
163 |
+
"eval_f1": 0.6973633931983186,
|
164 |
+
"eval_loss": 0.08506815880537033,
|
165 |
+
"eval_roc_auc": 0.8115768508510465,
|
166 |
+
"eval_runtime": 2519.3256,
|
167 |
+
"eval_samples_per_second": 32.752,
|
168 |
+
"step": 20000
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 0.07,
|
172 |
+
"learning_rate": 1.1300363666248896e-05,
|
173 |
+
"loss": 0.0861,
|
174 |
+
"step": 22000
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 0.07,
|
178 |
+
"eval_accuracy": 0.5722059286908888,
|
179 |
+
"eval_f1": 0.6942218473218051,
|
180 |
+
"eval_loss": 0.0845654234290123,
|
181 |
+
"eval_roc_auc": 0.8075303988101568,
|
182 |
+
"eval_runtime": 2516.7809,
|
183 |
+
"eval_samples_per_second": 32.786,
|
184 |
+
"step": 22000
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.07,
|
188 |
+
"learning_rate": 1.2327669454089705e-05,
|
189 |
+
"loss": 0.0859,
|
190 |
+
"step": 24000
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"epoch": 0.07,
|
194 |
+
"eval_accuracy": 0.5684974670964927,
|
195 |
+
"eval_f1": 0.6959252561784207,
|
196 |
+
"eval_loss": 0.08408927917480469,
|
197 |
+
"eval_roc_auc": 0.8082295703584903,
|
198 |
+
"eval_runtime": 2517.9216,
|
199 |
+
"eval_samples_per_second": 32.771,
|
200 |
+
"step": 24000
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 0.08,
|
204 |
+
"learning_rate": 1.3354975241930514e-05,
|
205 |
+
"loss": 0.0852,
|
206 |
+
"step": 26000
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 0.08,
|
210 |
+
"eval_accuracy": 0.5729209588675861,
|
211 |
+
"eval_f1": 0.6985175177661591,
|
212 |
+
"eval_loss": 0.08367094397544861,
|
213 |
+
"eval_roc_auc": 0.8080635277752549,
|
214 |
+
"eval_runtime": 2517.5004,
|
215 |
+
"eval_samples_per_second": 32.776,
|
216 |
+
"step": 26000
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 0.09,
|
220 |
+
"learning_rate": 1.4382281029771322e-05,
|
221 |
+
"loss": 0.0852,
|
222 |
+
"step": 28000
|
223 |
+
},
|
224 |
+
{
|
225 |
+
"epoch": 0.09,
|
226 |
+
"eval_accuracy": 0.5761082967738808,
|
227 |
+
"eval_f1": 0.6972306734063196,
|
228 |
+
"eval_loss": 0.08429088443517685,
|
229 |
+
"eval_roc_auc": 0.8106490105342776,
|
230 |
+
"eval_runtime": 2518.0349,
|
231 |
+
"eval_samples_per_second": 32.769,
|
232 |
+
"step": 28000
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"epoch": 0.09,
|
236 |
+
"learning_rate": 1.5409586817612133e-05,
|
237 |
+
"loss": 0.0849,
|
238 |
+
"step": 30000
|
239 |
+
},
|
240 |
+
{
|
241 |
+
"epoch": 0.09,
|
242 |
+
"eval_accuracy": 0.566861381098965,
|
243 |
+
"eval_f1": 0.6942268289743281,
|
244 |
+
"eval_loss": 0.08503852039575577,
|
245 |
+
"eval_roc_auc": 0.807482831888307,
|
246 |
+
"eval_runtime": 2516.78,
|
247 |
+
"eval_samples_per_second": 32.786,
|
248 |
+
"step": 30000
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 0.1,
|
252 |
+
"learning_rate": 1.643689260545294e-05,
|
253 |
+
"loss": 0.0848,
|
254 |
+
"step": 32000
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.1,
|
258 |
+
"eval_accuracy": 0.5588627384443852,
|
259 |
+
"eval_f1": 0.6923745410036719,
|
260 |
+
"eval_loss": 0.08319058269262314,
|
261 |
+
"eval_roc_auc": 0.8023797746651582,
|
262 |
+
"eval_runtime": 2516.0951,
|
263 |
+
"eval_samples_per_second": 32.794,
|
264 |
+
"step": 32000
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 0.1,
|
268 |
+
"learning_rate": 1.7464198393293748e-05,
|
269 |
+
"loss": 0.0849,
|
270 |
+
"step": 34000
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"epoch": 0.1,
|
274 |
+
"eval_accuracy": 0.5693700462951742,
|
275 |
+
"eval_f1": 0.6952779925325279,
|
276 |
+
"eval_loss": 0.08376839756965637,
|
277 |
+
"eval_roc_auc": 0.8095160304055978,
|
278 |
+
"eval_runtime": 2518.8664,
|
279 |
+
"eval_samples_per_second": 32.758,
|
280 |
+
"step": 34000
|
281 |
+
}
|
282 |
+
],
|
283 |
+
"max_steps": 1622360,
|
284 |
+
"num_train_epochs": 5,
|
285 |
+
"total_flos": 6.9870397489152e+16,
|
286 |
+
"trial_name": null,
|
287 |
+
"trial_params": null
|
288 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c977e870cd84212a10faad154616e0c5af4e2ac825e4f21da3ab262904d3c624
|
3 |
+
size 2479
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|