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 +97 -0
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<unk>": 95
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/mms-tts-vie",
|
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": 95,
|
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:a1a2ae2279440a38b244cfbd4a7abe968d6f4ae0e4dfb1844f666c396cafa482
|
3 |
+
size 114302582
|
onnx/model_quantized.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a6bafa09857a76f798ea312f2b5bc45a29a42960e0920cf1cf7dd081c353db4
|
3 |
+
size 38372589
|
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 |
+
"Add",
|
9 |
+
"Pow",
|
10 |
+
"Less",
|
11 |
+
"Tanh",
|
12 |
+
"Squeeze",
|
13 |
+
"Mul",
|
14 |
+
"RandomNormalLike",
|
15 |
+
"Transpose",
|
16 |
+
"Equal",
|
17 |
+
"Relu",
|
18 |
+
"Cast",
|
19 |
+
"Split",
|
20 |
+
"Erf",
|
21 |
+
"Greater",
|
22 |
+
"Softplus",
|
23 |
+
"Not",
|
24 |
+
"Range",
|
25 |
+
"Ceil",
|
26 |
+
"Clip",
|
27 |
+
"ReduceMax",
|
28 |
+
"Sqrt",
|
29 |
+
"ConstantOfShape",
|
30 |
+
"And",
|
31 |
+
"ScatterND",
|
32 |
+
"ReduceMean",
|
33 |
+
"Softmax",
|
34 |
+
"ReduceSum",
|
35 |
+
"Conv",
|
36 |
+
"Shape",
|
37 |
+
"CumSum",
|
38 |
+
"Slice",
|
39 |
+
"Unsqueeze",
|
40 |
+
"Concat",
|
41 |
+
"Div",
|
42 |
+
"GatherND",
|
43 |
+
"Where",
|
44 |
+
"Gather",
|
45 |
+
"Neg",
|
46 |
+
"Exp",
|
47 |
+
"Reshape",
|
48 |
+
"LeakyRelu",
|
49 |
+
"Sigmoid",
|
50 |
+
"ConvTranspose",
|
51 |
+
"Expand",
|
52 |
+
"Sub",
|
53 |
+
"Pad",
|
54 |
+
"Constant",
|
55 |
+
"NonZero",
|
56 |
+
"GatherElements"
|
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 |
+
"95": {
|
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": "vie",
|
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,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
" ": 84,
|
3 |
+
"'": 44,
|
4 |
+
"-": 94,
|
5 |
+
"2": 52,
|
6 |
+
"_": 17,
|
7 |
+
"a": 29,
|
8 |
+
"b": 88,
|
9 |
+
"c": 13,
|
10 |
+
"d": 63,
|
11 |
+
"e": 54,
|
12 |
+
"g": 21,
|
13 |
+
"h": 85,
|
14 |
+
"i": 30,
|
15 |
+
"k": 79,
|
16 |
+
"l": 82,
|
17 |
+
"m": 68,
|
18 |
+
"n": 90,
|
19 |
+
"o": 31,
|
20 |
+
"p": 78,
|
21 |
+
"q": 47,
|
22 |
+
"r": 92,
|
23 |
+
"s": 2,
|
24 |
+
"t": 80,
|
25 |
+
"u": 8,
|
26 |
+
"v": 14,
|
27 |
+
"x": 1,
|
28 |
+
"y": 75,
|
29 |
+
"à": 35,
|
30 |
+
"á": 77,
|
31 |
+
"â": 12,
|
32 |
+
"ã": 51,
|
33 |
+
"è": 3,
|
34 |
+
"é": 58,
|
35 |
+
"ê": 91,
|
36 |
+
"ì": 4,
|
37 |
+
"í": 74,
|
38 |
+
"ò": 45,
|
39 |
+
"ó": 56,
|
40 |
+
"ô": 28,
|
41 |
+
"õ": 25,
|
42 |
+
"ù": 38,
|
43 |
+
"ú": 76,
|
44 |
+
"ý": 37,
|
45 |
+
"ă": 89,
|
46 |
+
"đ": 55,
|
47 |
+
"ĩ": 23,
|
48 |
+
"ũ": 70,
|
49 |
+
"ơ": 7,
|
50 |
+
"ư": 9,
|
51 |
+
"ạ": 22,
|
52 |
+
"ả": 24,
|
53 |
+
"ấ": 81,
|
54 |
+
"ầ": 57,
|
55 |
+
"ẩ": 49,
|
56 |
+
"ẫ": 67,
|
57 |
+
"ậ": 87,
|
58 |
+
"ắ": 65,
|
59 |
+
"ằ": 10,
|
60 |
+
"ẳ": 27,
|
61 |
+
"ẵ": 42,
|
62 |
+
"ặ": 5,
|
63 |
+
"ẹ": 72,
|
64 |
+
"ẻ": 20,
|
65 |
+
"ẽ": 66,
|
66 |
+
"ế": 60,
|
67 |
+
"ề": 40,
|
68 |
+
"ể": 69,
|
69 |
+
"ễ": 41,
|
70 |
+
"ệ": 15,
|
71 |
+
"ỉ": 71,
|
72 |
+
"ị": 53,
|
73 |
+
"ọ": 48,
|
74 |
+
"ỏ": 43,
|
75 |
+
"ố": 46,
|
76 |
+
"ồ": 16,
|
77 |
+
"ổ": 34,
|
78 |
+
"ỗ": 73,
|
79 |
+
"ộ": 19,
|
80 |
+
"ớ": 59,
|
81 |
+
"ờ": 36,
|
82 |
+
"ở": 83,
|
83 |
+
"ỡ": 26,
|
84 |
+
"ợ": 93,
|
85 |
+
"ụ": 0,
|
86 |
+
"ủ": 61,
|
87 |
+
"ứ": 6,
|
88 |
+
"ừ": 32,
|
89 |
+
"ử": 62,
|
90 |
+
"ữ": 64,
|
91 |
+
"ự": 50,
|
92 |
+
"ỳ": 11,
|
93 |
+
"ỵ": 18,
|
94 |
+
"ỷ": 86,
|
95 |
+
"ỹ": 33,
|
96 |
+
"–": 39
|
97 |
+
}
|