Views
No views yet
.npy tensors that MLX memory-maps, plus the SentencePiece vocab).
It is a repackaging of Confucius4-TTS and its component models — see
Provenance & licensing. It does not contain new
trained weights.quantized_matmul) at run time for ~2× speed at ~0.9999 logit cosinec4tts_cli synth) or the built-in
HTTP server with an OpenAI-style /v1/audio/speech API and a web console.AutoModel.bin/ directory:
huggingface-cli download <this-repo> --local-dir binbin/{t2s,s2a,w2vbert,campplus,bigvgan,audio}.safetensors +
bin/tokenizer/vocab.tsv. Each module is one memory-mapped safetensors file.1# CLI: clone the voice in ref.wav and read the text
2./c4tts_cli synth --prompt ref.wav --lang zh --text "你好,世界。" --out out.wav
3
4# or serve an OpenAI-style API + web console
5./c4tts_cli --web --web-key <key>--lang to select the synthesis language (cross-lingual transfer
is supported).| Component | Role | Source |
|---|---|---|
t2s/ | Text→semantic LLM (GPT-2-style, 24 layers) + speaker encoder | Confucius4-TTS t2s_model.safetensors |
s2a/ | Semantic→mel flow-matching DiT + WaveNet | Confucius4-TTS s2a_model.pt |
tokenizer/vocab.tsv | LLaMA SentencePiece BPE tokenizer | Confucius4-TTS |
w2vbert/ | W2V-BERT 2.0 semantic-feature encoder (layers used for extraction only) | facebook/w2v-bert-2.0 |
campplus/ | CAMPPlus speaker embedding | funasr/campplus (campplus_cn_common.bin) |
bigvgan/ | BigVGAN v2 neural vocoder (22 kHz, 80-band, 256×) | nvidia/bigvgan_v2_22khz_80band_256x |
audio/ | Baked mel-filterbank + Hann window constants | derived |
| Upstream | License | Link |
|---|---|---|
| Confucius4-TTS (T2S, S2A, tokenizer) | Apache-2.0 | https://huggingface.co/netease-youdao/Confucius4-TTS |
| W2V-BERT 2.0 (semantic encoder) | MIT | https://huggingface.co/facebook/w2v-bert-2.0 |
| BigVGAN v2 (vocoder) | MIT | https://huggingface.co/nvidia/bigvgan_v2_22khz_80band_256x |
| CAMPPlus (speaker embedding) | see source | https://huggingface.co/funasr/campplus |
license: apache-2.0 tag reflects the primary model (Confucius4-TTS).
Verify the CAMPPlus license for your use case before redistribution.1@misc{confucius4tts,
2 title = {Confucius4-TTS: a Multilingual and Cross-Lingual Zero-Shot TTS Engine},
3 author = {NetEase Youdao},
4 url = {https://huggingface.co/netease-youdao/Confucius4-TTS}
5}