Upload model (#12)
Browse files- Upload model (6256440da33522bf90a153beeb21b27247a5149e)
- config.json +2 -4
- generation_config.json +38 -38
config.json
CHANGED
@@ -10,7 +10,6 @@
|
|
10 |
],
|
11 |
"attention_dropout": 0.1,
|
12 |
"bos_token_id": 2,
|
13 |
-
"control_symbol_vocoder_offset": 4,
|
14 |
"conv_depthwise_kernel_size": 31,
|
15 |
"decoder_attention_heads": 16,
|
16 |
"decoder_ffn_dim": 4096,
|
@@ -84,8 +83,6 @@
|
|
84 |
"t2u_eos_token_id": 2,
|
85 |
"t2u_max_new_tokens": 1024,
|
86 |
"t2u_max_position_embeddings": 2048,
|
87 |
-
"t2u_num_langs": 38,
|
88 |
-
"t2u_offset_tgt_lang": 10005,
|
89 |
"t2u_pad_token_id": 1,
|
90 |
"torch_dtype": "float32",
|
91 |
"transformers_version": "4.33.0.dev0",
|
@@ -112,5 +109,6 @@
|
|
112 |
"variance_predictor_kernel_size": 3,
|
113 |
"vocab_size": 256206,
|
114 |
"vocoder_num_langs": 36,
|
115 |
-
"vocoder_num_spkrs": 200
|
|
|
116 |
}
|
|
|
10 |
],
|
11 |
"attention_dropout": 0.1,
|
12 |
"bos_token_id": 2,
|
|
|
13 |
"conv_depthwise_kernel_size": 31,
|
14 |
"decoder_attention_heads": 16,
|
15 |
"decoder_ffn_dim": 4096,
|
|
|
83 |
"t2u_eos_token_id": 2,
|
84 |
"t2u_max_new_tokens": 1024,
|
85 |
"t2u_max_position_embeddings": 2048,
|
|
|
|
|
86 |
"t2u_pad_token_id": 1,
|
87 |
"torch_dtype": "float32",
|
88 |
"transformers_version": "4.33.0.dev0",
|
|
|
109 |
"variance_predictor_kernel_size": 3,
|
110 |
"vocab_size": 256206,
|
111 |
"vocoder_num_langs": 36,
|
112 |
+
"vocoder_num_spkrs": 200,
|
113 |
+
"vocoder_offset": 4
|
114 |
}
|
generation_config.json
CHANGED
@@ -5,44 +5,44 @@
|
|
5 |
"max_new_tokens": 256,
|
6 |
"pad_token_id": 0,
|
7 |
"t2u_lang_code_to_id": {
|
8 |
-
"arb":
|
9 |
-
"ben":
|
10 |
-
"cat":
|
11 |
-
"ces":
|
12 |
-
"cmn":
|
13 |
-
"cym":
|
14 |
-
"dan":
|
15 |
-
"deu":
|
16 |
-
"eng":
|
17 |
-
"est":
|
18 |
-
"fin":
|
19 |
-
"fra":
|
20 |
-
"hin":
|
21 |
-
"ind":
|
22 |
-
"ita":
|
23 |
-
"jpn":
|
24 |
-
"kan":
|
25 |
-
"kor":
|
26 |
-
"mlt":
|
27 |
-
"nld":
|
28 |
-
"pes":
|
29 |
-
"pol":
|
30 |
-
"por":
|
31 |
-
"ron":
|
32 |
-
"rus":
|
33 |
-
"slk":
|
34 |
-
"spa":
|
35 |
-
"swe":
|
36 |
-
"swh":
|
37 |
-
"tam":
|
38 |
-
"tel":
|
39 |
-
"tgl":
|
40 |
-
"tha":
|
41 |
-
"tur":
|
42 |
-
"ukr":
|
43 |
-
"urd":
|
44 |
-
"uzn":
|
45 |
-
"vie":
|
46 |
},
|
47 |
"text_decoder_lang_to_code_id": {
|
48 |
"ace": 256001,
|
|
|
5 |
"max_new_tokens": 256,
|
6 |
"pad_token_id": 0,
|
7 |
"t2u_lang_code_to_id": {
|
8 |
+
"arb": 10043,
|
9 |
+
"ben": 10044,
|
10 |
+
"cat": 10045,
|
11 |
+
"ces": 10046,
|
12 |
+
"cmn": 10047,
|
13 |
+
"cym": 10048,
|
14 |
+
"dan": 10049,
|
15 |
+
"deu": 10050,
|
16 |
+
"eng": 10051,
|
17 |
+
"est": 10052,
|
18 |
+
"fin": 10053,
|
19 |
+
"fra": 10054,
|
20 |
+
"hin": 10055,
|
21 |
+
"ind": 10056,
|
22 |
+
"ita": 10057,
|
23 |
+
"jpn": 10058,
|
24 |
+
"kan": 10059,
|
25 |
+
"kor": 10060,
|
26 |
+
"mlt": 10061,
|
27 |
+
"nld": 10062,
|
28 |
+
"pes": 10063,
|
29 |
+
"pol": 10064,
|
30 |
+
"por": 10065,
|
31 |
+
"ron": 10066,
|
32 |
+
"rus": 10067,
|
33 |
+
"slk": 10068,
|
34 |
+
"spa": 10069,
|
35 |
+
"swe": 10070,
|
36 |
+
"swh": 10071,
|
37 |
+
"tam": 10072,
|
38 |
+
"tel": 10073,
|
39 |
+
"tgl": 10074,
|
40 |
+
"tha": 10075,
|
41 |
+
"tur": 10076,
|
42 |
+
"ukr": 10077,
|
43 |
+
"urd": 10078,
|
44 |
+
"uzn": 10079,
|
45 |
+
"vie": 10080
|
46 |
},
|
47 |
"text_decoder_lang_to_code_id": {
|
48 |
"ace": 256001,
|