Instructions to use 4-alokk/chatterbox-go-turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use 4-alokk/chatterbox-go-turbo with Chatterbox:
# pip install chatterbox-tts import torchaudio as ta from chatterbox.tts import ChatterboxTTS model = ChatterboxTTS.from_pretrained(device="cuda") text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill." wav = model.generate(text) ta.save("test-1.wav", wav, model.sr) # If you want to synthesize with a different voice, specify the audio prompt AUDIO_PROMPT_PATH="YOUR_FILE.wav" wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH) ta.save("test-2.wav", wav, model.sr) - Notebooks
- Google Colab
- Kaggle
chatterbox-go-turbo
ONNX files of Resemble AI's Chatterbox-Turbo (350M params, English, zero-shot voice cloning, paralinguistic tags such as [laugh] / [chuckle]),
packaged for the Adsorp AI on-device Go TTS server (ONNX Runtime). The server downloads these files on first run and verifies them
against manifest.json (size + SHA-256).
Source of the graphs: Resemble AI's official ONNX export, ResembleAI/chatterbox-turbo-ONNX (fp16 and q4f16 graphs, unmodified).
Files
onnx/β four graphs:speech_encoder(reference wav β voice conditioning),embed_tokens,language_model(KV-cache decoder),conditional_decoder(speech tokens β 24 kHz audio). Download sizes by precision β fp16: 1661 MB, q4f16: 562 MB, voices: 7 MB.voices/β 6 built-in reference voices (*.wav, 24 kHz mono, β€12 s) +voices.jsonmetadata. These are trimmed copies of Resemble AI's public demo reference clips; do not use them to impersonate anyone.vocab.json,merges.txt,added_tokens.json(+ configs) β GPT-2 byte-level BPE tokenizer incl. paralinguistic tags.manifest.jsonβ file list, sizes, SHA-256, graph geometry (layers/heads), token ids.
Usage notes (for implementers)
- Append two
<|endoftext|>(id 50256) tokens to every tokenised prompt. The exported graphs expect them; omitting them garbles the first words. - Pipeline:
speech_encoder(ref wav 24 kHz)β concat[cond features, embed_tokens(text ids)]β autoregressivelanguage_modelwith KV cache (temperature 0.8, top-k 1000, top-p 0.95, repetition penalty 1.2) β prepend the encoder's prompt tokens, append 3Γsilence token (4299) βconditional_decoderβ 24 kHz mono audio. - Voice cloning = run the speech encoder once on a clean single-speaker clip (β₯ 5 s recommended) and reuse the result.
Measured on the Go server (CPU, Apple M4 Pro, 8 threads; 8 narration sentences, Whisper-base word error rate)
| Config | WER | Real-time factor (lower = faster) |
|---|---|---|
| Turbo fp16 | 8.7 % | 0.49 |
| Turbo q4f16 | 21.7 % | ~0.5 |
Small relative benchmark, not an absolute quality claim. The Python ONNX reference gives the same numbers within noise.
Watermark and responsible use
Resemble's Python package applies an imperceptible PerTh watermark to generated audio. These ONNX graphs do not contain it β the output is the raw vocoder waveform. Resemble AI asks that deployments keep watermarking generated audio. Do not clone a voice without the speaker's permission and do not use it to impersonate anyone.
License
MIT, inherited from Resemble AI's Chatterbox. See LICENSE and NOTICE.md.
Model tree for 4-alokk/chatterbox-go-turbo
Base model
ResembleAI/chatterbox-turbo