tiny-broca / config.json
brenorb's picture
Model: v1 weights, ONNX, config and front end
79bb292 verified
Raw History Blame Contribute Delete
2.09 kB
{
"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
}
}