Upload folder using huggingface_hub
Browse files- added_tokens.json +3 -0
- config.json +82 -0
- onnx/model.onnx +3 -0
- onnx/model_quantized.onnx +3 -0
- quantize_config.json +61 -0
- special_tokens_map.json +4 -0
- tokenizer_config.json +30 -0
- vocab.json +45 -0
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<unk>": 43
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/mms-tts-por",
|
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": 43,
|
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:fe819171c228aab12b74091ae7812e035e366fc70e0241683fe17c2638a94f4f
|
3 |
+
size 114262646
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d67dbbdcff6fba866895697e7b5a85eab31105247616b19151f371b363596849
|
3 |
+
size 38362603
|
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 |
+
"MatMul",
|
8 |
+
"Conv",
|
9 |
+
"Slice",
|
10 |
+
"Less",
|
11 |
+
"Expand",
|
12 |
+
"ScatterND",
|
13 |
+
"CumSum",
|
14 |
+
"GatherND",
|
15 |
+
"Tanh",
|
16 |
+
"Transpose",
|
17 |
+
"Gather",
|
18 |
+
"NonZero",
|
19 |
+
"Sub",
|
20 |
+
"Range",
|
21 |
+
"Cast",
|
22 |
+
"Softplus",
|
23 |
+
"Not",
|
24 |
+
"Equal",
|
25 |
+
"Pad",
|
26 |
+
"Squeeze",
|
27 |
+
"Mul",
|
28 |
+
"Unsqueeze",
|
29 |
+
"Reshape",
|
30 |
+
"Greater",
|
31 |
+
"Relu",
|
32 |
+
"Add",
|
33 |
+
"ReduceMax",
|
34 |
+
"Neg",
|
35 |
+
"Split",
|
36 |
+
"Softmax",
|
37 |
+
"Erf",
|
38 |
+
"Constant",
|
39 |
+
"Div",
|
40 |
+
"ConvTranspose",
|
41 |
+
"Shape",
|
42 |
+
"Sqrt",
|
43 |
+
"ReduceSum",
|
44 |
+
"Clip",
|
45 |
+
"ReduceMean",
|
46 |
+
"Ceil",
|
47 |
+
"LeakyRelu",
|
48 |
+
"Concat",
|
49 |
+
"RandomNormalLike",
|
50 |
+
"GatherElements",
|
51 |
+
"Exp",
|
52 |
+
"ConstantOfShape",
|
53 |
+
"Where",
|
54 |
+
"Pow",
|
55 |
+
"And",
|
56 |
+
"Sigmoid"
|
57 |
+
],
|
58 |
+
"weight_type": "QUInt8"
|
59 |
+
}
|
60 |
+
}
|
61 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pad_token": "à",
|
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": "à",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"43": {
|
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": "por",
|
24 |
+
"model_max_length": 1000000000000000019884624838656,
|
25 |
+
"normalize": true,
|
26 |
+
"pad_token": "à",
|
27 |
+
"phonemize": false,
|
28 |
+
"tokenizer_class": "VitsTokenizer",
|
29 |
+
"unk_token": "<unk>"
|
30 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
" ": 32,
|
3 |
+
"'": 11,
|
4 |
+
"-": 19,
|
5 |
+
"1": 2,
|
6 |
+
"2": 5,
|
7 |
+
"4": 16,
|
8 |
+
"_": 13,
|
9 |
+
"a": 38,
|
10 |
+
"b": 31,
|
11 |
+
"c": 22,
|
12 |
+
"d": 40,
|
13 |
+
"e": 27,
|
14 |
+
"f": 30,
|
15 |
+
"g": 20,
|
16 |
+
"h": 6,
|
17 |
+
"i": 29,
|
18 |
+
"j": 39,
|
19 |
+
"l": 4,
|
20 |
+
"m": 18,
|
21 |
+
"n": 35,
|
22 |
+
"o": 28,
|
23 |
+
"p": 8,
|
24 |
+
"q": 21,
|
25 |
+
"r": 33,
|
26 |
+
"s": 14,
|
27 |
+
"t": 26,
|
28 |
+
"u": 3,
|
29 |
+
"v": 17,
|
30 |
+
"x": 10,
|
31 |
+
"z": 23,
|
32 |
+
"à": 0,
|
33 |
+
"á": 42,
|
34 |
+
"â": 24,
|
35 |
+
"ã": 9,
|
36 |
+
"ç": 15,
|
37 |
+
"é": 7,
|
38 |
+
"ê": 12,
|
39 |
+
"í": 25,
|
40 |
+
"ó": 37,
|
41 |
+
"ô": 34,
|
42 |
+
"õ": 41,
|
43 |
+
"ú": 1,
|
44 |
+
"—": 36
|
45 |
+
}
|