Upload 13 files
Browse files- .gitattributes +1 -0
- config.json +61 -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 +3 -0
- tokenizer_config.json +13 -0
- trainer_state.json +190 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
target.spm filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Helsinki-NLP/opus-mt-en-hi",
|
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 |
+
61949
|
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": 61949,
|
25 |
+
"decoder_vocab_size": 61950,
|
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": 61950,
|
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": 61949,
|
54 |
+
"scale_embedding": true,
|
55 |
+
"share_encoder_decoder_embeddings": true,
|
56 |
+
"static_position_embeddings": true,
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.24.0",
|
59 |
+
"use_cache": true,
|
60 |
+
"vocab_size": 61950
|
61 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f6b3ec355f50337697ab927920eedcb478ff134219f943f4107ac5f76ddc943d
|
3 |
+
size 607003653
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:55e33215041d4b4fae52e27a9afbe40495370a210ce9bfa91b7656ee2a5b078f
|
3 |
+
size 303761861
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:68bc7b7539deda0a621f236ed4e7ad4b418c91cde712c083323e037732035321
|
3 |
+
size 14575
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d10cdf52c87d81771463a1e272f59ea12587aeaf920cf9a1a8618f074dfc448c
|
3 |
+
size 557
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ff7b38d8eaaae05bac91a9dbaa2d06cd6c4b0024e2c991833df8089cc29ce72
|
3 |
+
size 627
|
source.spm
ADDED
Binary file (812 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
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f5529d3a72f8c1d5f7e357f1b6fd30e3cf58f6e1ba0401db135a118ac92f4a76
|
3 |
+
size 1067935
|
tokenizer_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"eos_token": "</s>",
|
3 |
+
"model_max_length": 512,
|
4 |
+
"name_or_path": "Helsinki-NLP/opus-mt-en-hi",
|
5 |
+
"pad_token": "<pad>",
|
6 |
+
"separate_vocabs": false,
|
7 |
+
"source_lang": "eng",
|
8 |
+
"sp_model_kwargs": {},
|
9 |
+
"special_tokens_map_file": null,
|
10 |
+
"target_lang": "hin",
|
11 |
+
"tokenizer_class": "MarianTokenizer",
|
12 |
+
"unk_token": "<unk>"
|
13 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.0,
|
5 |
+
"global_step": 11644,
|
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.17,
|
12 |
+
"learning_rate": 1.9312950875987636e-05,
|
13 |
+
"loss": 0.5996,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.34,
|
18 |
+
"learning_rate": 1.8625901751975268e-05,
|
19 |
+
"loss": 0.6564,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.52,
|
24 |
+
"learning_rate": 1.7938852627962902e-05,
|
25 |
+
"loss": 0.6654,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.69,
|
30 |
+
"learning_rate": 1.7251803503950534e-05,
|
31 |
+
"loss": 0.6449,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.86,
|
36 |
+
"learning_rate": 1.6564754379938165e-05,
|
37 |
+
"loss": 0.6363,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 1.0,
|
42 |
+
"eval_bleu": 11.080936212068192,
|
43 |
+
"eval_loss": 0.7257852554321289,
|
44 |
+
"eval_runtime": 19.0528,
|
45 |
+
"eval_samples_per_second": 67.917,
|
46 |
+
"eval_steps_per_second": 4.251,
|
47 |
+
"step": 2911
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 1.03,
|
51 |
+
"learning_rate": 1.58777052559258e-05,
|
52 |
+
"loss": 0.6256,
|
53 |
+
"step": 3000
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 1.2,
|
57 |
+
"learning_rate": 1.5192030230161459e-05,
|
58 |
+
"loss": 0.513,
|
59 |
+
"step": 3500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 1.37,
|
63 |
+
"learning_rate": 1.4504981106149092e-05,
|
64 |
+
"loss": 0.5154,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 1.55,
|
69 |
+
"learning_rate": 1.3817931982136723e-05,
|
70 |
+
"loss": 0.5233,
|
71 |
+
"step": 4500
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 1.72,
|
75 |
+
"learning_rate": 1.3130882858124357e-05,
|
76 |
+
"loss": 0.5053,
|
77 |
+
"step": 5000
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 1.89,
|
81 |
+
"learning_rate": 1.244383373411199e-05,
|
82 |
+
"loss": 0.5053,
|
83 |
+
"step": 5500
|
84 |
+
},
|
85 |
+
{
|
86 |
+
"epoch": 2.0,
|
87 |
+
"eval_bleu": 11.760028545810009,
|
88 |
+
"eval_loss": 0.7024416923522949,
|
89 |
+
"eval_runtime": 19.0637,
|
90 |
+
"eval_samples_per_second": 67.878,
|
91 |
+
"eval_steps_per_second": 4.249,
|
92 |
+
"step": 5822
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 2.06,
|
96 |
+
"learning_rate": 1.1756784610099623e-05,
|
97 |
+
"loss": 0.4781,
|
98 |
+
"step": 6000
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 2.23,
|
102 |
+
"learning_rate": 1.1069735486087256e-05,
|
103 |
+
"loss": 0.4301,
|
104 |
+
"step": 6500
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 2.4,
|
108 |
+
"learning_rate": 1.038268636207489e-05,
|
109 |
+
"loss": 0.4228,
|
110 |
+
"step": 7000
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 2.58,
|
114 |
+
"learning_rate": 9.697011336310546e-06,
|
115 |
+
"loss": 0.4341,
|
116 |
+
"step": 7500
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.75,
|
120 |
+
"learning_rate": 9.009962212298181e-06,
|
121 |
+
"loss": 0.4195,
|
122 |
+
"step": 8000
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 2.92,
|
126 |
+
"learning_rate": 8.322913088285814e-06,
|
127 |
+
"loss": 0.4226,
|
128 |
+
"step": 8500
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 3.0,
|
132 |
+
"eval_bleu": 16.148157890934268,
|
133 |
+
"eval_loss": 0.6924545168876648,
|
134 |
+
"eval_runtime": 18.804,
|
135 |
+
"eval_samples_per_second": 68.815,
|
136 |
+
"eval_steps_per_second": 4.308,
|
137 |
+
"step": 8733
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 3.09,
|
141 |
+
"learning_rate": 7.63723806252147e-06,
|
142 |
+
"loss": 0.3849,
|
143 |
+
"step": 9000
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 3.26,
|
147 |
+
"learning_rate": 6.9501889385091035e-06,
|
148 |
+
"loss": 0.3686,
|
149 |
+
"step": 9500
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 3.44,
|
153 |
+
"learning_rate": 6.263139814496737e-06,
|
154 |
+
"loss": 0.3713,
|
155 |
+
"step": 10000
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"epoch": 3.61,
|
159 |
+
"learning_rate": 5.5760906904843705e-06,
|
160 |
+
"loss": 0.3681,
|
161 |
+
"step": 10500
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 3.78,
|
165 |
+
"learning_rate": 4.8890415664720035e-06,
|
166 |
+
"loss": 0.3708,
|
167 |
+
"step": 11000
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"epoch": 3.95,
|
171 |
+
"learning_rate": 4.2019924424596366e-06,
|
172 |
+
"loss": 0.3665,
|
173 |
+
"step": 11500
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"epoch": 4.0,
|
177 |
+
"eval_bleu": 15.230107565625683,
|
178 |
+
"eval_loss": 0.6867288947105408,
|
179 |
+
"eval_runtime": 18.8096,
|
180 |
+
"eval_samples_per_second": 68.795,
|
181 |
+
"eval_steps_per_second": 4.306,
|
182 |
+
"step": 11644
|
183 |
+
}
|
184 |
+
],
|
185 |
+
"max_steps": 14555,
|
186 |
+
"num_train_epochs": 5,
|
187 |
+
"total_flos": 284658341511168.0,
|
188 |
+
"trial_name": null,
|
189 |
+
"trial_params": null
|
190 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93cd5f8e821455be59ed7ced52d776333d7dbdea2bc890832d4497d4f3e56565
|
3 |
+
size 3579
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|