Ethan Sim
commited on
Commit
•
6f14f61
1
Parent(s):
123f1f0
stage best lsp AoN adapt wce model
Browse files- config.json +46 -0
- generation_config.json +15 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- source.spm +0 -0
- special_tokens_map.json +5 -0
- target.spm +0 -0
- tokenizer_config.json +12 -0
- trainer_state.json +176 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-tc-big-en-fr",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "relu",
|
5 |
+
"architectures": [
|
6 |
+
"MarianMTModel"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bad_words_ids": [
|
10 |
+
[
|
11 |
+
53016
|
12 |
+
]
|
13 |
+
],
|
14 |
+
"bos_token_id": 0,
|
15 |
+
"classifier_dropout": 0.0,
|
16 |
+
"d_model": 1024,
|
17 |
+
"decoder_attention_heads": 16,
|
18 |
+
"decoder_ffn_dim": 4096,
|
19 |
+
"decoder_layerdrop": 0.0,
|
20 |
+
"decoder_layers": 6,
|
21 |
+
"decoder_start_token_id": 53016,
|
22 |
+
"decoder_vocab_size": 53017,
|
23 |
+
"dropout": 0.1,
|
24 |
+
"encoder_attention_heads": 16,
|
25 |
+
"encoder_ffn_dim": 4096,
|
26 |
+
"encoder_layerdrop": 0.0,
|
27 |
+
"encoder_layers": 6,
|
28 |
+
"eos_token_id": 43311,
|
29 |
+
"forced_eos_token_id": 43311,
|
30 |
+
"init_std": 0.02,
|
31 |
+
"is_encoder_decoder": true,
|
32 |
+
"max_length": 512,
|
33 |
+
"max_position_embeddings": 1024,
|
34 |
+
"model_type": "marian",
|
35 |
+
"normalize_embedding": false,
|
36 |
+
"num_beams": 4,
|
37 |
+
"num_hidden_layers": 6,
|
38 |
+
"pad_token_id": 53016,
|
39 |
+
"scale_embedding": true,
|
40 |
+
"share_encoder_decoder_embeddings": true,
|
41 |
+
"static_position_embeddings": true,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.28.0",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 53017
|
46 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bad_words_ids": [
|
3 |
+
[
|
4 |
+
53016
|
5 |
+
]
|
6 |
+
],
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"decoder_start_token_id": 53016,
|
9 |
+
"eos_token_id": 43311,
|
10 |
+
"forced_eos_token_id": 43311,
|
11 |
+
"max_length": 512,
|
12 |
+
"num_beams": 4,
|
13 |
+
"pad_token_id": 53016,
|
14 |
+
"transformers_version": "4.28.0"
|
15 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e2d9c5cf14b96e3eeb8390e57442b5e06ec29f8c446e4a5c974a0435a118c868
|
3 |
+
size 1845323269
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7401aa6b3021e5063f8103830657e5306761e37ab2a9d7683e796db7518c871
|
3 |
+
size 922885701
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a022812e883bcf03ab1da70f6ca505af5c5fc5c2b27d15777a6ef6325a73c762
|
3 |
+
size 14575
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:818decf194c74edc8bc9bdff7ab993c572544d39caebe4efcd82fba9a0bc0c2c
|
3 |
+
size 557
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3af67343aa0f8b4109961c1ed1ad806d5b136e6b0592737a57873f77d6c9558
|
3 |
+
size 627
|
source.spm
ADDED
Binary file (802 kB). View file
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"pad_token": "<pad>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
target.spm
ADDED
Binary file (820 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clean_up_tokenization_spaces": true,
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"model_max_length": 512,
|
5 |
+
"pad_token": "<pad>",
|
6 |
+
"separate_vocabs": false,
|
7 |
+
"source_lang": "en",
|
8 |
+
"sp_model_kwargs": {},
|
9 |
+
"target_lang": "fr",
|
10 |
+
"tokenizer_class": "MarianTokenizer",
|
11 |
+
"unk_token": "<unk>"
|
12 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 43.7339,
|
3 |
+
"best_model_checkpoint": "opus_big_lsp_adapt_wce_prop_0.8_weight_1.75/checkpoint-80000",
|
4 |
+
"epoch": 1.9716574245224892,
|
5 |
+
"global_step": 80000,
|
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.2,
|
12 |
+
"learning_rate": 1.9753635243376465e-05,
|
13 |
+
"loss": 0.1872,
|
14 |
+
"step": 8000
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.2,
|
18 |
+
"eval_bleu": 42.0446,
|
19 |
+
"eval_gen_len": 33.721,
|
20 |
+
"eval_loss": 0.09888985753059387,
|
21 |
+
"eval_runtime": 130.4471,
|
22 |
+
"eval_samples_per_second": 7.996,
|
23 |
+
"eval_steps_per_second": 0.506,
|
24 |
+
"step": 8000
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.39,
|
28 |
+
"learning_rate": 1.950723967960567e-05,
|
29 |
+
"loss": 0.1556,
|
30 |
+
"step": 16000
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.39,
|
34 |
+
"eval_bleu": 42.2512,
|
35 |
+
"eval_gen_len": 34.093,
|
36 |
+
"eval_loss": 0.09752173721790314,
|
37 |
+
"eval_runtime": 189.6683,
|
38 |
+
"eval_samples_per_second": 5.499,
|
39 |
+
"eval_steps_per_second": 0.348,
|
40 |
+
"step": 16000
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"epoch": 0.59,
|
44 |
+
"learning_rate": 1.9260874922982132e-05,
|
45 |
+
"loss": 0.1511,
|
46 |
+
"step": 24000
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.59,
|
50 |
+
"eval_bleu": 42.4039,
|
51 |
+
"eval_gen_len": 33.7776,
|
52 |
+
"eval_loss": 0.09804832935333252,
|
53 |
+
"eval_runtime": 125.3237,
|
54 |
+
"eval_samples_per_second": 8.322,
|
55 |
+
"eval_steps_per_second": 0.527,
|
56 |
+
"step": 24000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.79,
|
60 |
+
"learning_rate": 1.901447935921134e-05,
|
61 |
+
"loss": 0.1468,
|
62 |
+
"step": 32000
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.79,
|
66 |
+
"eval_bleu": 42.384,
|
67 |
+
"eval_gen_len": 34.0077,
|
68 |
+
"eval_loss": 0.09726251661777496,
|
69 |
+
"eval_runtime": 127.0486,
|
70 |
+
"eval_samples_per_second": 8.209,
|
71 |
+
"eval_steps_per_second": 0.519,
|
72 |
+
"step": 32000
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.99,
|
76 |
+
"learning_rate": 1.8768114602587803e-05,
|
77 |
+
"loss": 0.1453,
|
78 |
+
"step": 40000
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 0.99,
|
82 |
+
"eval_bleu": 42.5465,
|
83 |
+
"eval_gen_len": 34.2138,
|
84 |
+
"eval_loss": 0.09616752713918686,
|
85 |
+
"eval_runtime": 149.6762,
|
86 |
+
"eval_samples_per_second": 6.968,
|
87 |
+
"eval_steps_per_second": 0.441,
|
88 |
+
"step": 40000
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 1.18,
|
92 |
+
"learning_rate": 1.8521749845964266e-05,
|
93 |
+
"loss": 0.1292,
|
94 |
+
"step": 48000
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 1.18,
|
98 |
+
"eval_bleu": 42.7614,
|
99 |
+
"eval_gen_len": 33.6558,
|
100 |
+
"eval_loss": 0.09714562445878983,
|
101 |
+
"eval_runtime": 140.3139,
|
102 |
+
"eval_samples_per_second": 7.433,
|
103 |
+
"eval_steps_per_second": 0.47,
|
104 |
+
"step": 48000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.38,
|
108 |
+
"learning_rate": 1.827535428219347e-05,
|
109 |
+
"loss": 0.1296,
|
110 |
+
"step": 56000
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.38,
|
114 |
+
"eval_bleu": 42.2625,
|
115 |
+
"eval_gen_len": 34.7987,
|
116 |
+
"eval_loss": 0.09766771644353867,
|
117 |
+
"eval_runtime": 149.3991,
|
118 |
+
"eval_samples_per_second": 6.981,
|
119 |
+
"eval_steps_per_second": 0.442,
|
120 |
+
"step": 56000
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"epoch": 1.58,
|
124 |
+
"learning_rate": 1.8029020332717192e-05,
|
125 |
+
"loss": 0.1301,
|
126 |
+
"step": 64000
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"epoch": 1.58,
|
130 |
+
"eval_bleu": 42.8366,
|
131 |
+
"eval_gen_len": 34.4842,
|
132 |
+
"eval_loss": 0.0971095860004425,
|
133 |
+
"eval_runtime": 150.9733,
|
134 |
+
"eval_samples_per_second": 6.909,
|
135 |
+
"eval_steps_per_second": 0.437,
|
136 |
+
"step": 64000
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 1.77,
|
140 |
+
"learning_rate": 1.7782624768946397e-05,
|
141 |
+
"loss": 0.1295,
|
142 |
+
"step": 72000
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.77,
|
146 |
+
"eval_bleu": 42.763,
|
147 |
+
"eval_gen_len": 34.9012,
|
148 |
+
"eval_loss": 0.09676354378461838,
|
149 |
+
"eval_runtime": 156.8388,
|
150 |
+
"eval_samples_per_second": 6.65,
|
151 |
+
"eval_steps_per_second": 0.421,
|
152 |
+
"step": 72000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 1.97,
|
156 |
+
"learning_rate": 1.753626001232286e-05,
|
157 |
+
"loss": 0.1293,
|
158 |
+
"step": 80000
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 1.97,
|
162 |
+
"eval_bleu": 43.7339,
|
163 |
+
"eval_gen_len": 33.8734,
|
164 |
+
"eval_loss": 0.09614978730678558,
|
165 |
+
"eval_runtime": 162.1547,
|
166 |
+
"eval_samples_per_second": 6.432,
|
167 |
+
"eval_steps_per_second": 0.407,
|
168 |
+
"step": 80000
|
169 |
+
}
|
170 |
+
],
|
171 |
+
"max_steps": 649200,
|
172 |
+
"num_train_epochs": 16,
|
173 |
+
"total_flos": 2.5844916958632346e+17,
|
174 |
+
"trial_name": null,
|
175 |
+
"trial_params": null
|
176 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ddb2e653d6bb7b34bc42ef87da80ce3fb34338c6a84b6eb1646965d227110d5
|
3 |
+
size 3771
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|