Andrew0488 commited on
Commit
557678b
·
verified ·
1 Parent(s): a6fd885

Upload 8 files

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "t5-base",
3
+ "architectures": [
4
+ "T5ForConditionalGeneration"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 3072,
8
+ "d_kv": 64,
9
+ "d_model": 768,
10
+ "decoder_start_token_id": 0,
11
+ "dense_act_fn": "relu",
12
+ "dropout_rate": 0.1,
13
+ "eos_token_id": 1,
14
+ "feed_forward_proj": "relu",
15
+ "initializer_factor": 1.0,
16
+ "is_encoder_decoder": true,
17
+ "is_gated_act": false,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "model_type": "t5",
20
+ "n_positions": 512,
21
+ "num_decoder_layers": 12,
22
+ "num_heads": 12,
23
+ "num_layers": 12,
24
+ "output_past": true,
25
+ "pad_token_id": 0,
26
+ "relative_attention_max_distance": 128,
27
+ "relative_attention_num_buckets": 32,
28
+ "task_specific_params": {
29
+ "summarization": {
30
+ "early_stopping": true,
31
+ "length_penalty": 2.0,
32
+ "max_length": 200,
33
+ "min_length": 30,
34
+ "no_repeat_ngram_size": 3,
35
+ "num_beams": 4,
36
+ "prefix": "summarize: "
37
+ },
38
+ "translation_en_to_de": {
39
+ "early_stopping": true,
40
+ "max_length": 300,
41
+ "num_beams": 4,
42
+ "prefix": "translate English to German: "
43
+ },
44
+ "translation_en_to_fr": {
45
+ "early_stopping": true,
46
+ "max_length": 300,
47
+ "num_beams": 4,
48
+ "prefix": "translate English to French: "
49
+ },
50
+ "translation_en_to_ro": {
51
+ "early_stopping": true,
52
+ "max_length": 300,
53
+ "num_beams": 4,
54
+ "prefix": "translate English to Romanian: "
55
+ }
56
+ },
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.40.2",
59
+ "use_cache": true,
60
+ "vocab_size": 32128
61
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "decoder_start_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.40.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7921333251326a769fea7517cf95d39b55426326c168aaf95506f9c75e2fd81d
3
+ size 891644712
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:858908d9e4b4f42462263f8bdae6a238bede372f1ea25b6124e850cf4be7a953
3
+ size 1783444794
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dc3ee4325da0f20e64010c8e1fb9c1567edc642dd9ab4a2d4367d1009e4383e
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac37c811f194891ce175dec78bce34803c0e2ad23c33a1de16b9e704c91c3201
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 10.0,
5
+ "eval_steps": 200,
6
+ "global_step": 280,
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.35714285714285715,
13
+ "grad_norm": 33.699462890625,
14
+ "learning_rate": 2.0000000000000003e-06,
15
+ "loss": 12.5831,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.7142857142857143,
20
+ "grad_norm": 32.89402770996094,
21
+ "learning_rate": 4.000000000000001e-06,
22
+ "loss": 12.2228,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 1.0714285714285714,
27
+ "grad_norm": 29.5042781829834,
28
+ "learning_rate": 6e-06,
29
+ "loss": 11.3684,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 1.4285714285714286,
34
+ "grad_norm": 29.208715438842773,
35
+ "learning_rate": 8.000000000000001e-06,
36
+ "loss": 9.8704,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 1.7857142857142856,
41
+ "grad_norm": 27.723134994506836,
42
+ "learning_rate": 1e-05,
43
+ "loss": 7.6666,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 2.142857142857143,
48
+ "grad_norm": 18.65027618408203,
49
+ "learning_rate": 1.2e-05,
50
+ "loss": 5.3314,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 2.5,
55
+ "grad_norm": 6.373291015625,
56
+ "learning_rate": 1.4000000000000001e-05,
57
+ "loss": 3.1671,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 2.857142857142857,
62
+ "grad_norm": 2.784041404724121,
63
+ "learning_rate": 1.6000000000000003e-05,
64
+ "loss": 2.0792,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 3.2142857142857144,
69
+ "grad_norm": 1.8078209161758423,
70
+ "learning_rate": 1.8e-05,
71
+ "loss": 1.4497,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 3.571428571428571,
76
+ "grad_norm": 1.2121152877807617,
77
+ "learning_rate": 2e-05,
78
+ "loss": 0.9399,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 3.928571428571429,
83
+ "grad_norm": 0.5274812579154968,
84
+ "learning_rate": 2.2000000000000003e-05,
85
+ "loss": 0.6974,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 4.285714285714286,
90
+ "grad_norm": 0.44586724042892456,
91
+ "learning_rate": 2.4e-05,
92
+ "loss": 0.5473,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 4.642857142857143,
97
+ "grad_norm": 0.3544086813926697,
98
+ "learning_rate": 2.6000000000000002e-05,
99
+ "loss": 0.5048,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 5.0,
104
+ "grad_norm": 0.2498295158147812,
105
+ "learning_rate": 2.8000000000000003e-05,
106
+ "loss": 0.4708,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 5.357142857142857,
111
+ "grad_norm": 0.31819191575050354,
112
+ "learning_rate": 3e-05,
113
+ "loss": 0.4269,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 5.714285714285714,
118
+ "grad_norm": 0.19436120986938477,
119
+ "learning_rate": 3.2000000000000005e-05,
120
+ "loss": 0.4093,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 6.071428571428571,
125
+ "grad_norm": 0.19919425249099731,
126
+ "learning_rate": 3.4000000000000007e-05,
127
+ "loss": 0.4568,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 6.428571428571429,
132
+ "grad_norm": 0.19824030995368958,
133
+ "learning_rate": 3.6e-05,
134
+ "loss": 0.3915,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 6.785714285714286,
139
+ "grad_norm": 0.19597011804580688,
140
+ "learning_rate": 3.8e-05,
141
+ "loss": 0.4281,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 7.142857142857143,
146
+ "grad_norm": 0.19348232448101044,
147
+ "learning_rate": 4e-05,
148
+ "loss": 0.3779,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 7.142857142857143,
153
+ "eval_gen_len": 234.1551,
154
+ "eval_loss": 0.38291501998901367,
155
+ "eval_rouge1": 0.9021,
156
+ "eval_rouge2": 0.8305,
157
+ "eval_rougeL": 0.8829,
158
+ "eval_runtime": 46.7129,
159
+ "eval_samples_per_second": 9.526,
160
+ "eval_steps_per_second": 0.15,
161
+ "step": 200
162
+ },
163
+ {
164
+ "epoch": 7.5,
165
+ "grad_norm": 0.14055049419403076,
166
+ "learning_rate": 4.2e-05,
167
+ "loss": 0.362,
168
+ "step": 210
169
+ },
170
+ {
171
+ "epoch": 7.857142857142857,
172
+ "grad_norm": 0.15631766617298126,
173
+ "learning_rate": 4.4000000000000006e-05,
174
+ "loss": 0.4151,
175
+ "step": 220
176
+ },
177
+ {
178
+ "epoch": 8.214285714285714,
179
+ "grad_norm": 0.15075279772281647,
180
+ "learning_rate": 4.600000000000001e-05,
181
+ "loss": 0.3821,
182
+ "step": 230
183
+ },
184
+ {
185
+ "epoch": 8.571428571428571,
186
+ "grad_norm": 0.1391923427581787,
187
+ "learning_rate": 4.8e-05,
188
+ "loss": 0.3422,
189
+ "step": 240
190
+ },
191
+ {
192
+ "epoch": 8.928571428571429,
193
+ "grad_norm": 0.15504033863544464,
194
+ "learning_rate": 5e-05,
195
+ "loss": 0.3775,
196
+ "step": 250
197
+ },
198
+ {
199
+ "epoch": 9.285714285714286,
200
+ "grad_norm": 0.14940936863422394,
201
+ "learning_rate": 5.2000000000000004e-05,
202
+ "loss": 0.3694,
203
+ "step": 260
204
+ },
205
+ {
206
+ "epoch": 9.642857142857142,
207
+ "grad_norm": 0.12456735968589783,
208
+ "learning_rate": 5.4000000000000005e-05,
209
+ "loss": 0.3817,
210
+ "step": 270
211
+ },
212
+ {
213
+ "epoch": 10.0,
214
+ "grad_norm": 0.16763611137866974,
215
+ "learning_rate": 5.6000000000000006e-05,
216
+ "loss": 0.3245,
217
+ "step": 280
218
+ }
219
+ ],
220
+ "logging_steps": 10,
221
+ "max_steps": 280,
222
+ "num_input_tokens_seen": 0,
223
+ "num_train_epochs": 10,
224
+ "save_steps": 500,
225
+ "total_flos": 1.08333608730624e+16,
226
+ "train_batch_size": 64,
227
+ "trial_name": null,
228
+ "trial_params": null
229
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af0ee68aa962f45615ffc2c3be583a0812d34cdd7304eaae049e955a85b68383
3
+ size 4920