codymd commited on
Commit
c573b77
1 Parent(s): 6528eb3

Upload initial model

Browse files
config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "opus-mt-fi-fi-finetuned-fi-to-rg/checkpoint-9000",
3
+ "_num_labels": 3,
4
+ "activation_dropout": 0.0,
5
+ "activation_function": "swish",
6
+ "add_bias_logits": false,
7
+ "add_final_layer_norm": false,
8
+ "architectures": [
9
+ "MarianMTModel"
10
+ ],
11
+ "attention_dropout": 0.0,
12
+ "bad_words_ids": [
13
+ [
14
+ 33006
15
+ ]
16
+ ],
17
+ "bos_token_id": 0,
18
+ "classif_dropout": 0.0,
19
+ "classifier_dropout": 0.0,
20
+ "d_model": 512,
21
+ "decoder_attention_heads": 8,
22
+ "decoder_ffn_dim": 2048,
23
+ "decoder_layerdrop": 0.0,
24
+ "decoder_layers": 6,
25
+ "decoder_start_token_id": 33006,
26
+ "decoder_vocab_size": 33007,
27
+ "dropout": 0.1,
28
+ "encoder_attention_heads": 8,
29
+ "encoder_ffn_dim": 2048,
30
+ "encoder_layerdrop": 0.0,
31
+ "encoder_layers": 6,
32
+ "eos_token_id": 0,
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": 4,
52
+ "num_hidden_layers": 6,
53
+ "pad_token_id": 33006,
54
+ "scale_embedding": true,
55
+ "share_encoder_decoder_embeddings": true,
56
+ "static_position_embeddings": true,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.35.2",
59
+ "use_cache": true,
60
+ "vocab_size": 33007
61
+ }
generation_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bad_words_ids": [
3
+ [
4
+ 33006
5
+ ]
6
+ ],
7
+ "bos_token_id": 0,
8
+ "decoder_start_token_id": 33006,
9
+ "eos_token_id": 0,
10
+ "forced_eos_token_id": 0,
11
+ "max_length": 512,
12
+ "num_beams": 4,
13
+ "pad_token_id": 33006,
14
+ "renormalize_logits": true,
15
+ "transformers_version": "4.35.2"
16
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70407919dbf934382deb1d0c6c1421f28f67d71b87290138b35d2cbcc60d6c42
3
+ size 244313404
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:babcedfaa308860d141e6ec8d931022f8dbc63340ef0b36949d40e0223f3ea6e
3
+ size 488516218
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b651ed337497ccc790f6c9d45dd8062f79869dd55c27d7638335585f82290f7d
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98f172f931dd0e5c99920641ee2eafa5e22c4ab913eb4a09480a80cecf7634db
3
+ size 1064
source.spm ADDED
Binary file (830 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 (830 kB). View file
 
tokenizer_config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "33006": {
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
+ "separate_vocabs": false,
33
+ "source_lang": "fi",
34
+ "sp_model_kwargs": {},
35
+ "target_lang": "fi",
36
+ "tokenizer_class": "MarianTokenizer",
37
+ "unk_token": "<unk>"
38
+ }
trainer_state.json ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 9.911894273127754,
5
+ "eval_steps": 500,
6
+ "global_step": 9000,
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.55,
13
+ "learning_rate": 4.7246696035242295e-05,
14
+ "loss": 2.9573,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "eval_bleu": 17.2961,
20
+ "eval_gen_len": 53.6889,
21
+ "eval_loss": 2.6540744304656982,
22
+ "eval_runtime": 49.9025,
23
+ "eval_samples_per_second": 4.509,
24
+ "eval_steps_per_second": 0.581,
25
+ "step": 908
26
+ },
27
+ {
28
+ "epoch": 1.1,
29
+ "learning_rate": 4.449339207048459e-05,
30
+ "loss": 2.927,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 1.65,
35
+ "learning_rate": 4.1740088105726874e-05,
36
+ "loss": 2.7809,
37
+ "step": 1500
38
+ },
39
+ {
40
+ "epoch": 2.0,
41
+ "eval_bleu": 19.3527,
42
+ "eval_gen_len": 42.6667,
43
+ "eval_loss": 2.5852272510528564,
44
+ "eval_runtime": 37.69,
45
+ "eval_samples_per_second": 5.97,
46
+ "eval_steps_per_second": 0.769,
47
+ "step": 1816
48
+ },
49
+ {
50
+ "epoch": 2.2,
51
+ "learning_rate": 3.898678414096916e-05,
52
+ "loss": 2.7165,
53
+ "step": 2000
54
+ },
55
+ {
56
+ "epoch": 2.75,
57
+ "learning_rate": 3.623348017621145e-05,
58
+ "loss": 2.6527,
59
+ "step": 2500
60
+ },
61
+ {
62
+ "epoch": 3.0,
63
+ "eval_bleu": 18.53,
64
+ "eval_gen_len": 44.8044,
65
+ "eval_loss": 2.521505355834961,
66
+ "eval_runtime": 44.997,
67
+ "eval_samples_per_second": 5.0,
68
+ "eval_steps_per_second": 0.644,
69
+ "step": 2724
70
+ },
71
+ {
72
+ "epoch": 3.3,
73
+ "learning_rate": 3.3480176211453745e-05,
74
+ "loss": 2.5517,
75
+ "step": 3000
76
+ },
77
+ {
78
+ "epoch": 3.85,
79
+ "learning_rate": 3.072687224669604e-05,
80
+ "loss": 2.5069,
81
+ "step": 3500
82
+ },
83
+ {
84
+ "epoch": 4.0,
85
+ "eval_bleu": 21.0151,
86
+ "eval_gen_len": 39.6889,
87
+ "eval_loss": 2.480680227279663,
88
+ "eval_runtime": 35.165,
89
+ "eval_samples_per_second": 6.398,
90
+ "eval_steps_per_second": 0.825,
91
+ "step": 3632
92
+ },
93
+ {
94
+ "epoch": 4.41,
95
+ "learning_rate": 2.7973568281938327e-05,
96
+ "loss": 2.4257,
97
+ "step": 4000
98
+ },
99
+ {
100
+ "epoch": 4.96,
101
+ "learning_rate": 2.522026431718062e-05,
102
+ "loss": 2.3976,
103
+ "step": 4500
104
+ },
105
+ {
106
+ "epoch": 5.0,
107
+ "eval_bleu": 21.4466,
108
+ "eval_gen_len": 39.8667,
109
+ "eval_loss": 2.4499943256378174,
110
+ "eval_runtime": 31.2343,
111
+ "eval_samples_per_second": 7.204,
112
+ "eval_steps_per_second": 0.928,
113
+ "step": 4540
114
+ },
115
+ {
116
+ "epoch": 5.51,
117
+ "learning_rate": 2.246696035242291e-05,
118
+ "loss": 2.3175,
119
+ "step": 5000
120
+ },
121
+ {
122
+ "epoch": 6.0,
123
+ "eval_bleu": 20.5303,
124
+ "eval_gen_len": 42.0044,
125
+ "eval_loss": 2.4212148189544678,
126
+ "eval_runtime": 35.5561,
127
+ "eval_samples_per_second": 6.328,
128
+ "eval_steps_per_second": 0.816,
129
+ "step": 5448
130
+ },
131
+ {
132
+ "epoch": 6.06,
133
+ "learning_rate": 1.97136563876652e-05,
134
+ "loss": 2.3049,
135
+ "step": 5500
136
+ },
137
+ {
138
+ "epoch": 6.61,
139
+ "learning_rate": 1.696035242290749e-05,
140
+ "loss": 2.2268,
141
+ "step": 6000
142
+ },
143
+ {
144
+ "epoch": 7.0,
145
+ "eval_bleu": 20.9986,
146
+ "eval_gen_len": 42.8578,
147
+ "eval_loss": 2.4010252952575684,
148
+ "eval_runtime": 35.0954,
149
+ "eval_samples_per_second": 6.411,
150
+ "eval_steps_per_second": 0.826,
151
+ "step": 6356
152
+ },
153
+ {
154
+ "epoch": 7.16,
155
+ "learning_rate": 1.420704845814978e-05,
156
+ "loss": 2.2282,
157
+ "step": 6500
158
+ },
159
+ {
160
+ "epoch": 7.71,
161
+ "learning_rate": 1.1453744493392071e-05,
162
+ "loss": 2.1703,
163
+ "step": 7000
164
+ },
165
+ {
166
+ "epoch": 8.0,
167
+ "eval_bleu": 22.8201,
168
+ "eval_gen_len": 36.8267,
169
+ "eval_loss": 2.3867766857147217,
170
+ "eval_runtime": 23.8243,
171
+ "eval_samples_per_second": 9.444,
172
+ "eval_steps_per_second": 1.217,
173
+ "step": 7264
174
+ },
175
+ {
176
+ "epoch": 8.26,
177
+ "learning_rate": 8.700440528634362e-06,
178
+ "loss": 2.1589,
179
+ "step": 7500
180
+ },
181
+ {
182
+ "epoch": 8.81,
183
+ "learning_rate": 5.947136563876652e-06,
184
+ "loss": 2.1223,
185
+ "step": 8000
186
+ },
187
+ {
188
+ "epoch": 9.0,
189
+ "eval_bleu": 22.9591,
190
+ "eval_gen_len": 37.3422,
191
+ "eval_loss": 2.3790900707244873,
192
+ "eval_runtime": 28.3931,
193
+ "eval_samples_per_second": 7.924,
194
+ "eval_steps_per_second": 1.021,
195
+ "step": 8172
196
+ },
197
+ {
198
+ "epoch": 9.36,
199
+ "learning_rate": 3.193832599118943e-06,
200
+ "loss": 2.0995,
201
+ "step": 8500
202
+ },
203
+ {
204
+ "epoch": 9.91,
205
+ "learning_rate": 4.4052863436123357e-07,
206
+ "loss": 2.1029,
207
+ "step": 9000
208
+ }
209
+ ],
210
+ "logging_steps": 500,
211
+ "max_steps": 9080,
212
+ "num_train_epochs": 10,
213
+ "save_steps": 500,
214
+ "total_flos": 2122263810146304.0,
215
+ "trial_name": null,
216
+ "trial_params": null
217
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dac49814691ca1f48770eb6a35c6117165ddb6d2fb57f0f26e611d5cdd1837e5
3
+ size 4728
vocab.json ADDED
The diff for this file is too large to render. See raw diff