josecannete commited on
Commit
1e49772
1 Parent(s): 6977fc9

adding model finetuned on POS

Browse files
all_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9747039189441047,
4
+ "eval_f1": 0.9728139460666986,
5
+ "eval_loss": 0.08749764412641525,
6
+ "eval_precision": 0.9711674399155732,
7
+ "eval_recall": 0.9744660446344728,
8
+ "eval_runtime": 1.5052,
9
+ "eval_samples": 1654,
10
+ "eval_samples_per_second": 1098.84,
11
+ "eval_steps_per_second": 69.093,
12
+ "train_loss": 0.09274842659188383,
13
+ "train_runtime": 230.8308,
14
+ "train_samples": 14305,
15
+ "train_samples_per_second": 247.887,
16
+ "train_steps_per_second": 15.509
17
+ }
config.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "CenIA/albert_tiny_spanish",
3
+ "architectures": [
4
+ "AlbertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout_prob": 0.1,
9
+ "down_scale_factor": 1,
10
+ "embedding_size": 128,
11
+ "eos_token_id": 3,
12
+ "finetuning_task": "pos",
13
+ "gap_size": 0,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0,
16
+ "hidden_size": 312,
17
+ "id2label": {
18
+ "0": "LABEL_0",
19
+ "1": "LABEL_1",
20
+ "2": "LABEL_2",
21
+ "3": "LABEL_3",
22
+ "4": "LABEL_4",
23
+ "5": "LABEL_5",
24
+ "6": "LABEL_6",
25
+ "7": "LABEL_7",
26
+ "8": "LABEL_8",
27
+ "9": "LABEL_9",
28
+ "10": "LABEL_10",
29
+ "11": "LABEL_11",
30
+ "12": "LABEL_12",
31
+ "13": "LABEL_13",
32
+ "14": "LABEL_14",
33
+ "15": "LABEL_15",
34
+ "16": "LABEL_16",
35
+ "17": "LABEL_17"
36
+ },
37
+ "initializer_range": 0.02,
38
+ "inner_group_num": 1,
39
+ "intermediate_size": 1248,
40
+ "label2id": {
41
+ "LABEL_0": 0,
42
+ "LABEL_1": 1,
43
+ "LABEL_10": 10,
44
+ "LABEL_11": 11,
45
+ "LABEL_12": 12,
46
+ "LABEL_13": 13,
47
+ "LABEL_14": 14,
48
+ "LABEL_15": 15,
49
+ "LABEL_16": 16,
50
+ "LABEL_17": 17,
51
+ "LABEL_2": 2,
52
+ "LABEL_3": 3,
53
+ "LABEL_4": 4,
54
+ "LABEL_5": 5,
55
+ "LABEL_6": 6,
56
+ "LABEL_7": 7,
57
+ "LABEL_8": 8,
58
+ "LABEL_9": 9
59
+ },
60
+ "layer_norm_eps": 1e-12,
61
+ "max_position_embeddings": 512,
62
+ "model_type": "albert",
63
+ "net_structure_type": 0,
64
+ "num_attention_heads": 12,
65
+ "num_hidden_groups": 1,
66
+ "num_hidden_layers": 4,
67
+ "num_memory_blocks": 0,
68
+ "pad_token_id": 0,
69
+ "position_embedding_type": "absolute",
70
+ "torch_dtype": "float32",
71
+ "transformers_version": "4.12.5",
72
+ "type_vocab_size": 2,
73
+ "vocab_size": 31000
74
+ }
eval_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9747039189441047,
4
+ "eval_f1": 0.9728139460666986,
5
+ "eval_loss": 0.08749764412641525,
6
+ "eval_precision": 0.9711674399155732,
7
+ "eval_recall": 0.9744660446344728,
8
+ "eval_runtime": 1.5052,
9
+ "eval_samples": 1654,
10
+ "eval_samples_per_second": 1098.84,
11
+ "eval_steps_per_second": 69.093
12
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:717d7386c720680fcad0d4b754a1ac5ca06b3bda824639c2bde37f8769b2c880
3
+ size 21022551
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": "[MASK]"}
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": true, "remove_space": true, "keep_accents": true, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "CenIA/albert_tiny_spanish", "tokenizer_class": "AlbertTokenizer"}
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "train_loss": 0.09274842659188383,
4
+ "train_runtime": 230.8308,
5
+ "train_samples": 14305,
6
+ "train_samples_per_second": 247.887,
7
+ "train_steps_per_second": 15.509
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.08749764412641525,
3
+ "best_model_checkpoint": "/data/jcanete/all_results/pos/albeto_tiny/epochs_4_bs_16_lr_5e-5/checkpoint-1600",
4
+ "epoch": 4.0,
5
+ "global_step": 3580,
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.9538808220802765,
13
+ "eval_f1": 0.9490697836636672,
14
+ "eval_loss": 0.17476704716682434,
15
+ "eval_precision": 0.9467019204007793,
16
+ "eval_recall": 0.9514495214880822,
17
+ "eval_runtime": 1.5406,
18
+ "eval_samples_per_second": 1073.605,
19
+ "eval_steps_per_second": 67.506,
20
+ "step": 200
21
+ },
22
+ {
23
+ "epoch": 0.45,
24
+ "eval_accuracy": 0.9654529743650565,
25
+ "eval_f1": 0.9616131828280513,
26
+ "eval_loss": 0.125724658370018,
27
+ "eval_precision": 0.9590238861730456,
28
+ "eval_recall": 0.9642164991708457,
29
+ "eval_runtime": 1.5211,
30
+ "eval_samples_per_second": 1087.347,
31
+ "eval_steps_per_second": 68.37,
32
+ "step": 400
33
+ },
34
+ {
35
+ "epoch": 0.56,
36
+ "learning_rate": 4.303072625698324e-05,
37
+ "loss": 0.3133,
38
+ "step": 500
39
+ },
40
+ {
41
+ "epoch": 0.67,
42
+ "eval_accuracy": 0.9684688500703139,
43
+ "eval_f1": 0.9654409345999343,
44
+ "eval_loss": 0.1092953085899353,
45
+ "eval_precision": 0.9633379749353491,
46
+ "eval_recall": 0.9675530958422409,
47
+ "eval_runtime": 1.5243,
48
+ "eval_samples_per_second": 1085.096,
49
+ "eval_steps_per_second": 68.229,
50
+ "step": 600
51
+ },
52
+ {
53
+ "epoch": 0.89,
54
+ "eval_accuracy": 0.9705189678250115,
55
+ "eval_f1": 0.9675733365251304,
56
+ "eval_loss": 0.09988456219434738,
57
+ "eval_precision": 0.9660797514241326,
58
+ "eval_recall": 0.9690715470220376,
59
+ "eval_runtime": 1.5122,
60
+ "eval_samples_per_second": 1093.787,
61
+ "eval_steps_per_second": 68.775,
62
+ "step": 800
63
+ },
64
+ {
65
+ "epoch": 1.12,
66
+ "learning_rate": 3.604748603351956e-05,
67
+ "loss": 0.0983,
68
+ "step": 1000
69
+ },
70
+ {
71
+ "epoch": 1.12,
72
+ "eval_accuracy": 0.9718066450924248,
73
+ "eval_f1": 0.9694776714513557,
74
+ "eval_loss": 0.09871890395879745,
75
+ "eval_precision": 0.9673755197039925,
76
+ "eval_recall": 0.971588979241174,
77
+ "eval_runtime": 1.5084,
78
+ "eval_samples_per_second": 1096.509,
79
+ "eval_steps_per_second": 68.946,
80
+ "step": 1000
81
+ },
82
+ {
83
+ "epoch": 1.34,
84
+ "eval_accuracy": 0.9728401755307433,
85
+ "eval_f1": 0.9709789372905697,
86
+ "eval_loss": 0.09597848355770111,
87
+ "eval_precision": 0.9693355369267836,
88
+ "eval_recall": 0.9726279195220875,
89
+ "eval_runtime": 1.4942,
90
+ "eval_samples_per_second": 1106.933,
91
+ "eval_steps_per_second": 69.602,
92
+ "step": 1200
93
+ },
94
+ {
95
+ "epoch": 1.56,
96
+ "eval_accuracy": 0.9736026160180274,
97
+ "eval_f1": 0.9714610733031314,
98
+ "eval_loss": 0.09189929813146591,
99
+ "eval_precision": 0.9703765723740606,
100
+ "eval_recall": 0.9725480010389402,
101
+ "eval_runtime": 1.5177,
102
+ "eval_samples_per_second": 1089.787,
103
+ "eval_steps_per_second": 68.523,
104
+ "step": 1400
105
+ },
106
+ {
107
+ "epoch": 1.68,
108
+ "learning_rate": 2.9064245810055868e-05,
109
+ "loss": 0.0695,
110
+ "step": 1500
111
+ },
112
+ {
113
+ "epoch": 1.79,
114
+ "eval_accuracy": 0.9747039189441047,
115
+ "eval_f1": 0.9728139460666986,
116
+ "eval_loss": 0.08749764412641525,
117
+ "eval_precision": 0.9711674399155732,
118
+ "eval_recall": 0.9744660446344728,
119
+ "eval_runtime": 1.5082,
120
+ "eval_samples_per_second": 1096.655,
121
+ "eval_steps_per_second": 68.955,
122
+ "step": 1600
123
+ },
124
+ {
125
+ "epoch": 2.01,
126
+ "eval_accuracy": 0.974975008895139,
127
+ "eval_f1": 0.9729659656365613,
128
+ "eval_loss": 0.08767995983362198,
129
+ "eval_precision": 0.9712323312761298,
130
+ "eval_recall": 0.9747058000839144,
131
+ "eval_runtime": 1.4537,
132
+ "eval_samples_per_second": 1137.75,
133
+ "eval_steps_per_second": 71.539,
134
+ "step": 1800
135
+ },
136
+ {
137
+ "epoch": 2.23,
138
+ "learning_rate": 2.2094972067039108e-05,
139
+ "loss": 0.0597,
140
+ "step": 2000
141
+ },
142
+ {
143
+ "epoch": 2.23,
144
+ "eval_accuracy": 0.974636146456346,
145
+ "eval_f1": 0.9728004468426774,
146
+ "eval_loss": 0.08931880444288254,
147
+ "eval_precision": 0.9712794773741237,
148
+ "eval_recall": 0.9743261872889653,
149
+ "eval_runtime": 1.4451,
150
+ "eval_samples_per_second": 1144.553,
151
+ "eval_steps_per_second": 71.967,
152
+ "step": 2000
153
+ },
154
+ {
155
+ "epoch": 2.46,
156
+ "eval_accuracy": 0.975025838260958,
157
+ "eval_f1": 0.9732900972811175,
158
+ "eval_loss": 0.0905543640255928,
159
+ "eval_precision": 0.9720971020847451,
160
+ "eval_recall": 0.9744860242552597,
161
+ "eval_runtime": 1.4435,
162
+ "eval_samples_per_second": 1145.863,
163
+ "eval_steps_per_second": 72.049,
164
+ "step": 2200
165
+ },
166
+ {
167
+ "epoch": 2.68,
168
+ "eval_accuracy": 0.9755510750410871,
169
+ "eval_f1": 0.9741129056392965,
170
+ "eval_loss": 0.09149234741926193,
171
+ "eval_precision": 0.9727446605036659,
172
+ "eval_recall": 0.9754850052945995,
173
+ "eval_runtime": 1.4454,
174
+ "eval_samples_per_second": 1144.307,
175
+ "eval_steps_per_second": 71.952,
176
+ "step": 2400
177
+ },
178
+ {
179
+ "epoch": 2.79,
180
+ "learning_rate": 1.511173184357542e-05,
181
+ "loss": 0.0458,
182
+ "step": 2500
183
+ },
184
+ {
185
+ "epoch": 2.91,
186
+ "eval_accuracy": 0.9755171887972077,
187
+ "eval_f1": 0.9740555211846648,
188
+ "eval_loss": 0.08821560442447662,
189
+ "eval_precision": 0.9729681239160337,
190
+ "eval_recall": 0.975145351741224,
191
+ "eval_runtime": 1.4692,
192
+ "eval_samples_per_second": 1125.788,
193
+ "eval_steps_per_second": 70.787,
194
+ "step": 2600
195
+ },
196
+ {
197
+ "epoch": 3.13,
198
+ "eval_accuracy": 0.9757374493824232,
199
+ "eval_f1": 0.9740832369019593,
200
+ "eval_loss": 0.09264585375785828,
201
+ "eval_precision": 0.9727053573207419,
202
+ "eval_recall": 0.9754650256738127,
203
+ "eval_runtime": 1.4438,
204
+ "eval_samples_per_second": 1145.593,
205
+ "eval_steps_per_second": 72.032,
206
+ "step": 2800
207
+ },
208
+ {
209
+ "epoch": 3.35,
210
+ "learning_rate": 8.128491620111732e-06,
211
+ "loss": 0.0383,
212
+ "step": 3000
213
+ },
214
+ {
215
+ "epoch": 3.35,
216
+ "eval_accuracy": 0.9753985869436302,
217
+ "eval_f1": 0.973785013167345,
218
+ "eval_loss": 0.093608058989048,
219
+ "eval_precision": 0.9723688666653386,
220
+ "eval_recall": 0.9752052906035843,
221
+ "eval_runtime": 1.444,
222
+ "eval_samples_per_second": 1145.395,
223
+ "eval_steps_per_second": 72.02,
224
+ "step": 3000
225
+ },
226
+ {
227
+ "epoch": 3.58,
228
+ "eval_accuracy": 0.9756357906507853,
229
+ "eval_f1": 0.974050980196538,
230
+ "eval_loss": 0.09429396688938141,
231
+ "eval_precision": 0.9727602423083055,
232
+ "eval_recall": 0.9753451479490919,
233
+ "eval_runtime": 1.4392,
234
+ "eval_samples_per_second": 1149.213,
235
+ "eval_steps_per_second": 72.26,
236
+ "step": 3200
237
+ },
238
+ {
239
+ "epoch": 3.8,
240
+ "eval_accuracy": 0.9750936107487166,
241
+ "eval_f1": 0.9735209019255712,
242
+ "eval_loss": 0.09423112124204636,
243
+ "eval_precision": 0.9722792403196556,
244
+ "eval_recall": 0.9747657389462748,
245
+ "eval_runtime": 1.4459,
246
+ "eval_samples_per_second": 1143.936,
247
+ "eval_steps_per_second": 71.928,
248
+ "step": 3400
249
+ },
250
+ {
251
+ "epoch": 3.91,
252
+ "learning_rate": 1.1452513966480447e-06,
253
+ "loss": 0.0344,
254
+ "step": 3500
255
+ },
256
+ {
257
+ "epoch": 4.0,
258
+ "step": 3580,
259
+ "total_flos": 32358086511744.0,
260
+ "train_loss": 0.09274842659188383,
261
+ "train_runtime": 230.8308,
262
+ "train_samples_per_second": 247.887,
263
+ "train_steps_per_second": 15.509
264
+ }
265
+ ],
266
+ "max_steps": 3580,
267
+ "num_train_epochs": 4,
268
+ "total_flos": 32358086511744.0,
269
+ "trial_name": null,
270
+ "trial_params": null
271
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af36acbe1b11273adc4b0a2f9e6702459837f2fdc63a75485358b2911aa68b20
3
+ size 2863