bikashpatra commited on
Commit
8973ab3
1 Parent(s): 5c8b838

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text2text-generation
6
+ base_model: transformer3/H2-keywordextractor
7
+ widget:
8
+ - text: "I love AutoTrain"
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Seq2Seq
14
+
15
+ ## Validation Metrics
16
+ loss: 1.821385145187378
17
+
18
+ rouge1: 55.4476
19
+
20
+ rouge2: 40.4173
21
+
22
+ rougeL: 53.9637
23
+
24
+ rougeLsum: 53.9177
25
+
26
+ gen_len: 19.15
27
+
28
+ runtime: 2.2739
29
+
30
+ samples_per_second: 8.795
31
+
32
+ steps_per_second: 2.199
33
+
34
+ : 3.0
checkpoint-80/config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "transformer3/H2-keywordextractor",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 1024,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_ffn_dim": 4096,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 12,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 16,
23
+ "encoder_ffn_dim": 4096,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 12,
26
+ "eos_token_id": 2,
27
+ "forced_eos_token_id": 2,
28
+ "gradient_checkpointing": false,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1",
32
+ "2": "LABEL_2"
33
+ },
34
+ "init_std": 0.02,
35
+ "is_encoder_decoder": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_position_embeddings": 1024,
42
+ "model_type": "bart",
43
+ "no_repeat_ngram_size": 3,
44
+ "normalize_before": false,
45
+ "num_beams": 4,
46
+ "num_hidden_layers": 12,
47
+ "pad_token_id": 1,
48
+ "scale_embedding": false,
49
+ "task_specific_params": {
50
+ "summarization": {
51
+ "length_penalty": 1.0,
52
+ "max_length": 128,
53
+ "min_length": 12,
54
+ "num_beams": 4
55
+ },
56
+ "summarization_cnn": {
57
+ "length_penalty": 2.0,
58
+ "max_length": 142,
59
+ "min_length": 56,
60
+ "num_beams": 4
61
+ },
62
+ "summarization_xsum": {
63
+ "length_penalty": 1.0,
64
+ "max_length": 62,
65
+ "min_length": 11,
66
+ "num_beams": 6
67
+ }
68
+ },
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.42.2",
71
+ "use_cache": false,
72
+ "vocab_size": 50265
73
+ }
checkpoint-80/generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "forced_eos_token_id": 2,
7
+ "no_repeat_ngram_size": 3,
8
+ "num_beams": 4,
9
+ "pad_token_id": 1,
10
+ "transformers_version": "4.42.2",
11
+ "use_cache": false
12
+ }
checkpoint-80/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-80/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bf80df101437636a14ed8743c0b7e93589c6c18c812facfd2f234015da5a00c
3
+ size 1625426996
checkpoint-80/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd3580e61d911d0dc55164b360a56f3effb585495761d31c35f2548936437bb2
3
+ size 3250759951
checkpoint-80/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f4f2fdf65ef752c0f11481785f9726dae0823742d160b65e058f07e3dee7571
3
+ size 14244
checkpoint-80/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88885ef9dcfe43917b8c76523a0deed6f6a2f2f39be5eff945e7678882d3838f
3
+ size 1064
checkpoint-80/special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
checkpoint-80/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-80/tokenizer_config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "131": {
37
+ "content": ";",
38
+ "lstrip": false,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": false
43
+ },
44
+ "50264": {
45
+ "content": "<mask>",
46
+ "lstrip": true,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ }
52
+ },
53
+ "bos_token": "<s>",
54
+ "clean_up_tokenization_spaces": true,
55
+ "cls_token": "<s>",
56
+ "eos_token": "</s>",
57
+ "errors": "replace",
58
+ "mask_token": "<mask>",
59
+ "max_length": 192,
60
+ "model_max_length": 1024,
61
+ "pad_token": "<pad>",
62
+ "sep_token": "</s>",
63
+ "stride": 0,
64
+ "tokenizer_class": "BartTokenizer",
65
+ "trim_offsets": true,
66
+ "truncation_side": "right",
67
+ "truncation_strategy": "longest_first",
68
+ "unk_token": "<unk>"
69
+ }
checkpoint-80/trainer_state.json ADDED
@@ -0,0 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.821385145187378,
3
+ "best_model_checkpoint": "autotrain-egbhl-hdsiz/checkpoint-80",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 80,
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.05,
13
+ "grad_norm": Infinity,
14
+ "learning_rate": 0.0,
15
+ "loss": 4.5433,
16
+ "step": 2
17
+ },
18
+ {
19
+ "epoch": 0.1,
20
+ "grad_norm": 26.819583892822266,
21
+ "learning_rate": 4.166666666666667e-06,
22
+ "loss": 2.9431,
23
+ "step": 4
24
+ },
25
+ {
26
+ "epoch": 0.15,
27
+ "grad_norm": 24.515037536621094,
28
+ "learning_rate": 1.25e-05,
29
+ "loss": 3.5482,
30
+ "step": 6
31
+ },
32
+ {
33
+ "epoch": 0.2,
34
+ "grad_norm": 12.873324394226074,
35
+ "learning_rate": 2.0833333333333336e-05,
36
+ "loss": 2.4086,
37
+ "step": 8
38
+ },
39
+ {
40
+ "epoch": 0.25,
41
+ "grad_norm": 15.799155235290527,
42
+ "learning_rate": 2.916666666666667e-05,
43
+ "loss": 2.8477,
44
+ "step": 10
45
+ },
46
+ {
47
+ "epoch": 0.3,
48
+ "grad_norm": 23.742237091064453,
49
+ "learning_rate": 3.7500000000000003e-05,
50
+ "loss": 2.297,
51
+ "step": 12
52
+ },
53
+ {
54
+ "epoch": 0.35,
55
+ "grad_norm": 14.426471710205078,
56
+ "learning_rate": 4.5833333333333334e-05,
57
+ "loss": 2.1671,
58
+ "step": 14
59
+ },
60
+ {
61
+ "epoch": 0.4,
62
+ "grad_norm": 14.933609008789062,
63
+ "learning_rate": 4.9537037037037035e-05,
64
+ "loss": 1.8833,
65
+ "step": 16
66
+ },
67
+ {
68
+ "epoch": 0.45,
69
+ "grad_norm": 19.533145904541016,
70
+ "learning_rate": 4.8611111111111115e-05,
71
+ "loss": 2.1878,
72
+ "step": 18
73
+ },
74
+ {
75
+ "epoch": 0.5,
76
+ "grad_norm": 35.50374984741211,
77
+ "learning_rate": 4.768518518518519e-05,
78
+ "loss": 1.8188,
79
+ "step": 20
80
+ },
81
+ {
82
+ "epoch": 0.55,
83
+ "grad_norm": 17.651580810546875,
84
+ "learning_rate": 4.675925925925926e-05,
85
+ "loss": 2.0148,
86
+ "step": 22
87
+ },
88
+ {
89
+ "epoch": 0.6,
90
+ "grad_norm": 14.465134620666504,
91
+ "learning_rate": 4.62962962962963e-05,
92
+ "loss": 2.0613,
93
+ "step": 24
94
+ },
95
+ {
96
+ "epoch": 0.65,
97
+ "grad_norm": 13.421053886413574,
98
+ "learning_rate": 4.5370370370370374e-05,
99
+ "loss": 2.5974,
100
+ "step": 26
101
+ },
102
+ {
103
+ "epoch": 0.7,
104
+ "grad_norm": 17.738975524902344,
105
+ "learning_rate": 4.4444444444444447e-05,
106
+ "loss": 2.1862,
107
+ "step": 28
108
+ },
109
+ {
110
+ "epoch": 0.75,
111
+ "grad_norm": 10.630866050720215,
112
+ "learning_rate": 4.351851851851852e-05,
113
+ "loss": 1.9854,
114
+ "step": 30
115
+ },
116
+ {
117
+ "epoch": 0.8,
118
+ "grad_norm": 13.5612211227417,
119
+ "learning_rate": 4.259259259259259e-05,
120
+ "loss": 2.3207,
121
+ "step": 32
122
+ },
123
+ {
124
+ "epoch": 0.85,
125
+ "grad_norm": 12.230231285095215,
126
+ "learning_rate": 4.166666666666667e-05,
127
+ "loss": 2.1946,
128
+ "step": 34
129
+ },
130
+ {
131
+ "epoch": 0.9,
132
+ "grad_norm": 10.226851463317871,
133
+ "learning_rate": 4.074074074074074e-05,
134
+ "loss": 2.0726,
135
+ "step": 36
136
+ },
137
+ {
138
+ "epoch": 0.95,
139
+ "grad_norm": 17.564428329467773,
140
+ "learning_rate": 3.981481481481482e-05,
141
+ "loss": 1.8402,
142
+ "step": 38
143
+ },
144
+ {
145
+ "epoch": 1.0,
146
+ "grad_norm": 16.211181640625,
147
+ "learning_rate": 3.888888888888889e-05,
148
+ "loss": 1.7316,
149
+ "step": 40
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_gen_len": 19.05,
154
+ "eval_loss": 1.8881380558013916,
155
+ "eval_rouge1": 55.9005,
156
+ "eval_rouge2": 39.684,
157
+ "eval_rougeL": 53.7239,
158
+ "eval_rougeLsum": 53.5879,
159
+ "eval_runtime": 2.3238,
160
+ "eval_samples_per_second": 8.606,
161
+ "eval_steps_per_second": 2.152,
162
+ "step": 40
163
+ },
164
+ {
165
+ "epoch": 1.05,
166
+ "grad_norm": 11.123723030090332,
167
+ "learning_rate": 3.7962962962962964e-05,
168
+ "loss": 1.8779,
169
+ "step": 42
170
+ },
171
+ {
172
+ "epoch": 1.1,
173
+ "grad_norm": 17.29766845703125,
174
+ "learning_rate": 3.7037037037037037e-05,
175
+ "loss": 1.2122,
176
+ "step": 44
177
+ },
178
+ {
179
+ "epoch": 1.15,
180
+ "grad_norm": 11.228723526000977,
181
+ "learning_rate": 3.611111111111111e-05,
182
+ "loss": 1.1288,
183
+ "step": 46
184
+ },
185
+ {
186
+ "epoch": 1.2,
187
+ "grad_norm": 16.350183486938477,
188
+ "learning_rate": 3.518518518518519e-05,
189
+ "loss": 1.6717,
190
+ "step": 48
191
+ },
192
+ {
193
+ "epoch": 1.25,
194
+ "grad_norm": 73.40056610107422,
195
+ "learning_rate": 3.425925925925926e-05,
196
+ "loss": 1.6587,
197
+ "step": 50
198
+ },
199
+ {
200
+ "epoch": 1.3,
201
+ "grad_norm": 23.507516860961914,
202
+ "learning_rate": 3.3333333333333335e-05,
203
+ "loss": 1.1566,
204
+ "step": 52
205
+ },
206
+ {
207
+ "epoch": 1.35,
208
+ "grad_norm": 13.975730895996094,
209
+ "learning_rate": 3.240740740740741e-05,
210
+ "loss": 1.1459,
211
+ "step": 54
212
+ },
213
+ {
214
+ "epoch": 1.4,
215
+ "grad_norm": 12.104181289672852,
216
+ "learning_rate": 3.148148148148148e-05,
217
+ "loss": 1.1564,
218
+ "step": 56
219
+ },
220
+ {
221
+ "epoch": 1.45,
222
+ "grad_norm": 9.906718254089355,
223
+ "learning_rate": 3.055555555555556e-05,
224
+ "loss": 1.564,
225
+ "step": 58
226
+ },
227
+ {
228
+ "epoch": 1.5,
229
+ "grad_norm": 11.82476806640625,
230
+ "learning_rate": 2.962962962962963e-05,
231
+ "loss": 1.8214,
232
+ "step": 60
233
+ },
234
+ {
235
+ "epoch": 1.55,
236
+ "grad_norm": 11.349201202392578,
237
+ "learning_rate": 2.8703703703703706e-05,
238
+ "loss": 1.8952,
239
+ "step": 62
240
+ },
241
+ {
242
+ "epoch": 1.6,
243
+ "grad_norm": 7.890576362609863,
244
+ "learning_rate": 2.777777777777778e-05,
245
+ "loss": 1.0706,
246
+ "step": 64
247
+ },
248
+ {
249
+ "epoch": 1.65,
250
+ "grad_norm": 19.47081184387207,
251
+ "learning_rate": 2.6851851851851855e-05,
252
+ "loss": 1.5111,
253
+ "step": 66
254
+ },
255
+ {
256
+ "epoch": 1.7,
257
+ "grad_norm": 10.134727478027344,
258
+ "learning_rate": 2.5925925925925925e-05,
259
+ "loss": 1.4847,
260
+ "step": 68
261
+ },
262
+ {
263
+ "epoch": 1.75,
264
+ "grad_norm": 10.425029754638672,
265
+ "learning_rate": 2.5e-05,
266
+ "loss": 1.0191,
267
+ "step": 70
268
+ },
269
+ {
270
+ "epoch": 1.8,
271
+ "grad_norm": 10.284099578857422,
272
+ "learning_rate": 2.4074074074074074e-05,
273
+ "loss": 1.8213,
274
+ "step": 72
275
+ },
276
+ {
277
+ "epoch": 1.85,
278
+ "grad_norm": 13.63291072845459,
279
+ "learning_rate": 2.314814814814815e-05,
280
+ "loss": 1.0306,
281
+ "step": 74
282
+ },
283
+ {
284
+ "epoch": 1.9,
285
+ "grad_norm": 12.470438003540039,
286
+ "learning_rate": 2.2222222222222223e-05,
287
+ "loss": 1.7619,
288
+ "step": 76
289
+ },
290
+ {
291
+ "epoch": 1.95,
292
+ "grad_norm": 17.98394012451172,
293
+ "learning_rate": 2.1296296296296296e-05,
294
+ "loss": 1.2194,
295
+ "step": 78
296
+ },
297
+ {
298
+ "epoch": 2.0,
299
+ "grad_norm": 9.503134727478027,
300
+ "learning_rate": 2.037037037037037e-05,
301
+ "loss": 1.1788,
302
+ "step": 80
303
+ },
304
+ {
305
+ "epoch": 2.0,
306
+ "eval_gen_len": 19.15,
307
+ "eval_loss": 1.821385145187378,
308
+ "eval_rouge1": 55.4476,
309
+ "eval_rouge2": 40.4173,
310
+ "eval_rougeL": 53.9637,
311
+ "eval_rougeLsum": 53.9177,
312
+ "eval_runtime": 2.3273,
313
+ "eval_samples_per_second": 8.594,
314
+ "eval_steps_per_second": 2.148,
315
+ "step": 80
316
+ }
317
+ ],
318
+ "logging_steps": 2,
319
+ "max_steps": 120,
320
+ "num_input_tokens_seen": 0,
321
+ "num_train_epochs": 3,
322
+ "save_steps": 500,
323
+ "stateful_callbacks": {
324
+ "EarlyStoppingCallback": {
325
+ "args": {
326
+ "early_stopping_patience": 5,
327
+ "early_stopping_threshold": 0.01
328
+ },
329
+ "attributes": {
330
+ "early_stopping_patience_counter": 0
331
+ }
332
+ },
333
+ "TrainerControl": {
334
+ "args": {
335
+ "should_epoch_stop": false,
336
+ "should_evaluate": false,
337
+ "should_log": false,
338
+ "should_save": true,
339
+ "should_training_stop": false
340
+ },
341
+ "attributes": {}
342
+ }
343
+ },
344
+ "total_flos": 42923062050816.0,
345
+ "train_batch_size": 2,
346
+ "trial_name": null,
347
+ "trial_params": null
348
+ }
checkpoint-80/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78fe680473112e9c702a1dce6fd29281607f57537fbd7b6ef0b0ff2e56a28827
3
+ size 5304
checkpoint-80/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "transformer3/H2-keywordextractor",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 1024,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_ffn_dim": 4096,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 12,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 16,
23
+ "encoder_ffn_dim": 4096,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 12,
26
+ "eos_token_id": 2,
27
+ "forced_eos_token_id": 2,
28
+ "gradient_checkpointing": false,
29
+ "id2label": {
30
+ "0": "LABEL_0",
31
+ "1": "LABEL_1",
32
+ "2": "LABEL_2"
33
+ },
34
+ "init_std": 0.02,
35
+ "is_encoder_decoder": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2
40
+ },
41
+ "max_position_embeddings": 1024,
42
+ "model_type": "bart",
43
+ "no_repeat_ngram_size": 3,
44
+ "normalize_before": false,
45
+ "num_beams": 4,
46
+ "num_hidden_layers": 12,
47
+ "pad_token_id": 1,
48
+ "scale_embedding": false,
49
+ "task_specific_params": {
50
+ "summarization": {
51
+ "length_penalty": 1.0,
52
+ "max_length": 128,
53
+ "min_length": 12,
54
+ "num_beams": 4
55
+ },
56
+ "summarization_cnn": {
57
+ "length_penalty": 2.0,
58
+ "max_length": 142,
59
+ "min_length": 56,
60
+ "num_beams": 4
61
+ },
62
+ "summarization_xsum": {
63
+ "length_penalty": 1.0,
64
+ "max_length": 62,
65
+ "min_length": 11,
66
+ "num_beams": 6
67
+ }
68
+ },
69
+ "torch_dtype": "float32",
70
+ "transformers_version": "4.42.2",
71
+ "use_cache": true,
72
+ "vocab_size": 50265
73
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 0,
3
+ "decoder_start_token_id": 2,
4
+ "early_stopping": true,
5
+ "eos_token_id": 2,
6
+ "forced_eos_token_id": 2,
7
+ "no_repeat_ngram_size": 3,
8
+ "num_beams": 4,
9
+ "pad_token_id": 1,
10
+ "transformers_version": "4.42.2",
11
+ "use_cache": false
12
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bf80df101437636a14ed8743c0b7e93589c6c18c812facfd2f234015da5a00c
3
+ size 1625426996
runs/Jul10_07-58-38_r-bikashpatra-uspto-test-zjidms0j-ae21f-9t6yz/events.out.tfevents.1720598323.r-bikashpatra-uspto-test-zjidms0j-ae21f-9t6yz.67.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:90524b2e2cf2e71c3e022d1b072e712c46793b33bfc8ccde1a2eca1e5d60e989
3
- size 6085
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4dbfc6fb2bfea4991608aa3d0c2c87caaf29c4c6f5009ba327b3e61637aed70
3
+ size 20398
runs/Jul10_07-58-38_r-bikashpatra-uspto-test-zjidms0j-ae21f-9t6yz/events.out.tfevents.1720598446.r-bikashpatra-uspto-test-zjidms0j-ae21f-9t6yz.67.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9b63059f14309d66038697133ca5dbe03b725560281fcd437aa7f8a86f82164
3
+ size 603
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "131": {
37
+ "content": ";",
38
+ "lstrip": false,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": false
43
+ },
44
+ "50264": {
45
+ "content": "<mask>",
46
+ "lstrip": true,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ }
52
+ },
53
+ "bos_token": "<s>",
54
+ "clean_up_tokenization_spaces": true,
55
+ "cls_token": "<s>",
56
+ "eos_token": "</s>",
57
+ "errors": "replace",
58
+ "mask_token": "<mask>",
59
+ "max_length": 192,
60
+ "model_max_length": 1024,
61
+ "pad_token": "<pad>",
62
+ "sep_token": "</s>",
63
+ "stride": 0,
64
+ "tokenizer_class": "BartTokenizer",
65
+ "trim_offsets": true,
66
+ "truncation_side": "right",
67
+ "truncation_strategy": "longest_first",
68
+ "unk_token": "<unk>"
69
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78fe680473112e9c702a1dce6fd29281607f57537fbd7b6ef0b0ff2e56a28827
3
+ size 5304
training_params.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-egbhl-hdsiz/autotrain-data",
3
+ "model": "transformer3/H2-keywordextractor",
4
+ "username": "bikashpatra",
5
+ "seed": 42,
6
+ "train_split": "train",
7
+ "valid_split": "validation",
8
+ "project_name": "autotrain-egbhl-hdsiz",
9
+ "push_to_hub": true,
10
+ "text_column": "autotrain_text",
11
+ "target_column": "autotrain_label",
12
+ "lr": 5e-05,
13
+ "epochs": 3,
14
+ "max_seq_length": 128,
15
+ "max_target_length": 128,
16
+ "batch_size": 2,
17
+ "warmup_ratio": 0.1,
18
+ "gradient_accumulation": 1,
19
+ "optimizer": "adamw_torch",
20
+ "scheduler": "linear",
21
+ "weight_decay": 0.0,
22
+ "max_grad_norm": 1.0,
23
+ "logging_steps": -1,
24
+ "eval_strategy": "epoch",
25
+ "auto_find_batch_size": false,
26
+ "mixed_precision": "fp16",
27
+ "save_total_limit": 1,
28
+ "peft": false,
29
+ "quantization": "int4",
30
+ "lora_r": 16,
31
+ "lora_alpha": 32,
32
+ "lora_dropout": 0.05,
33
+ "target_modules": "all-linear",
34
+ "log": "tensorboard",
35
+ "early_stopping_patience": 5,
36
+ "early_stopping_threshold": 0.01
37
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff