thilaksai77 commited on
Commit
a665122
·
verified ·
1 Parent(s): 39f4224

Upload fine-tuned and quantized summarization model

Browse files
checkpoint-293/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertForSequenceClassification"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
10
+ "id2label": {
11
+ "0": "sadness_negative",
12
+ "1": "surprise_negative",
13
+ "2": "neutral_neutral",
14
+ "3": "joy_positive",
15
+ "4": "anger_negative",
16
+ "5": "surprise_positive",
17
+ "6": "disgust_negative",
18
+ "7": "fear_negative"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "label2id": {
22
+ "anger_negative": 4,
23
+ "disgust_negative": 6,
24
+ "fear_negative": 7,
25
+ "joy_positive": 3,
26
+ "neutral_neutral": 2,
27
+ "sadness_negative": 0,
28
+ "surprise_negative": 1,
29
+ "surprise_positive": 5
30
+ },
31
+ "max_position_embeddings": 512,
32
+ "model_type": "distilbert",
33
+ "n_heads": 12,
34
+ "n_layers": 6,
35
+ "pad_token_id": 0,
36
+ "problem_type": "single_label_classification",
37
+ "qa_dropout": 0.1,
38
+ "seq_classif_dropout": 0.2,
39
+ "sinusoidal_pos_embds": false,
40
+ "tie_weights_": true,
41
+ "torch_dtype": "float32",
42
+ "transformers_version": "4.52.1",
43
+ "vocab_size": 30522
44
+ }
checkpoint-293/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5918e0c24539151f2e6a5a278ba2a9fbb6de90f16c05d51b5a4b1e5ab8a60a10
3
+ size 267851024
checkpoint-293/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aaa915bf419a2216397dfdbd2d27bcec46ace6410bd073315f8d48c8ef13ef8
3
+ size 535761739
checkpoint-293/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858a11eb33b3e7914d19ef840c8c6485f3dbd1786fe91430816808a1956b9bb7
3
+ size 14455
checkpoint-293/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6411d9a6a8b91983853ee172b932b286b9600464210daa50dc732a1390bd3a5f
3
+ size 1465
checkpoint-293/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
checkpoint-293/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-293/tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "DistilBertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
checkpoint-293/trainer_state.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 293,
3
+ "best_metric": 0.5119453924914675,
4
+ "best_model_checkpoint": "./results_cpu_qfix/checkpoint-293",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 293,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.034129692832764506,
14
+ "grad_norm": 4.731612205505371,
15
+ "learning_rate": 1.938566552901024e-05,
16
+ "loss": 2.0437,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.06825938566552901,
21
+ "grad_norm": 5.916387557983398,
22
+ "learning_rate": 1.870307167235495e-05,
23
+ "loss": 2.0,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.10238907849829351,
28
+ "grad_norm": 4.9087233543396,
29
+ "learning_rate": 1.802047781569966e-05,
30
+ "loss": 1.9578,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.13651877133105803,
35
+ "grad_norm": 5.27643346786499,
36
+ "learning_rate": 1.733788395904437e-05,
37
+ "loss": 1.8919,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.17064846416382254,
42
+ "grad_norm": 5.508472919464111,
43
+ "learning_rate": 1.6655290102389077e-05,
44
+ "loss": 1.6533,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.20477815699658702,
49
+ "grad_norm": 6.766260147094727,
50
+ "learning_rate": 1.5972696245733788e-05,
51
+ "loss": 1.8696,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 0.23890784982935154,
56
+ "grad_norm": 5.721550464630127,
57
+ "learning_rate": 1.52901023890785e-05,
58
+ "loss": 1.6216,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 0.27303754266211605,
63
+ "grad_norm": 7.68924617767334,
64
+ "learning_rate": 1.4607508532423209e-05,
65
+ "loss": 1.6407,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 0.30716723549488056,
70
+ "grad_norm": 5.800849437713623,
71
+ "learning_rate": 1.392491467576792e-05,
72
+ "loss": 1.4528,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 0.3412969283276451,
77
+ "grad_norm": 5.374143123626709,
78
+ "learning_rate": 1.3242320819112629e-05,
79
+ "loss": 1.1909,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 0.37542662116040953,
84
+ "grad_norm": 10.029739379882812,
85
+ "learning_rate": 1.255972696245734e-05,
86
+ "loss": 1.9,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 0.40955631399317405,
91
+ "grad_norm": 7.377814769744873,
92
+ "learning_rate": 1.1877133105802047e-05,
93
+ "loss": 1.739,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 0.44368600682593856,
98
+ "grad_norm": 5.629587173461914,
99
+ "learning_rate": 1.1194539249146758e-05,
100
+ "loss": 1.3806,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 0.4778156996587031,
105
+ "grad_norm": 8.637285232543945,
106
+ "learning_rate": 1.051194539249147e-05,
107
+ "loss": 1.7475,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 0.5119453924914675,
112
+ "grad_norm": 7.765105247497559,
113
+ "learning_rate": 9.829351535836179e-06,
114
+ "loss": 1.6408,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 0.5460750853242321,
119
+ "grad_norm": 8.896513938903809,
120
+ "learning_rate": 9.146757679180888e-06,
121
+ "loss": 1.4381,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 0.5802047781569966,
126
+ "grad_norm": 9.395094871520996,
127
+ "learning_rate": 8.464163822525599e-06,
128
+ "loss": 1.4626,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 0.6143344709897611,
133
+ "grad_norm": 5.849052429199219,
134
+ "learning_rate": 7.781569965870308e-06,
135
+ "loss": 1.4404,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 0.6484641638225256,
140
+ "grad_norm": 11.358508110046387,
141
+ "learning_rate": 7.098976109215017e-06,
142
+ "loss": 1.7092,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 0.6825938566552902,
147
+ "grad_norm": 6.5548014640808105,
148
+ "learning_rate": 6.4163822525597275e-06,
149
+ "loss": 1.7465,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 0.7167235494880546,
154
+ "grad_norm": 8.163894653320312,
155
+ "learning_rate": 5.733788395904437e-06,
156
+ "loss": 1.639,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 0.7508532423208191,
161
+ "grad_norm": 6.512352466583252,
162
+ "learning_rate": 5.051194539249147e-06,
163
+ "loss": 1.6322,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 0.7849829351535836,
168
+ "grad_norm": 6.136053085327148,
169
+ "learning_rate": 4.368600682593857e-06,
170
+ "loss": 1.2731,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 0.8191126279863481,
175
+ "grad_norm": 5.267455577850342,
176
+ "learning_rate": 3.6860068259385667e-06,
177
+ "loss": 1.525,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 0.8532423208191127,
182
+ "grad_norm": 5.496407508850098,
183
+ "learning_rate": 3.003412969283277e-06,
184
+ "loss": 1.4582,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 0.8873720136518771,
189
+ "grad_norm": 8.91087818145752,
190
+ "learning_rate": 2.3208191126279866e-06,
191
+ "loss": 1.6813,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 0.9215017064846417,
196
+ "grad_norm": 6.79412317276001,
197
+ "learning_rate": 1.6382252559726963e-06,
198
+ "loss": 1.5778,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 0.9556313993174061,
203
+ "grad_norm": 8.445448875427246,
204
+ "learning_rate": 9.556313993174062e-07,
205
+ "loss": 1.3507,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 0.9897610921501706,
210
+ "grad_norm": 8.388998031616211,
211
+ "learning_rate": 2.7303754266211607e-07,
212
+ "loss": 1.3616,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 1.0,
217
+ "eval_accuracy": 0.5119453924914675,
218
+ "eval_f1": 0.424672713430414,
219
+ "eval_loss": 1.4379266500473022,
220
+ "eval_precision": 0.3831069535218987,
221
+ "eval_recall": 0.5119453924914675,
222
+ "eval_runtime": 4.6658,
223
+ "eval_samples_per_second": 62.797,
224
+ "eval_steps_per_second": 15.86,
225
+ "step": 293
226
+ }
227
+ ],
228
+ "logging_steps": 10,
229
+ "max_steps": 293,
230
+ "num_input_tokens_seen": 0,
231
+ "num_train_epochs": 1,
232
+ "save_steps": 500,
233
+ "stateful_callbacks": {
234
+ "TrainerControl": {
235
+ "args": {
236
+ "should_epoch_stop": false,
237
+ "should_evaluate": false,
238
+ "should_log": false,
239
+ "should_save": true,
240
+ "should_training_stop": true
241
+ },
242
+ "attributes": {}
243
+ }
244
+ },
245
+ "total_flos": 38717739669504.0,
246
+ "train_batch_size": 4,
247
+ "trial_name": null,
248
+ "trial_params": null
249
+ }
checkpoint-293/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f532c07c473aa83e897d239048fccdfa02f6de9e3523c70609dcd7e979061ee8
3
+ size 5649
checkpoint-293/vocab.txt ADDED
The diff for this file is too large to render. See raw diff