Upload 8 files
Browse files- config.json +26 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +159 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "uer/roberta-base-chinese-extractive-qa",
|
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.45.1",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 21128
|
26 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:309eb43f5587fbaa53349094e69af52dfd1c3e6519482d896746a471c65dd672
|
3 |
+
size 406737680
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dad8d9d2ac8f6e641633fb50a9d71556b2be2d4a81b471ef1ec0e8341d706d09
|
3 |
+
size 813589626
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebd063974eab481e046dff4b99647ca4bca35c9ccd98a25e1b1cacb165cdc93b
|
3 |
+
size 13990
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6d00770b97360120666d94c5ea33e773c06e2b79c6aa2a0a9289c09e3bc812ec
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 184,
|
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.21739130434782608,
|
13 |
+
"grad_norm": 98.25260162353516,
|
14 |
+
"learning_rate": 1.0000000000000002e-06,
|
15 |
+
"loss": 3.2276,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.43478260869565216,
|
20 |
+
"grad_norm": 77.15660858154297,
|
21 |
+
"learning_rate": 2.0000000000000003e-06,
|
22 |
+
"loss": 2.4812,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.6521739130434783,
|
27 |
+
"grad_norm": 44.03319549560547,
|
28 |
+
"learning_rate": 3e-06,
|
29 |
+
"loss": 2.4834,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.8695652173913043,
|
34 |
+
"grad_norm": 36.34611892700195,
|
35 |
+
"learning_rate": 4.000000000000001e-06,
|
36 |
+
"loss": 1.8211,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.0869565217391304,
|
41 |
+
"grad_norm": 26.440757751464844,
|
42 |
+
"learning_rate": 5e-06,
|
43 |
+
"loss": 1.8561,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 1.3043478260869565,
|
48 |
+
"grad_norm": 31.280738830566406,
|
49 |
+
"learning_rate": 6e-06,
|
50 |
+
"loss": 1.3881,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.5217391304347827,
|
55 |
+
"grad_norm": 18.75351333618164,
|
56 |
+
"learning_rate": 7e-06,
|
57 |
+
"loss": 1.1658,
|
58 |
+
"step": 70
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 1.7391304347826086,
|
62 |
+
"grad_norm": 31.8607177734375,
|
63 |
+
"learning_rate": 8.000000000000001e-06,
|
64 |
+
"loss": 1.4099,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 1.9565217391304348,
|
69 |
+
"grad_norm": 40.35784912109375,
|
70 |
+
"learning_rate": 9e-06,
|
71 |
+
"loss": 1.2576,
|
72 |
+
"step": 90
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 2.1739130434782608,
|
76 |
+
"grad_norm": 14.189046859741211,
|
77 |
+
"learning_rate": 1e-05,
|
78 |
+
"loss": 0.9798,
|
79 |
+
"step": 100
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 2.391304347826087,
|
83 |
+
"grad_norm": 12.539738655090332,
|
84 |
+
"learning_rate": 8.80952380952381e-06,
|
85 |
+
"loss": 1.0279,
|
86 |
+
"step": 110
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 2.608695652173913,
|
90 |
+
"grad_norm": 11.521944046020508,
|
91 |
+
"learning_rate": 7.61904761904762e-06,
|
92 |
+
"loss": 0.7695,
|
93 |
+
"step": 120
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 2.8260869565217392,
|
97 |
+
"grad_norm": 16.423460006713867,
|
98 |
+
"learning_rate": 6.4285714285714295e-06,
|
99 |
+
"loss": 0.8634,
|
100 |
+
"step": 130
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 3.0434782608695654,
|
104 |
+
"grad_norm": 14.004690170288086,
|
105 |
+
"learning_rate": 5.2380952380952384e-06,
|
106 |
+
"loss": 0.8086,
|
107 |
+
"step": 140
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 3.260869565217391,
|
111 |
+
"grad_norm": 19.613393783569336,
|
112 |
+
"learning_rate": 4.047619047619048e-06,
|
113 |
+
"loss": 0.6529,
|
114 |
+
"step": 150
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 3.4782608695652173,
|
118 |
+
"grad_norm": 10.613371849060059,
|
119 |
+
"learning_rate": 2.8571428571428573e-06,
|
120 |
+
"loss": 0.6305,
|
121 |
+
"step": 160
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 3.6956521739130435,
|
125 |
+
"grad_norm": 19.775999069213867,
|
126 |
+
"learning_rate": 1.6666666666666667e-06,
|
127 |
+
"loss": 0.5669,
|
128 |
+
"step": 170
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 3.9130434782608696,
|
132 |
+
"grad_norm": 22.53849220275879,
|
133 |
+
"learning_rate": 4.7619047619047623e-07,
|
134 |
+
"loss": 0.6313,
|
135 |
+
"step": 180
|
136 |
+
}
|
137 |
+
],
|
138 |
+
"logging_steps": 10,
|
139 |
+
"max_steps": 184,
|
140 |
+
"num_input_tokens_seen": 0,
|
141 |
+
"num_train_epochs": 4,
|
142 |
+
"save_steps": 500,
|
143 |
+
"stateful_callbacks": {
|
144 |
+
"TrainerControl": {
|
145 |
+
"args": {
|
146 |
+
"should_epoch_stop": false,
|
147 |
+
"should_evaluate": false,
|
148 |
+
"should_log": false,
|
149 |
+
"should_save": true,
|
150 |
+
"should_training_stop": true
|
151 |
+
},
|
152 |
+
"attributes": {}
|
153 |
+
}
|
154 |
+
},
|
155 |
+
"total_flos": 285336058355712.0,
|
156 |
+
"train_batch_size": 8,
|
157 |
+
"trial_name": null,
|
158 |
+
"trial_params": null
|
159 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60f722a97ed7236bee21b8b0dc1b263899fb65a8e7a75c3ab03dfc740322ab72
|
3 |
+
size 5176
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|