Upload 5 files
Browse files- config.json +86 -0
- model.safetensors +3 -0
- special_tokens_map.json +4 -0
- tokenizer_config.json +10 -0
- vocab.json +55 -0
config.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.1,
|
3 |
+
"architectures": [
|
4 |
+
"VitsModel"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.1,
|
7 |
+
"depth_separable_channels": 2,
|
8 |
+
"depth_separable_num_layers": 3,
|
9 |
+
"duration_predictor_dropout": 0.5,
|
10 |
+
"duration_predictor_filter_channels": 256,
|
11 |
+
"duration_predictor_flow_bins": 10,
|
12 |
+
"duration_predictor_kernel_size": 3,
|
13 |
+
"duration_predictor_num_flows": 4,
|
14 |
+
"duration_predictor_tail_bound": 5.0,
|
15 |
+
"encoder_attention_heads": 2,
|
16 |
+
"encoder_ffn_dim": 768,
|
17 |
+
"encoder_layerdrop": 0.1,
|
18 |
+
"encoder_layers": 6,
|
19 |
+
"ffn_dim": 768,
|
20 |
+
"ffn_kernel_size": 3,
|
21 |
+
"flow_size": 192,
|
22 |
+
"hidden_act": "relu",
|
23 |
+
"hidden_dropout": 0.1,
|
24 |
+
"hidden_size": 192,
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"layer_norm_eps": 1e-05,
|
27 |
+
"layerdrop": 0.1,
|
28 |
+
"leaky_relu_slope": 0.1,
|
29 |
+
"model_type": "vits",
|
30 |
+
"noise_scale": 0.667,
|
31 |
+
"noise_scale_duration": 0.8,
|
32 |
+
"num_attention_heads": 2,
|
33 |
+
"num_hidden_layers": 6,
|
34 |
+
"num_speakers": 2,
|
35 |
+
"posterior_encoder_num_wavenet_layers": 16,
|
36 |
+
"prior_encoder_num_flows": 4,
|
37 |
+
"prior_encoder_num_wavenet_layers": 4,
|
38 |
+
"resblock_dilation_sizes": [
|
39 |
+
[
|
40 |
+
1,
|
41 |
+
3,
|
42 |
+
5
|
43 |
+
],
|
44 |
+
[
|
45 |
+
1,
|
46 |
+
3,
|
47 |
+
5
|
48 |
+
],
|
49 |
+
[
|
50 |
+
1,
|
51 |
+
3,
|
52 |
+
5
|
53 |
+
]
|
54 |
+
],
|
55 |
+
"resblock_kernel_sizes": [
|
56 |
+
3,
|
57 |
+
7,
|
58 |
+
11
|
59 |
+
],
|
60 |
+
"sampling_rate": 16000,
|
61 |
+
"speaker_embedding_size": 256,
|
62 |
+
"speaking_rate": 1.0,
|
63 |
+
"spectrogram_bins": 513,
|
64 |
+
"torch_dtype": "float32",
|
65 |
+
"transformers_version": "4.36.0.dev0",
|
66 |
+
"upsample_initial_channel": 512,
|
67 |
+
"upsample_kernel_sizes": [
|
68 |
+
16,
|
69 |
+
16,
|
70 |
+
4,
|
71 |
+
4
|
72 |
+
],
|
73 |
+
"upsample_rates": [
|
74 |
+
8,
|
75 |
+
8,
|
76 |
+
2,
|
77 |
+
2
|
78 |
+
],
|
79 |
+
"use_bias": true,
|
80 |
+
"use_stochastic_duration_prediction": true,
|
81 |
+
"vocab_size": 55,
|
82 |
+
"wavenet_dilation_rate": 1,
|
83 |
+
"wavenet_dropout": 0.0,
|
84 |
+
"wavenet_kernel_size": 5,
|
85 |
+
"window_size": 4
|
86 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a174a410ed115315f704d0b32ba2bf99e4de5a162b98cd03a862803475fb7279
|
3 |
+
size 158653176
|
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,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_blank": true,
|
3 |
+
"clean_up_tokenization_spaces": true,
|
4 |
+
"language": null,
|
5 |
+
"model_max_length": 1000000000000000019884624838656,
|
6 |
+
"pad_token": "~",
|
7 |
+
"phonemize": false,
|
8 |
+
"tokenizer_class": "ezVitsTokenizer",
|
9 |
+
"unk_token": "<unk>"
|
10 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{"~": 0,
|
2 |
+
"^": 1,
|
3 |
+
"$": 2,
|
4 |
+
"?": 3,
|
5 |
+
"!": 4,
|
6 |
+
"_": 5,
|
7 |
+
"#": 6,
|
8 |
+
"[": 7,
|
9 |
+
"]": 8,
|
10 |
+
"A": 9,
|
11 |
+
"E": 10,
|
12 |
+
"I": 11,
|
13 |
+
"N": 12,
|
14 |
+
"O": 13,
|
15 |
+
"U": 14,
|
16 |
+
"a": 15,
|
17 |
+
"b": 16,
|
18 |
+
"by": 17,
|
19 |
+
"ch": 18,
|
20 |
+
"cl": 19,
|
21 |
+
"d": 20,
|
22 |
+
"dy": 21,
|
23 |
+
"e": 22,
|
24 |
+
"f": 23,
|
25 |
+
"g": 24,
|
26 |
+
"gy": 25,
|
27 |
+
"gw": 26,
|
28 |
+
"h": 27,
|
29 |
+
"hy": 28,
|
30 |
+
"i": 29,
|
31 |
+
"j": 30,
|
32 |
+
"k": 31,
|
33 |
+
"ky": 32,
|
34 |
+
"kw": 33,
|
35 |
+
"m": 34,
|
36 |
+
"my": 35,
|
37 |
+
"n": 36,
|
38 |
+
"ny": 37,
|
39 |
+
"o": 38,
|
40 |
+
"p": 39,
|
41 |
+
"py": 40,
|
42 |
+
"r": 41,
|
43 |
+
"ry": 42,
|
44 |
+
"s": 43,
|
45 |
+
"sh": 44,
|
46 |
+
"t": 45,
|
47 |
+
"ts": 46,
|
48 |
+
"ty": 47,
|
49 |
+
"u": 48,
|
50 |
+
"v": 49,
|
51 |
+
"w": 50,
|
52 |
+
"y": 51,
|
53 |
+
"z": 52,
|
54 |
+
"pau": 53,
|
55 |
+
"sil": 54, "<unk>": 0}
|