ZhangYunchenY
commited on
Commit
•
8d9d488
1
Parent(s):
fb39712
[Model] bert-base-squad
Browse files- config.json +26 -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 +136 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mnt/lustre/zhangyunchen/transformers/bert-base-uncased",
|
3 |
+
"architectures": [
|
4 |
+
"BertForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
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 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.16.2",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30522
|
26 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fea49e78b0bf4a83eaf2c662315f0a126a340cb37a4fd9f4f6687e491b79470f
|
3 |
+
size 871271163
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6c610a626a170c0f5a56e54148ea5c2b70e758719cc1dcadc699a3880beb95f
|
3 |
+
size 435661695
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49fc80bc29db1d2a901d5143fc51a1792ef459775098e03fa0cbb3765282b561
|
3 |
+
size 14659
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cc6478a79ad14b0c72abb8c1844f93aa457da303fba6dc093f790f7dfa6eea43
|
3 |
+
size 623
|
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": null, "use_fase": true, "special_tokens_map_file": null, "name_or_path": "/mnt/lustre/zhangyunchen/transformers/bert-base-uncased", "tokenizer_class": "BertTokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.807337791433219,
|
5 |
+
"global_step": 10000,
|
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.18,
|
12 |
+
"learning_rate": 2.9030955585464336e-05,
|
13 |
+
"loss": 2.7191,
|
14 |
+
"step": 1000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.18,
|
18 |
+
"eval_exact_match": 68.4957426679281,
|
19 |
+
"eval_f1": 78.5417061403447,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.36,
|
24 |
+
"learning_rate": 2.614689482791771e-05,
|
25 |
+
"loss": 1.3519,
|
26 |
+
"step": 2000
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.36,
|
30 |
+
"eval_exact_match": 73.8883632923368,
|
31 |
+
"eval_f1": 83.04181395685343,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.54,
|
36 |
+
"learning_rate": 2.3262834070371084e-05,
|
37 |
+
"loss": 1.1974,
|
38 |
+
"step": 3000
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.54,
|
42 |
+
"eval_exact_match": 76.39545884578997,
|
43 |
+
"eval_f1": 84.94187100093666,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.72,
|
48 |
+
"learning_rate": 2.0378773312824458e-05,
|
49 |
+
"loss": 1.1121,
|
50 |
+
"step": 4000
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.72,
|
54 |
+
"eval_exact_match": 77.90917691579943,
|
55 |
+
"eval_f1": 86.0835207851608,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.9,
|
60 |
+
"learning_rate": 1.7494712555277832e-05,
|
61 |
+
"loss": 1.0739,
|
62 |
+
"step": 5000
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.9,
|
66 |
+
"eval_exact_match": 79.19583727530747,
|
67 |
+
"eval_f1": 87.07553390271649,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.08,
|
72 |
+
"learning_rate": 1.4610651797731206e-05,
|
73 |
+
"loss": 0.9231,
|
74 |
+
"step": 6000
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.08,
|
78 |
+
"eval_exact_match": 79.27152317880795,
|
79 |
+
"eval_f1": 87.33653085436335,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.27,
|
84 |
+
"learning_rate": 1.172659104018458e-05,
|
85 |
+
"loss": 0.7573,
|
86 |
+
"step": 7000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.27,
|
90 |
+
"eval_exact_match": 79.27152317880795,
|
91 |
+
"eval_f1": 87.28738482427444,
|
92 |
+
"step": 7000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.45,
|
96 |
+
"learning_rate": 8.842530282637955e-06,
|
97 |
+
"loss": 0.7762,
|
98 |
+
"step": 8000
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 1.45,
|
102 |
+
"eval_exact_match": 79.82024597918638,
|
103 |
+
"eval_f1": 87.64539786752269,
|
104 |
+
"step": 8000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.63,
|
108 |
+
"learning_rate": 5.958469525091329e-06,
|
109 |
+
"loss": 0.7434,
|
110 |
+
"step": 9000
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.63,
|
114 |
+
"eval_exact_match": 80.60548722800378,
|
115 |
+
"eval_f1": 88.21302131914294,
|
116 |
+
"step": 9000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 1.81,
|
120 |
+
"learning_rate": 3.074408767544703e-06,
|
121 |
+
"loss": 0.7341,
|
122 |
+
"step": 10000
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 1.81,
|
126 |
+
"eval_exact_match": 80.82308420056765,
|
127 |
+
"eval_f1": 88.28361630558793,
|
128 |
+
"step": 10000
|
129 |
+
}
|
130 |
+
],
|
131 |
+
"max_steps": 11066,
|
132 |
+
"num_train_epochs": 2,
|
133 |
+
"total_flos": 3.135482691804979e+16,
|
134 |
+
"trial_name": null,
|
135 |
+
"trial_params": null
|
136 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d48249d8e70277a26c85aafcf84d08871b2ff6cd67b1db169973c3bc63ff35fe
|
3 |
+
size 3055
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|