Xenova HF staff commited on
Commit
7ce7762
1 Parent(s): f96ad9f

Upload folder using huggingface_hub

Browse files
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<unk>": 45
3
+ }
config.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/mms-tts-spa",
3
+ "activation_dropout": 0.1,
4
+ "architectures": [
5
+ "VitsModel"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "depth_separable_channels": 2,
9
+ "depth_separable_num_layers": 3,
10
+ "duration_predictor_dropout": 0.5,
11
+ "duration_predictor_filter_channels": 256,
12
+ "duration_predictor_flow_bins": 10,
13
+ "duration_predictor_kernel_size": 3,
14
+ "duration_predictor_num_flows": 4,
15
+ "duration_predictor_tail_bound": 5.0,
16
+ "ffn_dim": 768,
17
+ "ffn_kernel_size": 3,
18
+ "flow_size": 192,
19
+ "hidden_act": "relu",
20
+ "hidden_dropout": 0.1,
21
+ "hidden_size": 192,
22
+ "initializer_range": 0.02,
23
+ "layer_norm_eps": 1e-05,
24
+ "layerdrop": 0.1,
25
+ "leaky_relu_slope": 0.1,
26
+ "model_type": "vits",
27
+ "noise_scale": 0.667,
28
+ "noise_scale_duration": 0.8,
29
+ "num_attention_heads": 2,
30
+ "num_hidden_layers": 6,
31
+ "num_speakers": 1,
32
+ "posterior_encoder_num_wavenet_layers": 16,
33
+ "prior_encoder_num_flows": 4,
34
+ "prior_encoder_num_wavenet_layers": 4,
35
+ "resblock_dilation_sizes": [
36
+ [
37
+ 1,
38
+ 3,
39
+ 5
40
+ ],
41
+ [
42
+ 1,
43
+ 3,
44
+ 5
45
+ ],
46
+ [
47
+ 1,
48
+ 3,
49
+ 5
50
+ ]
51
+ ],
52
+ "resblock_kernel_sizes": [
53
+ 3,
54
+ 7,
55
+ 11
56
+ ],
57
+ "sampling_rate": 16000,
58
+ "speaker_embedding_size": 0,
59
+ "speaking_rate": 1.0,
60
+ "spectrogram_bins": 513,
61
+ "transformers_version": "4.37.0.dev0",
62
+ "upsample_initial_channel": 512,
63
+ "upsample_kernel_sizes": [
64
+ 16,
65
+ 16,
66
+ 4,
67
+ 4
68
+ ],
69
+ "upsample_rates": [
70
+ 8,
71
+ 8,
72
+ 2,
73
+ 2
74
+ ],
75
+ "use_bias": true,
76
+ "use_stochastic_duration_prediction": true,
77
+ "vocab_size": 45,
78
+ "wavenet_dilation_rate": 1,
79
+ "wavenet_dropout": 0.0,
80
+ "wavenet_kernel_size": 5,
81
+ "window_size": 4
82
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3ad93ea03eadd8f49910836ab08df84260a9ee819032c688e8cccf01a33e8b0
3
+ size 114264182
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c794d7e4073f9e0515a2375a58d768ee19de16bbc3f805da86c4c01bd935aa8
3
+ size 38362987
quantize_config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "per_channel": true,
3
+ "reduce_range": true,
4
+ "per_model_config": {
5
+ "model": {
6
+ "op_types": [
7
+ "ReduceMean",
8
+ "Not",
9
+ "Where",
10
+ "ConvTranspose",
11
+ "Exp",
12
+ "Relu",
13
+ "Cast",
14
+ "Conv",
15
+ "Softmax",
16
+ "CumSum",
17
+ "Shape",
18
+ "Div",
19
+ "Erf",
20
+ "Split",
21
+ "Reshape",
22
+ "Greater",
23
+ "Sqrt",
24
+ "NonZero",
25
+ "LeakyRelu",
26
+ "Gather",
27
+ "ReduceSum",
28
+ "ScatterND",
29
+ "Mul",
30
+ "Neg",
31
+ "Sigmoid",
32
+ "Clip",
33
+ "Add",
34
+ "GatherElements",
35
+ "And",
36
+ "Tanh",
37
+ "Squeeze",
38
+ "GatherND",
39
+ "RandomNormalLike",
40
+ "ConstantOfShape",
41
+ "Slice",
42
+ "Pad",
43
+ "Softplus",
44
+ "Transpose",
45
+ "Equal",
46
+ "Less",
47
+ "Pow",
48
+ "Concat",
49
+ "MatMul",
50
+ "Range",
51
+ "Unsqueeze",
52
+ "Constant",
53
+ "Ceil",
54
+ "ReduceMax",
55
+ "Expand",
56
+ "Sub"
57
+ ],
58
+ "weight_type": "QUInt8"
59
+ }
60
+ }
61
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "pad_token": "7",
3
+ "unk_token": "<unk>"
4
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_blank": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "7",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "45": {
13
+ "content": "<unk>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "clean_up_tokenization_spaces": true,
22
+ "is_uroman": false,
23
+ "language": "spa",
24
+ "model_max_length": 1000000000000000019884624838656,
25
+ "normalize": true,
26
+ "pad_token": "7",
27
+ "phonemize": false,
28
+ "tokenizer_class": "VitsTokenizer",
29
+ "unk_token": "<unk>"
30
+ }
vocab.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ " ": 27,
3
+ "0": 5,
4
+ "1": 24,
5
+ "2": 36,
6
+ "3": 32,
7
+ "4": 12,
8
+ "5": 6,
9
+ "6": 44,
10
+ "7": 0,
11
+ "8": 8,
12
+ "9": 23,
13
+ "_": 22,
14
+ "a": 1,
15
+ "b": 31,
16
+ "c": 3,
17
+ "d": 29,
18
+ "e": 39,
19
+ "f": 25,
20
+ "g": 34,
21
+ "h": 19,
22
+ "i": 37,
23
+ "j": 33,
24
+ "k": 15,
25
+ "l": 35,
26
+ "m": 13,
27
+ "n": 20,
28
+ "o": 41,
29
+ "p": 9,
30
+ "q": 18,
31
+ "r": 43,
32
+ "s": 16,
33
+ "t": 26,
34
+ "u": 38,
35
+ "v": 2,
36
+ "x": 28,
37
+ "y": 10,
38
+ "z": 11,
39
+ "á": 17,
40
+ "é": 21,
41
+ "í": 30,
42
+ "ñ": 42,
43
+ "ó": 7,
44
+ "ú": 40,
45
+ "ü": 14,
46
+ "—": 4
47
+ }