josecannete
commited on
Commit
·
17f1dd8
1
Parent(s):
52f2e7b
adding model finetuned on MLDoc
Browse files- all_results.json +14 -0
- config.json +37 -0
- eval_results.json +9 -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 +196 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
all_results.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.9710000157356262,
|
4 |
+
"eval_loss": 0.13781137764453888,
|
5 |
+
"eval_runtime": 2.1129,
|
6 |
+
"eval_samples": 1000,
|
7 |
+
"eval_samples_per_second": 473.282,
|
8 |
+
"eval_steps_per_second": 29.817,
|
9 |
+
"train_loss": 0.077526035609546,
|
10 |
+
"train_runtime": 3451.0165,
|
11 |
+
"train_samples": 9458,
|
12 |
+
"train_samples_per_second": 8.222,
|
13 |
+
"train_steps_per_second": 0.515
|
14 |
+
}
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "CenIA/distillbert-base-spanish-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
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 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"label2id": {
|
19 |
+
"LABEL_0": 0,
|
20 |
+
"LABEL_1": 1,
|
21 |
+
"LABEL_2": 2,
|
22 |
+
"LABEL_3": 3
|
23 |
+
},
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "distilbert",
|
26 |
+
"n_heads": 12,
|
27 |
+
"n_layers": 6,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
+
"qa_dropout": 0.1,
|
31 |
+
"seq_classif_dropout": 0.2,
|
32 |
+
"sinusoidal_pos_embds": true,
|
33 |
+
"tie_weights_": true,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.15.0",
|
36 |
+
"vocab_size": 31002
|
37 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.9710000157356262,
|
4 |
+
"eval_loss": 0.13781137764453888,
|
5 |
+
"eval_runtime": 2.1129,
|
6 |
+
"eval_samples": 1000,
|
7 |
+
"eval_samples_per_second": 473.282,
|
8 |
+
"eval_steps_per_second": 29.817
|
9 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6e5387e4752cca2931333dd92b4f90baf0eed4f92834caa2f3595a1cf7914d1
|
3 |
+
size 269340785
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"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, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": false, "do_basic_tokenize": true, "never_split": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "CenIA/distillbert-base-spanish-uncased", "tokenizer_class": "DistilBertTokenizer"}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"train_loss": 0.077526035609546,
|
4 |
+
"train_runtime": 3451.0165,
|
5 |
+
"train_samples": 9458,
|
6 |
+
"train_samples_per_second": 8.222,
|
7 |
+
"train_steps_per_second": 0.515
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.13781137764453888,
|
3 |
+
"best_model_checkpoint": "/data/jcanete/all_results/mldoc/distillbeto/epochs_3_bs_16_lr_2e-5/checkpoint-900",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 1776,
|
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.17,
|
12 |
+
"eval_accuracy": 0.7329999804496765,
|
13 |
+
"eval_loss": 0.9082120656967163,
|
14 |
+
"eval_runtime": 2.085,
|
15 |
+
"eval_samples_per_second": 479.613,
|
16 |
+
"eval_steps_per_second": 30.216,
|
17 |
+
"step": 100
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.34,
|
21 |
+
"eval_accuracy": 0.8560000061988831,
|
22 |
+
"eval_loss": 0.47957685589790344,
|
23 |
+
"eval_runtime": 2.0816,
|
24 |
+
"eval_samples_per_second": 480.41,
|
25 |
+
"eval_steps_per_second": 30.266,
|
26 |
+
"step": 200
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.51,
|
30 |
+
"eval_accuracy": 0.9480000138282776,
|
31 |
+
"eval_loss": 0.23153278231620789,
|
32 |
+
"eval_runtime": 2.0846,
|
33 |
+
"eval_samples_per_second": 479.697,
|
34 |
+
"eval_steps_per_second": 30.221,
|
35 |
+
"step": 300
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 0.68,
|
39 |
+
"eval_accuracy": 0.9309999942779541,
|
40 |
+
"eval_loss": 0.25234749913215637,
|
41 |
+
"eval_runtime": 2.0857,
|
42 |
+
"eval_samples_per_second": 479.464,
|
43 |
+
"eval_steps_per_second": 30.206,
|
44 |
+
"step": 400
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.84,
|
48 |
+
"learning_rate": 1.4391891891891894e-05,
|
49 |
+
"loss": 0.1569,
|
50 |
+
"step": 500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.84,
|
54 |
+
"eval_accuracy": 0.9539999961853027,
|
55 |
+
"eval_loss": 0.18860605359077454,
|
56 |
+
"eval_runtime": 2.0884,
|
57 |
+
"eval_samples_per_second": 478.832,
|
58 |
+
"eval_steps_per_second": 30.166,
|
59 |
+
"step": 500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 1.01,
|
63 |
+
"eval_accuracy": 0.9020000100135803,
|
64 |
+
"eval_loss": 0.3387507200241089,
|
65 |
+
"eval_runtime": 2.0825,
|
66 |
+
"eval_samples_per_second": 480.196,
|
67 |
+
"eval_steps_per_second": 30.252,
|
68 |
+
"step": 600
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.18,
|
72 |
+
"eval_accuracy": 0.9610000252723694,
|
73 |
+
"eval_loss": 0.16218014061450958,
|
74 |
+
"eval_runtime": 2.0844,
|
75 |
+
"eval_samples_per_second": 479.763,
|
76 |
+
"eval_steps_per_second": 30.225,
|
77 |
+
"step": 700
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 1.35,
|
81 |
+
"eval_accuracy": 0.9509999752044678,
|
82 |
+
"eval_loss": 0.18978460133075714,
|
83 |
+
"eval_runtime": 2.0789,
|
84 |
+
"eval_samples_per_second": 481.026,
|
85 |
+
"eval_steps_per_second": 30.305,
|
86 |
+
"step": 800
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.52,
|
90 |
+
"eval_accuracy": 0.9710000157356262,
|
91 |
+
"eval_loss": 0.13781137764453888,
|
92 |
+
"eval_runtime": 2.0825,
|
93 |
+
"eval_samples_per_second": 480.201,
|
94 |
+
"eval_steps_per_second": 30.253,
|
95 |
+
"step": 900
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 1.69,
|
99 |
+
"learning_rate": 8.772522522522522e-06,
|
100 |
+
"loss": 0.0617,
|
101 |
+
"step": 1000
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 1.69,
|
105 |
+
"eval_accuracy": 0.9610000252723694,
|
106 |
+
"eval_loss": 0.1706898957490921,
|
107 |
+
"eval_runtime": 2.0817,
|
108 |
+
"eval_samples_per_second": 480.376,
|
109 |
+
"eval_steps_per_second": 30.264,
|
110 |
+
"step": 1000
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.86,
|
114 |
+
"eval_accuracy": 0.9599999785423279,
|
115 |
+
"eval_loss": 0.1884380429983139,
|
116 |
+
"eval_runtime": 2.08,
|
117 |
+
"eval_samples_per_second": 480.775,
|
118 |
+
"eval_steps_per_second": 30.289,
|
119 |
+
"step": 1100
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 2.03,
|
123 |
+
"eval_accuracy": 0.9570000171661377,
|
124 |
+
"eval_loss": 0.20238688588142395,
|
125 |
+
"eval_runtime": 2.0822,
|
126 |
+
"eval_samples_per_second": 480.271,
|
127 |
+
"eval_steps_per_second": 30.257,
|
128 |
+
"step": 1200
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.2,
|
132 |
+
"eval_accuracy": 0.9589999914169312,
|
133 |
+
"eval_loss": 0.1709979772567749,
|
134 |
+
"eval_runtime": 2.0789,
|
135 |
+
"eval_samples_per_second": 481.035,
|
136 |
+
"eval_steps_per_second": 30.305,
|
137 |
+
"step": 1300
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 2.36,
|
141 |
+
"eval_accuracy": 0.9610000252723694,
|
142 |
+
"eval_loss": 0.1705155074596405,
|
143 |
+
"eval_runtime": 2.0769,
|
144 |
+
"eval_samples_per_second": 481.48,
|
145 |
+
"eval_steps_per_second": 30.333,
|
146 |
+
"step": 1400
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 2.53,
|
150 |
+
"learning_rate": 3.141891891891892e-06,
|
151 |
+
"loss": 0.0353,
|
152 |
+
"step": 1500
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 2.53,
|
156 |
+
"eval_accuracy": 0.9570000171661377,
|
157 |
+
"eval_loss": 0.18021175265312195,
|
158 |
+
"eval_runtime": 2.0858,
|
159 |
+
"eval_samples_per_second": 479.427,
|
160 |
+
"eval_steps_per_second": 30.204,
|
161 |
+
"step": 1500
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 2.7,
|
165 |
+
"eval_accuracy": 0.9520000219345093,
|
166 |
+
"eval_loss": 0.19292205572128296,
|
167 |
+
"eval_runtime": 2.0769,
|
168 |
+
"eval_samples_per_second": 481.487,
|
169 |
+
"eval_steps_per_second": 30.334,
|
170 |
+
"step": 1600
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 2.87,
|
174 |
+
"eval_accuracy": 0.9570000171661377,
|
175 |
+
"eval_loss": 0.1787494271993637,
|
176 |
+
"eval_runtime": 2.0981,
|
177 |
+
"eval_samples_per_second": 476.617,
|
178 |
+
"eval_steps_per_second": 30.027,
|
179 |
+
"step": 1700
|
180 |
+
},
|
181 |
+
{
|
182 |
+
"epoch": 3.0,
|
183 |
+
"step": 1776,
|
184 |
+
"total_flos": 3142677580766976.0,
|
185 |
+
"train_loss": 0.077526035609546,
|
186 |
+
"train_runtime": 3451.0165,
|
187 |
+
"train_samples_per_second": 8.222,
|
188 |
+
"train_steps_per_second": 0.515
|
189 |
+
}
|
190 |
+
],
|
191 |
+
"max_steps": 1776,
|
192 |
+
"num_train_epochs": 3,
|
193 |
+
"total_flos": 3142677580766976.0,
|
194 |
+
"trial_name": null,
|
195 |
+
"trial_params": null
|
196 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:637313ac57b5fb0399a2045f9e6e7de5a414a069434f6f288f81bcfb6305f008
|
3 |
+
size 2991
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|