jcole333 commited on
Commit
042b3be
1 Parent(s): 913ebf6

Upload 13 files

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/remote/dev/llm/Helsinki-NLP/opus-mt-mul-en-word-fine-tune-en-to-pt-1k/checkpoint-3000",
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
+ "bad_words_ids": [
12
+ [
13
+ 64171
14
+ ]
15
+ ],
16
+ "bos_token_id": 0,
17
+ "classif_dropout": 0.0,
18
+ "classifier_dropout": 0.0,
19
+ "d_model": 512,
20
+ "decoder_attention_heads": 8,
21
+ "decoder_ffn_dim": 2048,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 6,
24
+ "decoder_start_token_id": 64171,
25
+ "decoder_vocab_size": 64172,
26
+ "dropout": 0.1,
27
+ "encoder_attention_heads": 8,
28
+ "encoder_ffn_dim": 2048,
29
+ "encoder_layerdrop": 0.0,
30
+ "encoder_layers": 6,
31
+ "eos_token_id": 0,
32
+ "extra_pos_embeddings": 64172,
33
+ "forced_eos_token_id": 0,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1",
37
+ "2": "LABEL_2"
38
+ },
39
+ "init_std": 0.02,
40
+ "is_encoder_decoder": true,
41
+ "label2id": {
42
+ "LABEL_0": 0,
43
+ "LABEL_1": 1,
44
+ "LABEL_2": 2
45
+ },
46
+ "max_length": 512,
47
+ "max_position_embeddings": 512,
48
+ "model_type": "marian",
49
+ "normalize_before": false,
50
+ "normalize_embedding": false,
51
+ "num_beams": 6,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 64171,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.40.2",
59
+ "use_cache": true,
60
+ "vocab_size": 64172
61
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 64171
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 64171,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 6,
13
+ "pad_token_id": 64171,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.40.2"
16
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16ed2e328c096ec3b1f47f79fef0466997e39effe33289490071f4b73b556219
3
+ size 308263984
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfa3fc6b0dd6023abcc258f854abeafa95c16a90982b8d810d5d987b586a4cbb
3
+ size 616168058
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a7935cbb9bea3460378dd8c4b97fc0d20141a7f1c1b714ff807c02613fca8d0
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3773a90387bd38a747c1064d5d58598d64de07296ece860fcc65d3bafb34ff4f
3
+ size 1064
source.spm ADDED
Binary file (707 kB). View file
 
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "eos_token": {
3
+ "content": "</s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "pad_token": {
10
+ "content": "<pad>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
target.spm ADDED
Binary file (791 kB). View file
 
tokenizer_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "</s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<unk>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "64171": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ }
27
+ },
28
+ "clean_up_tokenization_spaces": true,
29
+ "eos_token": "</s>",
30
+ "model_max_length": 512,
31
+ "pad_token": "<pad>",
32
+ "return_tensors": "pt",
33
+ "separate_vocabs": false,
34
+ "source_lang": "mul",
35
+ "sp_model_kwargs": {},
36
+ "target_lang": "eng",
37
+ "tokenizer_class": "MarianTokenizer",
38
+ "unk_token": "<unk>"
39
+ }
trainer_state.json ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 105.0,
5
+ "eval_steps": 500,
6
+ "global_step": 16485,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 3.1847133757961785,
13
+ "grad_norm": 1.833742380142212,
14
+ "learning_rate": 1.9872611464968155e-05,
15
+ "loss": 0.3724,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 6.369426751592357,
20
+ "grad_norm": 1.515284538269043,
21
+ "learning_rate": 1.9745222929936306e-05,
22
+ "loss": 0.0612,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 9.554140127388536,
27
+ "grad_norm": 1.5868924856185913,
28
+ "learning_rate": 1.961783439490446e-05,
29
+ "loss": 0.0493,
30
+ "step": 1500
31
+ },
32
+ {
33
+ "epoch": 12.738853503184714,
34
+ "grad_norm": 1.5748449563980103,
35
+ "learning_rate": 1.9490445859872614e-05,
36
+ "loss": 0.0446,
37
+ "step": 2000
38
+ },
39
+ {
40
+ "epoch": 15.923566878980893,
41
+ "grad_norm": 1.6215589046478271,
42
+ "learning_rate": 1.9363057324840767e-05,
43
+ "loss": 0.0405,
44
+ "step": 2500
45
+ },
46
+ {
47
+ "epoch": 19.10828025477707,
48
+ "grad_norm": 1.1221493482589722,
49
+ "learning_rate": 1.9235668789808918e-05,
50
+ "loss": 0.0366,
51
+ "step": 3000
52
+ },
53
+ {
54
+ "epoch": 22.29299363057325,
55
+ "grad_norm": 1.6376855373382568,
56
+ "learning_rate": 1.910828025477707e-05,
57
+ "loss": 0.0331,
58
+ "step": 3500
59
+ },
60
+ {
61
+ "epoch": 25.477707006369428,
62
+ "grad_norm": 1.000545859336853,
63
+ "learning_rate": 1.8980891719745225e-05,
64
+ "loss": 0.0293,
65
+ "step": 4000
66
+ },
67
+ {
68
+ "epoch": 28.662420382165607,
69
+ "grad_norm": 0.6820641756057739,
70
+ "learning_rate": 1.8853503184713376e-05,
71
+ "loss": 0.0256,
72
+ "step": 4500
73
+ },
74
+ {
75
+ "epoch": 31.847133757961785,
76
+ "grad_norm": 1.1707481145858765,
77
+ "learning_rate": 1.872611464968153e-05,
78
+ "loss": 0.0221,
79
+ "step": 5000
80
+ },
81
+ {
82
+ "epoch": 35.031847133757964,
83
+ "grad_norm": 1.4677773714065552,
84
+ "learning_rate": 1.8598726114649684e-05,
85
+ "loss": 0.0185,
86
+ "step": 5500
87
+ },
88
+ {
89
+ "epoch": 38.21656050955414,
90
+ "grad_norm": 1.6114100217819214,
91
+ "learning_rate": 1.8471337579617837e-05,
92
+ "loss": 0.0157,
93
+ "step": 6000
94
+ },
95
+ {
96
+ "epoch": 41.40127388535032,
97
+ "grad_norm": 1.0237997770309448,
98
+ "learning_rate": 1.8343949044585988e-05,
99
+ "loss": 0.013,
100
+ "step": 6500
101
+ },
102
+ {
103
+ "epoch": 44.5859872611465,
104
+ "grad_norm": 0.8055925965309143,
105
+ "learning_rate": 1.821656050955414e-05,
106
+ "loss": 0.0112,
107
+ "step": 7000
108
+ },
109
+ {
110
+ "epoch": 47.77070063694268,
111
+ "grad_norm": 0.8719159364700317,
112
+ "learning_rate": 1.8089171974522295e-05,
113
+ "loss": 0.0095,
114
+ "step": 7500
115
+ },
116
+ {
117
+ "epoch": 50.955414012738856,
118
+ "grad_norm": 1.6024932861328125,
119
+ "learning_rate": 1.796178343949045e-05,
120
+ "loss": 0.0083,
121
+ "step": 8000
122
+ },
123
+ {
124
+ "epoch": 54.140127388535035,
125
+ "grad_norm": 0.6275691986083984,
126
+ "learning_rate": 1.78343949044586e-05,
127
+ "loss": 0.0076,
128
+ "step": 8500
129
+ },
130
+ {
131
+ "epoch": 57.32484076433121,
132
+ "grad_norm": 0.7005597949028015,
133
+ "learning_rate": 1.7707006369426754e-05,
134
+ "loss": 0.0065,
135
+ "step": 9000
136
+ },
137
+ {
138
+ "epoch": 60.50955414012739,
139
+ "grad_norm": 0.30579155683517456,
140
+ "learning_rate": 1.7579617834394907e-05,
141
+ "loss": 0.0063,
142
+ "step": 9500
143
+ },
144
+ {
145
+ "epoch": 63.69426751592356,
146
+ "grad_norm": 0.4344225227832794,
147
+ "learning_rate": 1.7452229299363058e-05,
148
+ "loss": 0.0059,
149
+ "step": 10000
150
+ },
151
+ {
152
+ "epoch": 66.87898089171975,
153
+ "grad_norm": 1.7709016799926758,
154
+ "learning_rate": 1.732484076433121e-05,
155
+ "loss": 0.0053,
156
+ "step": 10500
157
+ },
158
+ {
159
+ "epoch": 70.06369426751593,
160
+ "grad_norm": 0.622224748134613,
161
+ "learning_rate": 1.7197452229299365e-05,
162
+ "loss": 0.005,
163
+ "step": 11000
164
+ },
165
+ {
166
+ "epoch": 73.2484076433121,
167
+ "grad_norm": 0.564902126789093,
168
+ "learning_rate": 1.707006369426752e-05,
169
+ "loss": 0.0049,
170
+ "step": 11500
171
+ },
172
+ {
173
+ "epoch": 76.43312101910828,
174
+ "grad_norm": 0.5126436352729797,
175
+ "learning_rate": 1.694267515923567e-05,
176
+ "loss": 0.0045,
177
+ "step": 12000
178
+ },
179
+ {
180
+ "epoch": 79.61783439490446,
181
+ "grad_norm": 1.7633012533187866,
182
+ "learning_rate": 1.6815286624203824e-05,
183
+ "loss": 0.0041,
184
+ "step": 12500
185
+ },
186
+ {
187
+ "epoch": 82.80254777070064,
188
+ "grad_norm": 0.7407333850860596,
189
+ "learning_rate": 1.6687898089171977e-05,
190
+ "loss": 0.004,
191
+ "step": 13000
192
+ },
193
+ {
194
+ "epoch": 85.98726114649682,
195
+ "grad_norm": 0.5011927485466003,
196
+ "learning_rate": 1.6560509554140128e-05,
197
+ "loss": 0.0043,
198
+ "step": 13500
199
+ },
200
+ {
201
+ "epoch": 89.171974522293,
202
+ "grad_norm": 0.5946338176727295,
203
+ "learning_rate": 1.643312101910828e-05,
204
+ "loss": 0.0039,
205
+ "step": 14000
206
+ },
207
+ {
208
+ "epoch": 92.35668789808918,
209
+ "grad_norm": 0.3282039761543274,
210
+ "learning_rate": 1.6305732484076436e-05,
211
+ "loss": 0.0035,
212
+ "step": 14500
213
+ },
214
+ {
215
+ "epoch": 95.54140127388536,
216
+ "grad_norm": 0.0594528391957283,
217
+ "learning_rate": 1.617834394904459e-05,
218
+ "loss": 0.0037,
219
+ "step": 15000
220
+ },
221
+ {
222
+ "epoch": 98.72611464968153,
223
+ "grad_norm": 0.032949354499578476,
224
+ "learning_rate": 1.605095541401274e-05,
225
+ "loss": 0.0034,
226
+ "step": 15500
227
+ },
228
+ {
229
+ "epoch": 101.91082802547771,
230
+ "grad_norm": 1.0133298635482788,
231
+ "learning_rate": 1.5923566878980894e-05,
232
+ "loss": 0.0035,
233
+ "step": 16000
234
+ }
235
+ ],
236
+ "logging_steps": 500,
237
+ "max_steps": 78500,
238
+ "num_input_tokens_seen": 0,
239
+ "num_train_epochs": 500,
240
+ "save_steps": 500,
241
+ "total_flos": 2594375342751744.0,
242
+ "train_batch_size": 32,
243
+ "trial_name": null,
244
+ "trial_params": null
245
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f66a168af0b8d4f85fcd5fd68d6ebbe38351e1d4f9788945f2a758af99c2097c
3
+ size 5368
vocab.json ADDED
The diff for this file is too large to render. See raw diff