quanghuy123
commited on
Initial model upload
Browse files- config.json +31 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +222 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google-bert/bert-base-multilingual-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"pooler_fc_size": 768,
|
21 |
+
"pooler_num_attention_heads": 12,
|
22 |
+
"pooler_num_fc_layers": 3,
|
23 |
+
"pooler_size_per_head": 128,
|
24 |
+
"pooler_type": "first_token_transform",
|
25 |
+
"position_embedding_type": "absolute",
|
26 |
+
"torch_dtype": "float32",
|
27 |
+
"transformers_version": "4.45.1",
|
28 |
+
"type_vocab_size": 2,
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 119547
|
31 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6338438c96dbe054a39d52d16eceec29a0f612cb283f8cd9fd5da8823323517
|
3 |
+
size 709080904
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca579e6b1b5f2b21e1220f0dc4555d25462fec1cfa13655fe74e75efd71b99e2
|
3 |
+
size 1418232250
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9b02f0bac09a4b7716909d0b2f1735c5acd7faf7526766fa0dac91732c93ff0
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3aa0ebfb3f401274cfb3798b5939bc14f7cb17e6f4b46e96ee5e82d487f2776
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,222 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.0495530404150486,
|
3 |
+
"best_model_checkpoint": "./bert_question_answer/checkpoint-506",
|
4 |
+
"epoch": 12.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 759,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.9960474308300395,
|
13 |
+
"grad_norm": 535022.625,
|
14 |
+
"learning_rate": 6.666666666666667e-06,
|
15 |
+
"loss": 4.5676,
|
16 |
+
"step": 63
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.9960474308300395,
|
20 |
+
"eval_loss": 1.4936771392822266,
|
21 |
+
"eval_runtime": 124.1238,
|
22 |
+
"eval_samples_per_second": 50.417,
|
23 |
+
"eval_steps_per_second": 0.749,
|
24 |
+
"step": 63
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 1.992094861660079,
|
28 |
+
"grad_norm": 169985.234375,
|
29 |
+
"learning_rate": 1.3333333333333333e-05,
|
30 |
+
"loss": 0.5263,
|
31 |
+
"step": 126
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 1.992094861660079,
|
35 |
+
"eval_loss": 0.20066042244434357,
|
36 |
+
"eval_runtime": 123.7513,
|
37 |
+
"eval_samples_per_second": 50.569,
|
38 |
+
"eval_steps_per_second": 0.752,
|
39 |
+
"step": 126
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 2.9881422924901186,
|
43 |
+
"grad_norm": 111777.1484375,
|
44 |
+
"learning_rate": 2e-05,
|
45 |
+
"loss": 0.1157,
|
46 |
+
"step": 189
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 2.9881422924901186,
|
50 |
+
"eval_loss": 0.08579555153846741,
|
51 |
+
"eval_runtime": 124.3773,
|
52 |
+
"eval_samples_per_second": 50.315,
|
53 |
+
"eval_steps_per_second": 0.748,
|
54 |
+
"step": 189
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 4.0,
|
58 |
+
"grad_norm": 48445.76953125,
|
59 |
+
"learning_rate": 1.8306878306878308e-05,
|
60 |
+
"loss": 0.0586,
|
61 |
+
"step": 253
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 4.0,
|
65 |
+
"eval_loss": 0.0610487125813961,
|
66 |
+
"eval_runtime": 124.3926,
|
67 |
+
"eval_samples_per_second": 50.308,
|
68 |
+
"eval_steps_per_second": 0.748,
|
69 |
+
"step": 253
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 4.996047430830039,
|
73 |
+
"grad_norm": 95084.5546875,
|
74 |
+
"learning_rate": 1.6640211640211642e-05,
|
75 |
+
"loss": 0.0365,
|
76 |
+
"step": 316
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 4.996047430830039,
|
80 |
+
"eval_loss": 0.05348861962556839,
|
81 |
+
"eval_runtime": 124.0651,
|
82 |
+
"eval_samples_per_second": 50.441,
|
83 |
+
"eval_steps_per_second": 0.75,
|
84 |
+
"step": 316
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 5.992094861660079,
|
88 |
+
"grad_norm": 38486.77734375,
|
89 |
+
"learning_rate": 1.4973544973544975e-05,
|
90 |
+
"loss": 0.0261,
|
91 |
+
"step": 379
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 5.992094861660079,
|
95 |
+
"eval_loss": 0.053615033626556396,
|
96 |
+
"eval_runtime": 124.6756,
|
97 |
+
"eval_samples_per_second": 50.194,
|
98 |
+
"eval_steps_per_second": 0.746,
|
99 |
+
"step": 379
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 6.988142292490118,
|
103 |
+
"grad_norm": 53503.58203125,
|
104 |
+
"learning_rate": 1.3306878306878308e-05,
|
105 |
+
"loss": 0.0191,
|
106 |
+
"step": 442
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 6.988142292490118,
|
110 |
+
"eval_loss": 0.05153428390622139,
|
111 |
+
"eval_runtime": 124.176,
|
112 |
+
"eval_samples_per_second": 50.396,
|
113 |
+
"eval_steps_per_second": 0.749,
|
114 |
+
"step": 442
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 8.0,
|
118 |
+
"grad_norm": 49217.56640625,
|
119 |
+
"learning_rate": 1.1613756613756614e-05,
|
120 |
+
"loss": 0.0149,
|
121 |
+
"step": 506
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 8.0,
|
125 |
+
"eval_loss": 0.0495530404150486,
|
126 |
+
"eval_runtime": 124.4318,
|
127 |
+
"eval_samples_per_second": 50.293,
|
128 |
+
"eval_steps_per_second": 0.747,
|
129 |
+
"step": 506
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 8.996047430830039,
|
133 |
+
"grad_norm": 78619.8828125,
|
134 |
+
"learning_rate": 9.947089947089947e-06,
|
135 |
+
"loss": 0.0108,
|
136 |
+
"step": 569
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 8.996047430830039,
|
140 |
+
"eval_loss": 0.05309264734387398,
|
141 |
+
"eval_runtime": 124.173,
|
142 |
+
"eval_samples_per_second": 50.397,
|
143 |
+
"eval_steps_per_second": 0.749,
|
144 |
+
"step": 569
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 9.992094861660078,
|
148 |
+
"grad_norm": 68375.4375,
|
149 |
+
"learning_rate": 8.28042328042328e-06,
|
150 |
+
"loss": 0.0093,
|
151 |
+
"step": 632
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 9.992094861660078,
|
155 |
+
"eval_loss": 0.055722925812006,
|
156 |
+
"eval_runtime": 124.3567,
|
157 |
+
"eval_samples_per_second": 50.323,
|
158 |
+
"eval_steps_per_second": 0.748,
|
159 |
+
"step": 632
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 10.988142292490119,
|
163 |
+
"grad_norm": 52463.015625,
|
164 |
+
"learning_rate": 6.613756613756615e-06,
|
165 |
+
"loss": 0.0081,
|
166 |
+
"step": 695
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 10.988142292490119,
|
170 |
+
"eval_loss": 0.052927400916814804,
|
171 |
+
"eval_runtime": 124.2278,
|
172 |
+
"eval_samples_per_second": 50.375,
|
173 |
+
"eval_steps_per_second": 0.749,
|
174 |
+
"step": 695
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 12.0,
|
178 |
+
"grad_norm": 42119.37109375,
|
179 |
+
"learning_rate": 4.920634920634921e-06,
|
180 |
+
"loss": 0.0063,
|
181 |
+
"step": 759
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 12.0,
|
185 |
+
"eval_loss": 0.05621393024921417,
|
186 |
+
"eval_runtime": 124.2369,
|
187 |
+
"eval_samples_per_second": 50.371,
|
188 |
+
"eval_steps_per_second": 0.749,
|
189 |
+
"step": 759
|
190 |
+
}
|
191 |
+
],
|
192 |
+
"logging_steps": 500,
|
193 |
+
"max_steps": 945,
|
194 |
+
"num_input_tokens_seen": 0,
|
195 |
+
"num_train_epochs": 15,
|
196 |
+
"save_steps": 500,
|
197 |
+
"stateful_callbacks": {
|
198 |
+
"EarlyStoppingCallback": {
|
199 |
+
"args": {
|
200 |
+
"early_stopping_patience": 4,
|
201 |
+
"early_stopping_threshold": 0.001
|
202 |
+
},
|
203 |
+
"attributes": {
|
204 |
+
"early_stopping_patience_counter": 4
|
205 |
+
}
|
206 |
+
},
|
207 |
+
"TrainerControl": {
|
208 |
+
"args": {
|
209 |
+
"should_epoch_stop": false,
|
210 |
+
"should_evaluate": false,
|
211 |
+
"should_log": false,
|
212 |
+
"should_save": true,
|
213 |
+
"should_training_stop": true
|
214 |
+
},
|
215 |
+
"attributes": {}
|
216 |
+
}
|
217 |
+
},
|
218 |
+
"total_flos": 1.6178240952660787e+17,
|
219 |
+
"train_batch_size": 68,
|
220 |
+
"trial_name": null,
|
221 |
+
"trial_params": null
|
222 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4cd19d30c4a62dd3127d2dbe5e881cd6d4aec3b684607bf1b639ce178aa30dd
|
3 |
+
size 5240
|