hyesunyun commited on
Commit
1966a75
1 Parent(s): 04633e4

First version (word index representation)

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<abs>": 50267, "<edit_pad>": 50268, "<EV>": 50265, "<t>": 50266}
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "allenai/led-large-16384",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "gelu",
6
+ "architectures": [
7
+ "LEDForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "attention_window": [
11
+ 1024,
12
+ 1024,
13
+ 1024,
14
+ 1024,
15
+ 1024,
16
+ 1024,
17
+ 1024,
18
+ 1024,
19
+ 1024,
20
+ 1024,
21
+ 1024,
22
+ 1024
23
+ ],
24
+ "bos_token_id": 0,
25
+ "classif_dropout": 0.0,
26
+ "classifier_dropout": 0.0,
27
+ "d_model": 1024,
28
+ "decoder_attention_heads": 16,
29
+ "decoder_ffn_dim": 4096,
30
+ "decoder_layerdrop": 0.0,
31
+ "decoder_layers": 12,
32
+ "decoder_start_token_id": 2,
33
+ "dropout": 0.1,
34
+ "early_stopping": true,
35
+ "encoder_attention_heads": 16,
36
+ "encoder_ffn_dim": 4096,
37
+ "encoder_layerdrop": 0.0,
38
+ "encoder_layers": 12,
39
+ "eos_token_id": 2,
40
+ "id2label": {
41
+ "0": "LABEL_0",
42
+ "1": "LABEL_1",
43
+ "2": "LABEL_2"
44
+ },
45
+ "init_std": 0.02,
46
+ "is_encoder_decoder": true,
47
+ "label2id": {
48
+ "LABEL_0": 0,
49
+ "LABEL_1": 1,
50
+ "LABEL_2": 2
51
+ },
52
+ "length_penalty": 2.0,
53
+ "max_decoder_position_embeddings": 1024,
54
+ "max_encoder_position_embeddings": 16384,
55
+ "max_length": 512,
56
+ "min_length": 16,
57
+ "model_type": "led",
58
+ "no_repeat_ngram_size": 3,
59
+ "num_beams": 4,
60
+ "num_hidden_layers": 12,
61
+ "output_past": false,
62
+ "pad_token_id": 1,
63
+ "prefix": " ",
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.16.2",
66
+ "use_cache": false,
67
+ "vocab_size": 50269
68
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f54fcbe2f7fe52ff2c0cb99f9cfddd06793de8e1860f6cb06786a8114418c8bd
3
+ size 3678812077
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a2add04ef7ade45672f29bb02c6edbec2062e73d84d603eeddfed3cf8f5fea2
3
+ size 1839658423
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83bbd0a3ee4574e48ff11ba9849926f3358ad32fc9d67a30e35ee7a07d0e1ae8
3
+ size 14657
runs/Apr11_08-32-09_d3089/1649680331.8728905/events.out.tfevents.1649680331.d3089.10784.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6221be6c8c954d39e81b913dcb518377ac27e7cca256f5b7d3da3ce7234b36b9
3
+ size 5266
runs/Apr11_08-32-09_d3089/events.out.tfevents.1649680331.d3089.10784.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26f2d7407966d10fa2486b70459855ca658492a88de7cac2d8360fae103e828e
3
+ size 11676
runs/Apr11_08-32-09_d3089/events.out.tfevents.1649773806.d3089.10784.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b71ea1ac3f772276a057a8ba39630a80a7cdd014bd6a6711e4ae02fdea1f4fc1
3
+ size 487
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c074160d85f03387fb2660f088ce1b178e8fd5e71ff272246664ecb9334576b
3
+ size 623
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}, "additional_special_tokens": ["<EV>", "<t>", "<abs>", "<edit_pad>"]}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "errors": "replace", "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "trim_offsets": true, "model_max_length": 16384, "additional_special_tokens": ["<EV>", "<t>", "<abs>", "<edit_pad>"], "special_tokens_map_file": "/home/yun.hy/.cache/huggingface/transformers/2ad921573d53ebf0c0450d63a211e61d8e328324e84830c365abff01f2d115f1.cb2244924ab24d706b02fd7fcedaea4531566537687a539ebb94db511fd122a0", "name_or_path": "allenai/led-large-16384", "tokenizer_class": "LEDTokenizer"}
trainer_state.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.8761073308512004,
5
+ "global_step": 5600,
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.12,
12
+ "learning_rate": 3.2000000000000003e-06,
13
+ "loss": 3.641,
14
+ "step": 240
15
+ },
16
+ {
17
+ "epoch": 0.25,
18
+ "learning_rate": 6.4000000000000006e-06,
19
+ "loss": 1.9178,
20
+ "step": 480
21
+ },
22
+ {
23
+ "epoch": 0.37,
24
+ "learning_rate": 9.600000000000001e-06,
25
+ "loss": 1.7533,
26
+ "step": 720
27
+ },
28
+ {
29
+ "epoch": 0.41,
30
+ "eval_loss": 1.9066718816757202,
31
+ "eval_rouge2_fmeasure": 0.1762,
32
+ "eval_rouge2_precision": 0.1696,
33
+ "eval_rouge2_recall": 0.2103,
34
+ "eval_runtime": 1724.6841,
35
+ "eval_samples_per_second": 0.252,
36
+ "eval_steps_per_second": 0.252,
37
+ "step": 800
38
+ },
39
+ {
40
+ "epoch": 0.49,
41
+ "learning_rate": 1.2800000000000001e-05,
42
+ "loss": 1.6872,
43
+ "step": 960
44
+ },
45
+ {
46
+ "epoch": 0.62,
47
+ "learning_rate": 1.6000000000000003e-05,
48
+ "loss": 1.6179,
49
+ "step": 1200
50
+ },
51
+ {
52
+ "epoch": 0.74,
53
+ "learning_rate": 1.9200000000000003e-05,
54
+ "loss": 1.6207,
55
+ "step": 1440
56
+ },
57
+ {
58
+ "epoch": 0.82,
59
+ "eval_loss": 1.9220949411392212,
60
+ "eval_rouge2_fmeasure": 0.1758,
61
+ "eval_rouge2_precision": 0.1798,
62
+ "eval_rouge2_recall": 0.1946,
63
+ "eval_runtime": 1498.1119,
64
+ "eval_samples_per_second": 0.29,
65
+ "eval_steps_per_second": 0.29,
66
+ "step": 1600
67
+ },
68
+ {
69
+ "epoch": 0.86,
70
+ "learning_rate": 1.917069799585349e-05,
71
+ "loss": 1.6178,
72
+ "step": 1680
73
+ },
74
+ {
75
+ "epoch": 0.99,
76
+ "learning_rate": 1.806496199032481e-05,
77
+ "loss": 1.5584,
78
+ "step": 1920
79
+ },
80
+ {
81
+ "epoch": 1.11,
82
+ "learning_rate": 1.695922598479613e-05,
83
+ "loss": 1.335,
84
+ "step": 2160
85
+ },
86
+ {
87
+ "epoch": 1.23,
88
+ "learning_rate": 1.585348997926745e-05,
89
+ "loss": 1.3719,
90
+ "step": 2400
91
+ },
92
+ {
93
+ "epoch": 1.23,
94
+ "eval_loss": 1.7529886960983276,
95
+ "eval_rouge2_fmeasure": 0.2175,
96
+ "eval_rouge2_precision": 0.2233,
97
+ "eval_rouge2_recall": 0.2326,
98
+ "eval_runtime": 1473.4895,
99
+ "eval_samples_per_second": 0.295,
100
+ "eval_steps_per_second": 0.295,
101
+ "step": 2400
102
+ },
103
+ {
104
+ "epoch": 1.36,
105
+ "learning_rate": 1.4747753973738772e-05,
106
+ "loss": 1.3211,
107
+ "step": 2640
108
+ },
109
+ {
110
+ "epoch": 1.48,
111
+ "learning_rate": 1.3642017968210091e-05,
112
+ "loss": 1.3276,
113
+ "step": 2880
114
+ },
115
+ {
116
+ "epoch": 1.6,
117
+ "learning_rate": 1.2536281962681412e-05,
118
+ "loss": 1.2702,
119
+ "step": 3120
120
+ },
121
+ {
122
+ "epoch": 1.64,
123
+ "eval_loss": 1.668319821357727,
124
+ "eval_rouge2_fmeasure": 0.2329,
125
+ "eval_rouge2_precision": 0.2476,
126
+ "eval_rouge2_recall": 0.2394,
127
+ "eval_runtime": 1458.0732,
128
+ "eval_samples_per_second": 0.298,
129
+ "eval_steps_per_second": 0.298,
130
+ "step": 3200
131
+ },
132
+ {
133
+ "epoch": 1.73,
134
+ "learning_rate": 1.143054595715273e-05,
135
+ "loss": 1.2236,
136
+ "step": 3360
137
+ },
138
+ {
139
+ "epoch": 1.85,
140
+ "learning_rate": 1.0324809951624052e-05,
141
+ "loss": 1.2533,
142
+ "step": 3600
143
+ },
144
+ {
145
+ "epoch": 1.97,
146
+ "learning_rate": 9.21907394609537e-06,
147
+ "loss": 1.2119,
148
+ "step": 3840
149
+ },
150
+ {
151
+ "epoch": 2.05,
152
+ "eval_loss": 1.6909013986587524,
153
+ "eval_rouge2_fmeasure": 0.2427,
154
+ "eval_rouge2_precision": 0.2552,
155
+ "eval_rouge2_recall": 0.2507,
156
+ "eval_runtime": 1496.8818,
157
+ "eval_samples_per_second": 0.29,
158
+ "eval_steps_per_second": 0.29,
159
+ "step": 4000
160
+ },
161
+ {
162
+ "epoch": 2.1,
163
+ "learning_rate": 8.11333794056669e-06,
164
+ "loss": 1.0075,
165
+ "step": 4080
166
+ },
167
+ {
168
+ "epoch": 2.22,
169
+ "learning_rate": 7.00760193503801e-06,
170
+ "loss": 0.9473,
171
+ "step": 4320
172
+ },
173
+ {
174
+ "epoch": 2.34,
175
+ "learning_rate": 5.901865929509331e-06,
176
+ "loss": 0.9265,
177
+ "step": 4560
178
+ },
179
+ {
180
+ "epoch": 2.47,
181
+ "learning_rate": 4.796129923980651e-06,
182
+ "loss": 0.9583,
183
+ "step": 4800
184
+ },
185
+ {
186
+ "epoch": 2.47,
187
+ "eval_loss": 1.6477222442626953,
188
+ "eval_rouge2_fmeasure": 0.253,
189
+ "eval_rouge2_precision": 0.2591,
190
+ "eval_rouge2_recall": 0.2655,
191
+ "eval_runtime": 1466.7648,
192
+ "eval_samples_per_second": 0.296,
193
+ "eval_steps_per_second": 0.296,
194
+ "step": 4800
195
+ },
196
+ {
197
+ "epoch": 2.59,
198
+ "learning_rate": 3.69039391845197e-06,
199
+ "loss": 0.8958,
200
+ "step": 5040
201
+ },
202
+ {
203
+ "epoch": 2.71,
204
+ "learning_rate": 2.5846579129232894e-06,
205
+ "loss": 0.9714,
206
+ "step": 5280
207
+ },
208
+ {
209
+ "epoch": 2.84,
210
+ "learning_rate": 1.4789219073946095e-06,
211
+ "loss": 0.8989,
212
+ "step": 5520
213
+ },
214
+ {
215
+ "epoch": 2.88,
216
+ "eval_loss": 1.6045594215393066,
217
+ "eval_rouge2_fmeasure": 0.264,
218
+ "eval_rouge2_precision": 0.2695,
219
+ "eval_rouge2_recall": 0.2781,
220
+ "eval_runtime": 1496.2313,
221
+ "eval_samples_per_second": 0.29,
222
+ "eval_steps_per_second": 0.29,
223
+ "step": 5600
224
+ }
225
+ ],
226
+ "max_steps": 5841,
227
+ "num_train_epochs": 3,
228
+ "total_flos": 5.3748207477325824e+17,
229
+ "trial_name": null,
230
+ "trial_params": null
231
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da289e1dbcc6aac22884fe9de9bbd05e3fec6203479e03d934e624f70f9c0146
3
+ size 3311
vocab.json ADDED
The diff for this file is too large to render. See raw diff