AlexTANG-JX commited on
Commit
95dc670
·
verified ·
1 Parent(s): 2cb9f8e

Upload 10 files

Browse files
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "C:\\Users\\Administrator\\Desktop\\NLP\\distilbert-question-detector\\checkpoint-5150",
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
+ "initializer_range": 0.02,
12
+ "max_position_embeddings": 512,
13
+ "model_type": "distilbert",
14
+ "n_heads": 12,
15
+ "n_layers": 6,
16
+ "pad_token_id": 0,
17
+ "qa_dropout": 0.1,
18
+ "seq_classif_dropout": 0.2,
19
+ "sinusoidal_pos_embds": false,
20
+ "tie_weights_": true,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.49.0",
23
+ "vocab_size": 30522
24
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e12e07a10e6e39854a917ab909d634b5ae4b8c7ce5cf7bee9f343a47c2e462d0
3
+ size 267832560
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79c7a0ee0c9b0d89c4232b62978dacbc3671bf684ddbd0756132ed0e55c83c22
3
+ size 535724410
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8181325e5e95bcf618839dcce24cadeaf5957e14e5842f1d42122506cfd82b5
3
+ size 13990
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:809a9de7163e05e3b8d05343016acfe15f45ee7f402a7dadbf60a94502b7ff96
3
+ size 1064
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "DistilBertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
trainer_state.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.02409563586115837,
3
+ "best_model_checkpoint": "./distilbert-question-detector\\checkpoint-3429",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 3429,
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.17497812773403323,
13
+ "grad_norm": 0.427781343460083,
14
+ "learning_rate": 4.708369787109945e-05,
15
+ "loss": 0.0255,
16
+ "step": 200
17
+ },
18
+ {
19
+ "epoch": 0.34995625546806647,
20
+ "grad_norm": 0.400822252035141,
21
+ "learning_rate": 4.416739574219889e-05,
22
+ "loss": 0.0252,
23
+ "step": 400
24
+ },
25
+ {
26
+ "epoch": 0.5249343832020997,
27
+ "grad_norm": 0.5707641243934631,
28
+ "learning_rate": 4.125109361329834e-05,
29
+ "loss": 0.0274,
30
+ "step": 600
31
+ },
32
+ {
33
+ "epoch": 0.6999125109361329,
34
+ "grad_norm": 0.3984428346157074,
35
+ "learning_rate": 3.8334791484397786e-05,
36
+ "loss": 0.0258,
37
+ "step": 800
38
+ },
39
+ {
40
+ "epoch": 0.8748906386701663,
41
+ "grad_norm": 1.198236107826233,
42
+ "learning_rate": 3.541848935549723e-05,
43
+ "loss": 0.0262,
44
+ "step": 1000
45
+ },
46
+ {
47
+ "epoch": 1.0,
48
+ "eval_loss": 0.024490611627697945,
49
+ "eval_runtime": 55.9659,
50
+ "eval_samples_per_second": 36.308,
51
+ "eval_steps_per_second": 2.269,
52
+ "step": 1143
53
+ },
54
+ {
55
+ "epoch": 1.0498687664041995,
56
+ "grad_norm": 0.8012853860855103,
57
+ "learning_rate": 3.2502187226596675e-05,
58
+ "loss": 0.0274,
59
+ "step": 1200
60
+ },
61
+ {
62
+ "epoch": 1.2248468941382327,
63
+ "grad_norm": 0.4337884187698364,
64
+ "learning_rate": 2.9585885097696126e-05,
65
+ "loss": 0.0183,
66
+ "step": 1400
67
+ },
68
+ {
69
+ "epoch": 1.399825021872266,
70
+ "grad_norm": 0.5056678652763367,
71
+ "learning_rate": 2.666958296879557e-05,
72
+ "loss": 0.0189,
73
+ "step": 1600
74
+ },
75
+ {
76
+ "epoch": 1.574803149606299,
77
+ "grad_norm": 0.5337983965873718,
78
+ "learning_rate": 2.3753280839895015e-05,
79
+ "loss": 0.0206,
80
+ "step": 1800
81
+ },
82
+ {
83
+ "epoch": 1.7497812773403325,
84
+ "grad_norm": 0.26040902733802795,
85
+ "learning_rate": 2.083697871099446e-05,
86
+ "loss": 0.0186,
87
+ "step": 2000
88
+ },
89
+ {
90
+ "epoch": 1.9247594050743657,
91
+ "grad_norm": 0.2849089205265045,
92
+ "learning_rate": 1.7920676582093906e-05,
93
+ "loss": 0.0184,
94
+ "step": 2200
95
+ },
96
+ {
97
+ "epoch": 2.0,
98
+ "eval_loss": 0.024468354880809784,
99
+ "eval_runtime": 59.7745,
100
+ "eval_samples_per_second": 33.994,
101
+ "eval_steps_per_second": 2.125,
102
+ "step": 2286
103
+ },
104
+ {
105
+ "epoch": 2.099737532808399,
106
+ "grad_norm": 0.21000386774539948,
107
+ "learning_rate": 1.500437445319335e-05,
108
+ "loss": 0.0164,
109
+ "step": 2400
110
+ },
111
+ {
112
+ "epoch": 2.2747156605424323,
113
+ "grad_norm": 0.2694750130176544,
114
+ "learning_rate": 1.2088072324292797e-05,
115
+ "loss": 0.0142,
116
+ "step": 2600
117
+ },
118
+ {
119
+ "epoch": 2.4496937882764653,
120
+ "grad_norm": 0.12494825571775436,
121
+ "learning_rate": 9.171770195392243e-06,
122
+ "loss": 0.0154,
123
+ "step": 2800
124
+ },
125
+ {
126
+ "epoch": 2.6246719160104988,
127
+ "grad_norm": 0.21705402433872223,
128
+ "learning_rate": 6.255468066491689e-06,
129
+ "loss": 0.0143,
130
+ "step": 3000
131
+ },
132
+ {
133
+ "epoch": 2.799650043744532,
134
+ "grad_norm": 0.2746178209781647,
135
+ "learning_rate": 3.339165937591135e-06,
136
+ "loss": 0.0146,
137
+ "step": 3200
138
+ },
139
+ {
140
+ "epoch": 2.974628171478565,
141
+ "grad_norm": 0.2427779734134674,
142
+ "learning_rate": 4.2286380869058036e-07,
143
+ "loss": 0.0143,
144
+ "step": 3400
145
+ },
146
+ {
147
+ "epoch": 3.0,
148
+ "eval_loss": 0.02409563586115837,
149
+ "eval_runtime": 62.7666,
150
+ "eval_samples_per_second": 32.374,
151
+ "eval_steps_per_second": 2.023,
152
+ "step": 3429
153
+ }
154
+ ],
155
+ "logging_steps": 200,
156
+ "max_steps": 3429,
157
+ "num_input_tokens_seen": 0,
158
+ "num_train_epochs": 3,
159
+ "save_steps": 1000,
160
+ "stateful_callbacks": {
161
+ "TrainerControl": {
162
+ "args": {
163
+ "should_epoch_stop": false,
164
+ "should_evaluate": false,
165
+ "should_log": false,
166
+ "should_save": true,
167
+ "should_training_stop": true
168
+ },
169
+ "attributes": {}
170
+ }
171
+ },
172
+ "total_flos": 1816525437769728.0,
173
+ "train_batch_size": 16,
174
+ "trial_name": null,
175
+ "trial_params": null
176
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5d3ae508f97ae7f5d0dbd0e18eb837936d9dd184c9249ff22a8f7745f1d1914
3
+ size 5304
vocab.txt ADDED
The diff for this file is too large to render. See raw diff