Text-to-Speech
ONNX
Vietnamese
vietnamese
flow-matching
webgpu
on-device
trada-tts / config.json
tsdocode's picture
int8: WGSL WebGPU engine (int8/trada-int8.bin) + int8 ONNX graphs
511b660 verified
Raw History Blame Contribute Delete
1.6 kB
{
"name": "trada-tts-10m",
"weights": "trada-tts-10m.safetensors",
"sample_rate": 24000,
"latent_dim": 32,
"latent_hz": 25,
"n_fft": 1920,
"hop": 480,
"enc_dim": 256,
"symbols": [
"<pad>",
"<unk>",
"a",
"ă",
"â",
"b",
"c",
"d",
"đ",
"e",
"ê",
"f",
"g",
"h",
"i",
"j",
"k",
"l",
"m",
"n",
"o",
"ô",
"ơ",
"p",
"q",
"r",
"s",
"t",
"u",
"ư",
"v",
"w",
"x",
"y",
"z",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
",",
".",
"!",
"?",
";",
":",
"-",
"…",
"\"",
"'",
"(",
")"
],
"num_tones": 14,
"arch": {
"latent_dim": 32,
"enc_dim": 256,
"enc_blocks": 5,
"cfm_dim": 352,
"cfm_blocks": 6,
"dec_dim": 160,
"dec_blocks": 7,
"n_fft": 1920
},
"params": {
"tts": 8260417,
"decoder": 1540322,
"total": 9800739
},
"speaker_dim": 192,
"defaults": {
"cfg_weight": 3.0,
"steps": 16,
"speed": 1.0
},
"default_voice": "tra-da-nu",
"fast": {
"weights": "trada-tts-10m-2step.safetensors",
"steps": 2,
"onnx": "cfm2.onnx",
"note": "IntMeanFlow-distilled flow decoder: average velocity over [t, r], text CFG baked in"
},
"int8": {
"webgpu": "int8/trada-int8.bin",
"onnx": {
"enc": "onnx/enc.int8.onnx",
"cfm2": "onnx/cfm2.int8.onnx",
"dec": "onnx/dec.int8.onnx"
},
"note": "fast (2-step) model with int8 weights: trada-int8.bin for the WebGPU engine (web/wgpu_engine.js, per-channel int8 weights, fp32 math); *.int8.onnx are onnxruntime dynamic-quantized graphs for CPU. Built by scripts/export_int8.py --onnx"
}
}