Training Complete.
Browse files- config.json +64 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- source.spm +0 -0
- special_tokens_map.json +5 -0
- target.spm +0 -0
- tokenizer_config.json +14 -0
- trainer_state.json +154 -0
- training_args.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-en-zh",
|
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 |
+
65000
|
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": 65000,
|
25 |
+
"decoder_vocab_size": 65001,
|
26 |
+
"do_blenderbot_90_layernorm": false,
|
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 |
+
"extra_pos_embeddings": 0,
|
34 |
+
"force_bos_token_to_be_generated": false,
|
35 |
+
"forced_eos_token_id": 0,
|
36 |
+
"gradient_checkpointing": false,
|
37 |
+
"id2label": {
|
38 |
+
"0": "LABEL_0",
|
39 |
+
"1": "LABEL_1",
|
40 |
+
"2": "LABEL_2"
|
41 |
+
},
|
42 |
+
"init_std": 0.02,
|
43 |
+
"is_encoder_decoder": true,
|
44 |
+
"label2id": {
|
45 |
+
"LABEL_0": 0,
|
46 |
+
"LABEL_1": 1,
|
47 |
+
"LABEL_2": 2
|
48 |
+
},
|
49 |
+
"max_length": 512,
|
50 |
+
"max_position_embeddings": 512,
|
51 |
+
"model_type": "marian",
|
52 |
+
"normalize_before": false,
|
53 |
+
"normalize_embedding": false,
|
54 |
+
"num_beams": 4,
|
55 |
+
"num_hidden_layers": 6,
|
56 |
+
"pad_token_id": 65000,
|
57 |
+
"scale_embedding": true,
|
58 |
+
"share_encoder_decoder_embeddings": true,
|
59 |
+
"static_position_embeddings": true,
|
60 |
+
"torch_dtype": "float32",
|
61 |
+
"transformers_version": "4.24.0",
|
62 |
+
"use_cache": true,
|
63 |
+
"vocab_size": 65001
|
64 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3342868302ff33fc6fb3b44eee342f55ff5fe9fc9fb1aa368ff1821928418114
|
3 |
+
size 619500986
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:baadbc2307097d48582555d179d9ad0e07e7116c580e3f3b4b8a1d790ac688e7
|
3 |
+
size 310022978
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81e3bed1284e9e0f46581fe18cc7d8d206f28cb1d88d71c56fed7e0d7b815e34
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:47ba861fa57ead88162a370836024df8c5acb4616e84d2ab687ab69abd4c484f
|
3 |
+
size 1064
|
source.spm
ADDED
Binary file (806 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 (805 kB). View file
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"model_max_length": 512,
|
4 |
+
"name_or_path": "Helsinki-NLP/opus-mt-en-zh",
|
5 |
+
"pad_token": "<pad>",
|
6 |
+
"return_tensor": "pt",
|
7 |
+
"separate_vocabs": false,
|
8 |
+
"source_lang": "eng",
|
9 |
+
"sp_model_kwargs": {},
|
10 |
+
"special_tokens_map_file": null,
|
11 |
+
"target_lang": "zho",
|
12 |
+
"tokenizer_class": "MarianTokenizer",
|
13 |
+
"unk_token": "<unk>"
|
14 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"global_step": 11787,
|
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.13,
|
12 |
+
"learning_rate": 1.9151607703402055e-05,
|
13 |
+
"loss": 1.5519,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.25,
|
18 |
+
"learning_rate": 1.8303215406804106e-05,
|
19 |
+
"loss": 1.35,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.38,
|
24 |
+
"learning_rate": 1.745482311020616e-05,
|
25 |
+
"loss": 1.2666,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.51,
|
30 |
+
"learning_rate": 1.6606430813608214e-05,
|
31 |
+
"loss": 1.2182,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.64,
|
36 |
+
"learning_rate": 1.5758038517010267e-05,
|
37 |
+
"loss": 1.1894,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.76,
|
42 |
+
"learning_rate": 1.490964622041232e-05,
|
43 |
+
"loss": 1.2037,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.89,
|
48 |
+
"learning_rate": 1.4061253923814373e-05,
|
49 |
+
"loss": 1.1514,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 1.02,
|
54 |
+
"learning_rate": 1.3212861627216427e-05,
|
55 |
+
"loss": 1.113,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 1.15,
|
60 |
+
"learning_rate": 1.2364469330618477e-05,
|
61 |
+
"loss": 1.018,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 1.27,
|
66 |
+
"learning_rate": 1.1516077034020531e-05,
|
67 |
+
"loss": 1.0139,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.4,
|
72 |
+
"learning_rate": 1.0667684737422585e-05,
|
73 |
+
"loss": 1.0093,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.53,
|
78 |
+
"learning_rate": 9.819292440824639e-06,
|
79 |
+
"loss": 1.0084,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.65,
|
84 |
+
"learning_rate": 8.970900144226691e-06,
|
85 |
+
"loss": 1.0089,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.78,
|
90 |
+
"learning_rate": 8.122507847628745e-06,
|
91 |
+
"loss": 0.9934,
|
92 |
+
"step": 7000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.91,
|
96 |
+
"learning_rate": 7.274115551030797e-06,
|
97 |
+
"loss": 0.9786,
|
98 |
+
"step": 7500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 2.04,
|
102 |
+
"learning_rate": 6.425723254432851e-06,
|
103 |
+
"loss": 0.9493,
|
104 |
+
"step": 8000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 2.16,
|
108 |
+
"learning_rate": 5.577330957834903e-06,
|
109 |
+
"loss": 0.9069,
|
110 |
+
"step": 8500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.29,
|
114 |
+
"learning_rate": 4.728938661236957e-06,
|
115 |
+
"loss": 0.9056,
|
116 |
+
"step": 9000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.42,
|
120 |
+
"learning_rate": 3.88054636463901e-06,
|
121 |
+
"loss": 0.9129,
|
122 |
+
"step": 9500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.55,
|
126 |
+
"learning_rate": 3.0321540680410622e-06,
|
127 |
+
"loss": 0.929,
|
128 |
+
"step": 10000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 2.67,
|
132 |
+
"learning_rate": 2.1837617714431156e-06,
|
133 |
+
"loss": 0.9058,
|
134 |
+
"step": 10500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 2.8,
|
138 |
+
"learning_rate": 1.3353694748451684e-06,
|
139 |
+
"loss": 0.9086,
|
140 |
+
"step": 11000
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 2.93,
|
144 |
+
"learning_rate": 4.869771782472216e-07,
|
145 |
+
"loss": 0.9055,
|
146 |
+
"step": 11500
|
147 |
+
}
|
148 |
+
],
|
149 |
+
"max_steps": 11787,
|
150 |
+
"num_train_epochs": 3,
|
151 |
+
"total_flos": 4684090101792768.0,
|
152 |
+
"trial_name": null,
|
153 |
+
"trial_params": null
|
154 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9caf7bd8a753cafd017354b9cede467e6233e2cd52eb195969931b536145eecd
|
3 |
+
size 4024
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|