josecannete
commited on
Commit
·
78429a6
1
Parent(s):
7c56705
adding model finetuned on POS
Browse files- all_results.json +17 -0
- config.json +74 -0
- eval_results.json +12 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- train_results.json +8 -0
- trainer_state.json +199 -0
- training_args.bin +3 -0
all_results.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"eval_accuracy": 0.9801257179647922,
|
4 |
+
"eval_f1": 0.9793164031304904,
|
5 |
+
"eval_loss": 0.07265603542327881,
|
6 |
+
"eval_precision": 0.9785935162094763,
|
7 |
+
"eval_recall": 0.9800403588339893,
|
8 |
+
"eval_runtime": 3.5805,
|
9 |
+
"eval_samples": 1654,
|
10 |
+
"eval_samples_per_second": 461.944,
|
11 |
+
"eval_steps_per_second": 29.046,
|
12 |
+
"train_loss": 0.1316441932870023,
|
13 |
+
"train_runtime": 1079.4521,
|
14 |
+
"train_samples": 14305,
|
15 |
+
"train_samples_per_second": 53.008,
|
16 |
+
"train_steps_per_second": 3.316
|
17 |
+
}
|
config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "CenIA/albert_large_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": 1024,
|
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": 4096,
|
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": 16,
|
65 |
+
"num_hidden_groups": 1,
|
66 |
+
"num_hidden_layers": 24,
|
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.9801257179647922,
|
4 |
+
"eval_f1": 0.9793164031304904,
|
5 |
+
"eval_loss": 0.07265603542327881,
|
6 |
+
"eval_precision": 0.9785935162094763,
|
7 |
+
"eval_recall": 0.9800403588339893,
|
8 |
+
"eval_runtime": 3.5805,
|
9 |
+
"eval_samples": 1654,
|
10 |
+
"eval_samples_per_second": 461.944,
|
11 |
+
"eval_steps_per_second": 29.046
|
12 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4f39fa359a9ca41ca91e39934dda7f80852a40f8365103575fed72d25e609b3b
|
3 |
+
size 67137495
|
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_large_spanish", "tokenizer_class": "AlbertTokenizer"}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 4.0,
|
3 |
+
"train_loss": 0.1316441932870023,
|
4 |
+
"train_runtime": 1079.4521,
|
5 |
+
"train_samples": 14305,
|
6 |
+
"train_samples_per_second": 53.008,
|
7 |
+
"train_steps_per_second": 3.316
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.07265603542327881,
|
3 |
+
"best_model_checkpoint": "/data/jcanete/all_results/pos/albeto_large/epochs_4_bs_16_lr_5e-6/checkpoint-3300",
|
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.34,
|
12 |
+
"eval_accuracy": 0.9613357957337219,
|
13 |
+
"eval_f1": 0.956240711001167,
|
14 |
+
"eval_loss": 0.15343289077281952,
|
15 |
+
"eval_precision": 0.9548025975060754,
|
16 |
+
"eval_recall": 0.957683163173563,
|
17 |
+
"eval_runtime": 3.7594,
|
18 |
+
"eval_samples_per_second": 439.96,
|
19 |
+
"eval_steps_per_second": 27.664,
|
20 |
+
"step": 300
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.56,
|
24 |
+
"learning_rate": 4.305865921787709e-06,
|
25 |
+
"loss": 0.5366,
|
26 |
+
"step": 500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.67,
|
30 |
+
"eval_accuracy": 0.9719421900679419,
|
31 |
+
"eval_f1": 0.9686646055649745,
|
32 |
+
"eval_loss": 0.1060481071472168,
|
33 |
+
"eval_precision": 0.9670443457655469,
|
34 |
+
"eval_recall": 0.9702903038900321,
|
35 |
+
"eval_runtime": 3.5348,
|
36 |
+
"eval_samples_per_second": 467.913,
|
37 |
+
"eval_steps_per_second": 29.421,
|
38 |
+
"step": 600
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 1.01,
|
42 |
+
"eval_accuracy": 0.9751444401145355,
|
43 |
+
"eval_f1": 0.972691003391183,
|
44 |
+
"eval_loss": 0.09304744005203247,
|
45 |
+
"eval_precision": 0.9711605489055747,
|
46 |
+
"eval_recall": 0.9742262891850313,
|
47 |
+
"eval_runtime": 3.5404,
|
48 |
+
"eval_samples_per_second": 467.179,
|
49 |
+
"eval_steps_per_second": 29.375,
|
50 |
+
"step": 900
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 1.12,
|
54 |
+
"learning_rate": 3.607541899441341e-06,
|
55 |
+
"loss": 0.0981,
|
56 |
+
"step": 1000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.34,
|
60 |
+
"eval_accuracy": 0.9768726385523797,
|
61 |
+
"eval_f1": 0.9757217127518386,
|
62 |
+
"eval_loss": 0.0842280164361,
|
63 |
+
"eval_precision": 0.9746421594035326,
|
64 |
+
"eval_recall": 0.9768036602665281,
|
65 |
+
"eval_runtime": 3.5912,
|
66 |
+
"eval_samples_per_second": 460.574,
|
67 |
+
"eval_steps_per_second": 28.96,
|
68 |
+
"step": 1200
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.68,
|
72 |
+
"learning_rate": 2.9092178770949727e-06,
|
73 |
+
"loss": 0.0752,
|
74 |
+
"step": 1500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.68,
|
78 |
+
"eval_accuracy": 0.9773131597228105,
|
79 |
+
"eval_f1": 0.9761464958613322,
|
80 |
+
"eval_loss": 0.0810752809047699,
|
81 |
+
"eval_precision": 0.9756496746636861,
|
82 |
+
"eval_recall": 0.9766438233002338,
|
83 |
+
"eval_runtime": 3.5387,
|
84 |
+
"eval_samples_per_second": 467.408,
|
85 |
+
"eval_steps_per_second": 29.39,
|
86 |
+
"step": 1500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 2.01,
|
90 |
+
"eval_accuracy": 0.9785669507463445,
|
91 |
+
"eval_f1": 0.9775089095864156,
|
92 |
+
"eval_loss": 0.07652546465396881,
|
93 |
+
"eval_precision": 0.9768165675751167,
|
94 |
+
"eval_recall": 0.978202233721604,
|
95 |
+
"eval_runtime": 3.5669,
|
96 |
+
"eval_samples_per_second": 463.705,
|
97 |
+
"eval_steps_per_second": 29.157,
|
98 |
+
"step": 1800
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 2.23,
|
102 |
+
"learning_rate": 2.2108938547486037e-06,
|
103 |
+
"loss": 0.0665,
|
104 |
+
"step": 2000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 2.35,
|
108 |
+
"eval_accuracy": 0.9788888700631978,
|
109 |
+
"eval_f1": 0.9777791081709423,
|
110 |
+
"eval_loss": 0.07642523944377899,
|
111 |
+
"eval_precision": 0.9766194937213474,
|
112 |
+
"eval_recall": 0.9789414796907154,
|
113 |
+
"eval_runtime": 3.5528,
|
114 |
+
"eval_samples_per_second": 465.546,
|
115 |
+
"eval_steps_per_second": 29.273,
|
116 |
+
"step": 2100
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.68,
|
120 |
+
"eval_accuracy": 0.9798715711356975,
|
121 |
+
"eval_f1": 0.9788792845307728,
|
122 |
+
"eval_loss": 0.07392332702875137,
|
123 |
+
"eval_precision": 0.97805924005186,
|
124 |
+
"eval_recall": 0.9797007052806138,
|
125 |
+
"eval_runtime": 6.3431,
|
126 |
+
"eval_samples_per_second": 260.756,
|
127 |
+
"eval_steps_per_second": 16.396,
|
128 |
+
"step": 2400
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.79,
|
132 |
+
"learning_rate": 1.5125698324022347e-06,
|
133 |
+
"loss": 0.0572,
|
134 |
+
"step": 2500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 3.02,
|
138 |
+
"eval_accuracy": 0.980379864793887,
|
139 |
+
"eval_f1": 0.9797258851832258,
|
140 |
+
"eval_loss": 0.07377304136753082,
|
141 |
+
"eval_precision": 0.9789929377967522,
|
142 |
+
"eval_recall": 0.9804599308705121,
|
143 |
+
"eval_runtime": 3.5438,
|
144 |
+
"eval_samples_per_second": 466.727,
|
145 |
+
"eval_steps_per_second": 29.347,
|
146 |
+
"step": 2700
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 3.35,
|
150 |
+
"learning_rate": 8.142458100558661e-07,
|
151 |
+
"loss": 0.0517,
|
152 |
+
"step": 3000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 3.35,
|
156 |
+
"eval_accuracy": 0.979939343623456,
|
157 |
+
"eval_f1": 0.9793008417457987,
|
158 |
+
"eval_loss": 0.07385215163230896,
|
159 |
+
"eval_precision": 0.9788414707173939,
|
160 |
+
"eval_recall": 0.9797606441429741,
|
161 |
+
"eval_runtime": 3.532,
|
162 |
+
"eval_samples_per_second": 468.288,
|
163 |
+
"eval_steps_per_second": 29.445,
|
164 |
+
"step": 3000
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 3.69,
|
168 |
+
"eval_accuracy": 0.9801257179647922,
|
169 |
+
"eval_f1": 0.9793164031304904,
|
170 |
+
"eval_loss": 0.07265603542327881,
|
171 |
+
"eval_precision": 0.9785935162094763,
|
172 |
+
"eval_recall": 0.9800403588339893,
|
173 |
+
"eval_runtime": 3.5347,
|
174 |
+
"eval_samples_per_second": 467.935,
|
175 |
+
"eval_steps_per_second": 29.423,
|
176 |
+
"step": 3300
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 3.91,
|
180 |
+
"learning_rate": 1.1592178770949721e-07,
|
181 |
+
"loss": 0.0501,
|
182 |
+
"step": 3500
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 4.0,
|
186 |
+
"step": 3580,
|
187 |
+
"total_flos": 338555299892352.0,
|
188 |
+
"train_loss": 0.1316441932870023,
|
189 |
+
"train_runtime": 1079.4521,
|
190 |
+
"train_samples_per_second": 53.008,
|
191 |
+
"train_steps_per_second": 3.316
|
192 |
+
}
|
193 |
+
],
|
194 |
+
"max_steps": 3580,
|
195 |
+
"num_train_epochs": 4,
|
196 |
+
"total_flos": 338555299892352.0,
|
197 |
+
"trial_name": null,
|
198 |
+
"trial_params": null
|
199 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10e1e448a30bb2c08783bce7e807c24e97c01fef0a1ec658ac1055455adb62d6
|
3 |
+
size 2863
|