ylacombe HF staff commited on
Commit
ecda385
1 Parent(s): 246a1f1
Files changed (2) hide show
  1. config.json +2 -4
  2. 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": 0,
9
- "ben": 1,
10
- "cat": 2,
11
- "ces": 3,
12
- "cmn": 4,
13
- "cym": 5,
14
- "dan": 6,
15
- "deu": 7,
16
- "eng": 8,
17
- "est": 9,
18
- "fin": 10,
19
- "fra": 11,
20
- "hin": 12,
21
- "ind": 13,
22
- "ita": 14,
23
- "jpn": 15,
24
- "kan": 16,
25
- "kor": 17,
26
- "mlt": 18,
27
- "nld": 19,
28
- "pes": 20,
29
- "pol": 21,
30
- "por": 22,
31
- "ron": 23,
32
- "rus": 24,
33
- "slk": 25,
34
- "spa": 26,
35
- "swe": 27,
36
- "swh": 28,
37
- "tam": 29,
38
- "tel": 30,
39
- "tgl": 31,
40
- "tha": 32,
41
- "tur": 33,
42
- "ukr": 34,
43
- "urd": 35,
44
- "uzn": 36,
45
- "vie": 37
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,