File size: 2,087 Bytes
4220ef2
0ea879d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79bb292
4220ef2
 
0ea879d
4220ef2
 
 
0ea879d
 
 
79bb292
0ea879d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4220ef2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
  "model": {
    "sample_rate": 24000,
    "hop": 256,
    "n_fft": 1024,
    "n_mels": 80,
    "f0_min": 50.0,
    "f0_max": 600.0,
    "speakers": [
      "F1",
      "M1"
    ],
    "vocab_size": 58,
    "channels": 192,
    "heads": 4,
    "feedforward": 640,
    "kernel": 7,
    "encoder_layers": 4,
    "prosody_layers": 2,
    "acoustic_layers": 5,
    "dropout": 0.1,
    "predictor_channels": 128,
    "synth_fft": 512,
    "synth_hop": 128,
    "noise_fft": 256,
    "noise_hop": 64,
    "cep_causal": 80,
    "cep_anti": 16,
    "noise_cep": 32,
    "harmonic_limit": 0.47,
    "max_tokens": 512,
    "max_frames": 3000,
    "mel_mean": -5.0,
    "mel_scale": 5.0,
    "energy_mean": -4.0,
    "energy_scale": 2.0,
    "pitch_reference_hz": 200.0
  },
  "step": 148000,
  "sample_rate": 24000,
  "hop": 256,
  "voices": [
    "F1",
    "M1"
  ],
  "phonemizer": {
    "name": "pt",
    "version": 1,
    "fingerprint": "21ea45190f89d73191f1e9861b5dd3bea5910023dd523d9c295c5353830222df"
  },
  "stress": {
    "none": 0,
    "stressed": 1
  },
  "onnx": {
    "file": "onnx/model.onnx",
    "inputs": [
      "tokens",
      "stress",
      "voice",
      "speed",
      "pitch_shift",
      "pitch_range"
    ],
    "outputs": [
      "audio",
      "durations"
    ]
  },
  "vocab": {
    "<pad>": 0,
    "<bos>": 1,
    "<eos>": 2,
    "<sp>": 3,
    "<unk>": 4,
    ",": 5,
    ".": 6,
    "?": 7,
    "!": 8,
    ";": 9,
    ":": 10,
    "\"": 11,
    "'": 12,
    "(": 13,
    ")": 14,
    "—": 15,
    "…": 16,
    "-": 17,
    "a": 18,
    "b": 19,
    "c": 20,
    "d": 21,
    "e": 22,
    "f": 23,
    "g": 24,
    "h": 25,
    "i": 26,
    "j": 27,
    "k": 28,
    "l": 29,
    "m": 30,
    "n": 31,
    "o": 32,
    "p": 33,
    "q": 34,
    "r": 35,
    "s": 36,
    "t": 37,
    "u": 38,
    "v": 39,
    "w": 40,
    "x": 41,
    "y": 42,
    "z": 43,
    "à": 44,
    "á": 45,
    "â": 46,
    "ã": 47,
    "ç": 48,
    "é": 49,
    "ê": 50,
    "í": 51,
    "ó": 52,
    "ô": 53,
    "õ": 54,
    "ú": 55,
    "ü": 56,
    "ũ": 57
  }
}