Sag1012 commited on
Commit
e90bf04
1 Parent(s): 26e7114

Upload MarianMT_ver4

Browse files
MarianMT_ver4/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-en-vi",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "swish",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "MarianMTModel"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.0,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 512,
15
+ "decoder_attention_heads": 8,
16
+ "decoder_ffn_dim": 2048,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 53684,
20
+ "decoder_vocab_size": 53685,
21
+ "dropout": 0.1,
22
+ "encoder_attention_heads": 8,
23
+ "encoder_ffn_dim": 2048,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 0,
27
+ "extra_pos_embeddings": 53685,
28
+ "forced_eos_token_id": 0,
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_length": null,
42
+ "max_position_embeddings": 512,
43
+ "model_type": "marian",
44
+ "normalize_before": false,
45
+ "normalize_embedding": false,
46
+ "num_beams": null,
47
+ "num_hidden_layers": 6,
48
+ "pad_token_id": 53684,
49
+ "scale_embedding": true,
50
+ "share_encoder_decoder_embeddings": true,
51
+ "static_position_embeddings": true,
52
+ "torch_dtype": "float32",
53
+ "transformers_version": "4.46.3",
54
+ "use_cache": true,
55
+ "vocab_size": 53685
56
+ }
MarianMT_ver4/generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 53684
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 53684,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 53684,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.46.3"
16
+ }
MarianMT_ver4/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fefc77119b5af4878b82f01cefcfcf0ef53cfd06f2c7abf2be6546defb5650c
3
+ size 286744660
MarianMT_ver4/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:89731be33df99ddcb040fd5b0e243c273f04a7bcc06d7eab7d5990252174412a
3
+ size 573213242
MarianMT_ver4/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7970bc3f81e9490881ca3e588eda6b2630fed97c82c842ee6713cb16f2fdcbdb
3
+ size 14244
MarianMT_ver4/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e335b626b7cf621a6dc4f4ca13974d48f08202ed9f6674b31190583841efa98
3
+ size 1064
MarianMT_ver4/trainer_state.json ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.4858289957046509,
3
+ "best_model_checkpoint": "./results/checkpoint-6250",
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 12500,
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.16,
13
+ "grad_norm": 3.800455331802368,
14
+ "learning_rate": 4.92e-05,
15
+ "loss": 1.8865,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.32,
20
+ "grad_norm": 3.2938010692596436,
21
+ "learning_rate": 4.8400000000000004e-05,
22
+ "loss": 1.8249,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.48,
27
+ "grad_norm": 3.251399517059326,
28
+ "learning_rate": 4.76e-05,
29
+ "loss": 1.7717,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 0.64,
34
+ "grad_norm": 3.223798990249634,
35
+ "learning_rate": 4.6800000000000006e-05,
36
+ "loss": 1.7477,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 0.8,
41
+ "grad_norm": 3.1936862468719482,
42
+ "learning_rate": 4.600000000000001e-05,
43
+ "loss": 1.7458,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 0.96,
48
+ "grad_norm": 3.4300343990325928,
49
+ "learning_rate": 4.52e-05,
50
+ "loss": 1.7226,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 1.0,
55
+ "eval_loss": 1.5059889554977417,
56
+ "eval_runtime": 13.9307,
57
+ "eval_samples_per_second": 335.876,
58
+ "eval_steps_per_second": 10.552,
59
+ "step": 3125
60
+ },
61
+ {
62
+ "epoch": 1.12,
63
+ "grad_norm": 3.277369737625122,
64
+ "learning_rate": 4.44e-05,
65
+ "loss": 1.5592,
66
+ "step": 3500
67
+ },
68
+ {
69
+ "epoch": 1.28,
70
+ "grad_norm": 2.9364540576934814,
71
+ "learning_rate": 4.36e-05,
72
+ "loss": 1.5109,
73
+ "step": 4000
74
+ },
75
+ {
76
+ "epoch": 1.44,
77
+ "grad_norm": 2.9026784896850586,
78
+ "learning_rate": 4.2800000000000004e-05,
79
+ "loss": 1.5117,
80
+ "step": 4500
81
+ },
82
+ {
83
+ "epoch": 1.6,
84
+ "grad_norm": 3.0175607204437256,
85
+ "learning_rate": 4.2e-05,
86
+ "loss": 1.5143,
87
+ "step": 5000
88
+ },
89
+ {
90
+ "epoch": 1.76,
91
+ "grad_norm": 3.0337491035461426,
92
+ "learning_rate": 4.12e-05,
93
+ "loss": 1.5219,
94
+ "step": 5500
95
+ },
96
+ {
97
+ "epoch": 1.92,
98
+ "grad_norm": 2.8166635036468506,
99
+ "learning_rate": 4.0400000000000006e-05,
100
+ "loss": 1.5017,
101
+ "step": 6000
102
+ },
103
+ {
104
+ "epoch": 2.0,
105
+ "eval_loss": 1.4858289957046509,
106
+ "eval_runtime": 14.2343,
107
+ "eval_samples_per_second": 328.713,
108
+ "eval_steps_per_second": 10.327,
109
+ "step": 6250
110
+ },
111
+ {
112
+ "epoch": 2.08,
113
+ "grad_norm": 2.935457706451416,
114
+ "learning_rate": 3.960000000000001e-05,
115
+ "loss": 1.4048,
116
+ "step": 6500
117
+ },
118
+ {
119
+ "epoch": 2.24,
120
+ "grad_norm": 3.244539499282837,
121
+ "learning_rate": 3.88e-05,
122
+ "loss": 1.3372,
123
+ "step": 7000
124
+ },
125
+ {
126
+ "epoch": 2.4,
127
+ "grad_norm": 3.7380311489105225,
128
+ "learning_rate": 3.8e-05,
129
+ "loss": 1.3405,
130
+ "step": 7500
131
+ },
132
+ {
133
+ "epoch": 2.56,
134
+ "grad_norm": 3.5527069568634033,
135
+ "learning_rate": 3.72e-05,
136
+ "loss": 1.3517,
137
+ "step": 8000
138
+ },
139
+ {
140
+ "epoch": 2.7199999999999998,
141
+ "grad_norm": 2.839742422103882,
142
+ "learning_rate": 3.6400000000000004e-05,
143
+ "loss": 1.3515,
144
+ "step": 8500
145
+ },
146
+ {
147
+ "epoch": 2.88,
148
+ "grad_norm": 3.501607894897461,
149
+ "learning_rate": 3.56e-05,
150
+ "loss": 1.3555,
151
+ "step": 9000
152
+ },
153
+ {
154
+ "epoch": 3.0,
155
+ "eval_loss": 1.4895309209823608,
156
+ "eval_runtime": 13.9356,
157
+ "eval_samples_per_second": 335.759,
158
+ "eval_steps_per_second": 10.549,
159
+ "step": 9375
160
+ },
161
+ {
162
+ "epoch": 3.04,
163
+ "grad_norm": 2.6918106079101562,
164
+ "learning_rate": 3.48e-05,
165
+ "loss": 1.3244,
166
+ "step": 9500
167
+ },
168
+ {
169
+ "epoch": 3.2,
170
+ "grad_norm": 3.5866470336914062,
171
+ "learning_rate": 3.4000000000000007e-05,
172
+ "loss": 1.2057,
173
+ "step": 10000
174
+ },
175
+ {
176
+ "epoch": 3.36,
177
+ "grad_norm": 3.242699384689331,
178
+ "learning_rate": 3.32e-05,
179
+ "loss": 1.21,
180
+ "step": 10500
181
+ },
182
+ {
183
+ "epoch": 3.52,
184
+ "grad_norm": 2.8729286193847656,
185
+ "learning_rate": 3.24e-05,
186
+ "loss": 1.2239,
187
+ "step": 11000
188
+ },
189
+ {
190
+ "epoch": 3.68,
191
+ "grad_norm": 3.33542799949646,
192
+ "learning_rate": 3.16e-05,
193
+ "loss": 1.2178,
194
+ "step": 11500
195
+ },
196
+ {
197
+ "epoch": 3.84,
198
+ "grad_norm": 3.3703885078430176,
199
+ "learning_rate": 3.08e-05,
200
+ "loss": 1.2281,
201
+ "step": 12000
202
+ },
203
+ {
204
+ "epoch": 4.0,
205
+ "grad_norm": 3.5465049743652344,
206
+ "learning_rate": 3e-05,
207
+ "loss": 1.238,
208
+ "step": 12500
209
+ },
210
+ {
211
+ "epoch": 4.0,
212
+ "eval_loss": 1.4973833560943604,
213
+ "eval_runtime": 13.8641,
214
+ "eval_samples_per_second": 337.491,
215
+ "eval_steps_per_second": 10.603,
216
+ "step": 12500
217
+ }
218
+ ],
219
+ "logging_steps": 500,
220
+ "max_steps": 31250,
221
+ "num_input_tokens_seen": 0,
222
+ "num_train_epochs": 10,
223
+ "save_steps": 500,
224
+ "stateful_callbacks": {
225
+ "EarlyStoppingCallback": {
226
+ "args": {
227
+ "early_stopping_patience": 2,
228
+ "early_stopping_threshold": 0.0
229
+ },
230
+ "attributes": {
231
+ "early_stopping_patience_counter": 2
232
+ }
233
+ },
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": 6779672985600000.0,
246
+ "train_batch_size": 32,
247
+ "trial_name": null,
248
+ "trial_params": null
249
+ }
MarianMT_ver4/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c560ad2d03f1b7128a182181a6042117448b304f7c1f01512264b775d5199afa
3
+ size 5432