Instructions to use BricksDisplay/Chatterbox-Multilingual-TTS-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use BricksDisplay/Chatterbox-Multilingual-TTS-GGUF 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
- Local Apps Settings
- llama.cpp
How to use BricksDisplay/Chatterbox-Multilingual-TTS-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M
Use Docker
docker model run hf.co/BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use BricksDisplay/Chatterbox-Multilingual-TTS-GGUF with Ollama:
ollama run hf.co/BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use BricksDisplay/Chatterbox-Multilingual-TTS-GGUF with Docker Model Runner:
docker model run hf.co/BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M
- Lemonade
How to use BricksDisplay/Chatterbox-Multilingual-TTS-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull BricksDisplay/Chatterbox-Multilingual-TTS-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Chatterbox-Multilingual-TTS-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
feat: native codec_lm layout (codec.gguf bundles cond_enc + text_emb + speech_pos_emb)
Browse files- .gitattributes +6 -0
- README.md +68 -118
- chatterbox-mtl-codec-f16.gguf +3 -0
- chatterbox-mtl-codec-f32.gguf +3 -0
- chatterbox-mtl-codec-q4_k_m.gguf +3 -0
- chatterbox-mtl-codec-q5_k_m.gguf +3 -0
- chatterbox-mtl-codec-q8_0.gguf +3 -0
- chatterbox-mtl-s3t.gguf +3 -0
.gitattributes
CHANGED
|
@@ -56,3 +56,9 @@ t3-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 56 |
t3-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
t3-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
t3-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
t3-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 57 |
t3-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 58 |
t3-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
chatterbox-mtl-codec-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
chatterbox-mtl-codec-f32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
chatterbox-mtl-codec-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
chatterbox-mtl-codec-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
chatterbox-mtl-codec-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
chatterbox-mtl-s3t.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -16,7 +16,7 @@ language:
|
|
| 16 |
- ko
|
| 17 |
- ms
|
| 18 |
- nl
|
| 19 |
-
- no
|
| 20 |
- pl
|
| 21 |
- pt
|
| 22 |
- ru
|
|
@@ -30,131 +30,81 @@ tags:
|
|
| 30 |
- chatterbox
|
| 31 |
- chatterbox-multilingual
|
| 32 |
- text-to-speech
|
|
|
|
| 33 |
base_model: ResembleAI/chatterbox
|
| 34 |
---
|
| 35 |
|
| 36 |
# Chatterbox-Multilingual T3 GGUF
|
| 37 |
|
| 38 |
-
GGUF
|
| 39 |
|
| 40 |
-
|
| 41 |
-
runtime that owns it:
|
| 42 |
|
| 43 |
-
- **
|
| 44 |
-
|
| 45 |
-
- **
|
| 46 |
-
PCM, run by **[codec.cpp](https://github.com/mybigday/codec.cpp)**.
|
| 47 |
|
| 48 |
-
|
| 49 |
-
two runtimes.
|
| 50 |
|
| 51 |
## Files
|
| 52 |
|
| 53 |
-
###
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
|
| 69 |
-
| ---
|
| 70 |
-
| `t3-
|
| 71 |
-
| `t3-
|
| 72 |
-
| `t3-
|
| 73 |
-
| `t3-
|
| 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 |
-
(`conds.pt`) baked in. The S3G weights are language-independent and
|
| 114 |
-
shared verbatim with the English Chatterbox release.
|
| 115 |
-
|
| 116 |
-
| File | Size |
|
| 117 |
-
| ------------------- | ------- |
|
| 118 |
-
| `codec-f32.gguf` | 535 MB |
|
| 119 |
-
| `codec-f16.gguf` | 268 MB |
|
| 120 |
-
| `codec-q8_0.gguf` | 196 MB |
|
| 121 |
-
| `codec-q5_k_m.gguf` | 167 MB |
|
| 122 |
-
| `codec-q4_k_m.gguf` | 158 MB |
|
| 123 |
-
|
| 124 |
-
### Codec-part β S3T tokenizer
|
| 125 |
-
|
| 126 |
-
`s3t.gguf` (`chatterbox_s3t` arch, F16, 236 MB) β S3 audio tokenizer
|
| 127 |
-
(24 kHz mel front-end, 25 Hz token rate, codebook 6561). Only needed
|
| 128 |
-
for voice-cloning / reference-token paths. Same weights as the English
|
| 129 |
-
release.
|
| 130 |
-
|
| 131 |
-
## Boundary contract
|
| 132 |
-
|
| 133 |
-
- token rate: 25 Hz, `n_q = 1`
|
| 134 |
-
- payload codebook size: 6561 (IDs `0..6560`)
|
| 135 |
-
- `start_speech_token = 6561`, `stop_speech_token = 6562`
|
| 136 |
-
- speech vocabulary in T3: 8194 (`speech_tokens_dict_size`)
|
| 137 |
-
- text vocabulary in T3: 2454 (`text_tokens_dict_size`)
|
| 138 |
-
- encode sample rate: 16 kHz, decode sample rate: 24 kHz
|
| 139 |
-
|
| 140 |
-
## Notes
|
| 141 |
-
|
| 142 |
-
- **Loading the LLM-part:** stock `llama.cpp` (β₯ b8095) loads
|
| 143 |
-
`t3-*.gguf` directly. Because the model is `no_vocab`, the host
|
| 144 |
-
application is responsible for: tokenizing text via
|
| 145 |
-
`mtl_tokenizer.json`, looking up `t3.text_emb` for the text-side
|
| 146 |
-
prefix, building the conditioning prefix from `t3.cond_enc.*`, adding
|
| 147 |
-
the matching learned positional embeddings, and feeding the assembled
|
| 148 |
-
embedding sequence to `llama_decode`. After the prefix is consumed,
|
| 149 |
-
generation proceeds autoregressively over speech tokens (which is
|
| 150 |
-
what the speech-side embedding/head in `t3-*.gguf` are for).
|
| 151 |
-
- **Quantization** uses `llama-quantize` for the T3 backbone and
|
| 152 |
-
codec.cpp's converter (with a fix that recognises `.weight` names) for
|
| 153 |
-
the codec-part.
|
| 154 |
-
- Source weights: `t3_mtl23ls_v3.safetensors` and `s3gen.safetensors`
|
| 155 |
-
from `ResembleAI/chatterbox`. The English T3 (`t3_cfg.safetensors`)
|
| 156 |
-
lives in [`hans00/Chatterbox-TTS-GGUF`](https://huggingface.co/hans00/Chatterbox-TTS-GGUF).
|
| 157 |
-
- **Supported languages**: Arabic, Danish, German, Greek, English,
|
| 158 |
-
Spanish, Finnish, French, Hebrew, Hindi, Italian, Japanese, Korean,
|
| 159 |
-
Malay, Dutch, Norwegian, Polish, Portuguese, Russian, Swedish,
|
| 160 |
-
Swahili, Turkish, Chinese (23 total).
|
|
|
|
| 16 |
- ko
|
| 17 |
- ms
|
| 18 |
- nl
|
| 19 |
+
- 'no'
|
| 20 |
- pl
|
| 21 |
- pt
|
| 22 |
- ru
|
|
|
|
| 30 |
- chatterbox
|
| 31 |
- chatterbox-multilingual
|
| 32 |
- text-to-speech
|
| 33 |
+
- codec-lm
|
| 34 |
base_model: ResembleAI/chatterbox
|
| 35 |
---
|
| 36 |
|
| 37 |
# Chatterbox-Multilingual T3 GGUF
|
| 38 |
|
| 39 |
+
End-to-end GGUF conversion of [ResembleAI's Chatterbox multilingual T3](https://huggingface.co/ResembleAI/chatterbox) (`t3_mtl23ls_v3.safetensors` β 23-language coverage).
|
| 40 |
|
| 41 |
+
This release adopts the **native codec_lm split** used by CSM / Qwen3-TTS / MOSS-TTSD:
|
|
|
|
| 42 |
|
| 43 |
+
- **Backbone (`chatterbox-mtl-t3-<quant>.gguf`)** β stock `llama` arch GGUF of Chatterbox T3's Llama-520M `tfmr.*` weights (30 layers, hidden 1024, 16 heads, head_dim=64, MLP 4096, llama3 RoPE scaling, rope_theta=500000, vocab placeholder = `tokenizer.ggml.model = "none"`). Runs in stock **llama.cpp** with `embeddings=true`.
|
| 44 |
+
- **Codec + codec_lm (`chatterbox-mtl-codec-<quant>.gguf`)** β Chatterbox S3G (flow-matching decoder + HiFi-GAN vocoder) bundled with the T3 LM-adaptor side (audio embed table, speech head, text embed/head, learned positional embeddings, cond encoder weights). Runs in [codec.cpp](https://github.com/mybigday/codec.cpp) as a `parallel_heads_delay` codec_lm with `n_cb=1`.
|
| 45 |
+
- **S3T tokenizer (`chatterbox-mtl-s3t.gguf`)** β speech tokenizer needed when registering a custom voice from a reference WAV.
|
|
|
|
| 46 |
|
| 47 |
+
Compared to the earlier release in this repo, the old `t3-*.gguf` (custom shape) and `t3-extras.gguf` are gone β everything the host runtime needs to drive the LM adaptor is now bundled into `chatterbox-mtl-codec-*.gguf` and exposed through codec.cpp's `codec_lm` API.
|
|
|
|
| 48 |
|
| 49 |
## Files
|
| 50 |
|
| 51 |
+
### Backbone (`chatterbox-mtl-t3-<quant>.gguf`)
|
| 52 |
+
|
| 53 |
+
| File | Size |
|
| 54 |
+
| ----------------------------------- | ------- |
|
| 55 |
+
| `chatterbox-mtl-t3-f32.gguf` | 1.9 GB |
|
| 56 |
+
| `chatterbox-mtl-t3-f16.gguf` | 961 MB |
|
| 57 |
+
| `chatterbox-mtl-t3-bf16.gguf` | 961 MB |
|
| 58 |
+
| `chatterbox-mtl-t3-q8_0.gguf` | 511 MB |
|
| 59 |
+
| `chatterbox-mtl-t3-q6_k.gguf` | 395 MB |
|
| 60 |
+
| `chatterbox-mtl-t3-q5_1.gguf` | 361 MB |
|
| 61 |
+
| `chatterbox-mtl-t3-q5_k_m.gguf` | 340 MB |
|
| 62 |
+
| `chatterbox-mtl-t3-q5_k_s.gguf` | 331 MB |
|
| 63 |
+
| `chatterbox-mtl-t3-q5_0.gguf` | 331 MB |
|
| 64 |
+
| `chatterbox-mtl-t3-q4_1.gguf` | 301 MB |
|
| 65 |
+
| `chatterbox-mtl-t3-q4_k_m.gguf` | 289 MB |
|
| 66 |
+
| `chatterbox-mtl-t3-q4_k_s.gguf` | 273 MB |
|
| 67 |
+
| `chatterbox-mtl-t3-q4_0.gguf` | 271 MB |
|
| 68 |
+
| `chatterbox-mtl-t3-q3_k_l.gguf` | 254 MB |
|
| 69 |
+
| `chatterbox-mtl-t3-q3_k_m.gguf` | 232 MB |
|
| 70 |
+
| `chatterbox-mtl-t3-q3_k_s.gguf` | 207 MB |
|
| 71 |
+
| `chatterbox-mtl-t3-q2_k.gguf` | 177 MB |
|
| 72 |
+
|
| 73 |
+
### Codec + codec_lm (`chatterbox-mtl-codec-<quant>.gguf`)
|
| 74 |
+
|
| 75 |
+
| File | Size |
|
| 76 |
+
| ----------------------------------- | ------- |
|
| 77 |
+
| `chatterbox-mtl-codec-f32.gguf` | 572 MB |
|
| 78 |
+
| `chatterbox-mtl-codec-f16.gguf` | 317 MB |
|
| 79 |
+
| `chatterbox-mtl-codec-q8_0.gguf` | 226 MB |
|
| 80 |
+
| `chatterbox-mtl-codec-q5_k_m.gguf` | 190 MB |
|
| 81 |
+
| `chatterbox-mtl-codec-q4_k_m.gguf` | 178 MB |
|
| 82 |
+
|
| 83 |
+
### S3T speech tokenizer
|
| 84 |
+
|
| 85 |
+
`chatterbox-mtl-s3t.gguf` (F16, 237 MB) β needed for **voice-clone**, encodes a reference WAV into the speech token IDs that the codec_lm consumes when registering a custom speaker. Same weights as English Chatterbox.
|
| 86 |
+
|
| 87 |
+
## Inference shape
|
| 88 |
+
|
| 89 |
+
Per-frame AR loop, single-codebook `parallel_heads_delay`:
|
| 90 |
+
|
| 91 |
+
```
|
| 92 |
+
backbone (Llama-520M, embeddings=true) hidden h
|
| 93 |
+
β codec_lm_step_begin(state, h)
|
| 94 |
+
β codec_lm_step_logits(0) β sample speech-token β codec_lm_step_push_code
|
| 95 |
+
β codec_lm_step_finish β codes[1]
|
| 96 |
+
β codec_lm_compose_audio_embd(codes) + speech_pos_emb[step] β next-step embedding
|
| 97 |
+
β feed via b.embd; loop until stop_speech_token (6562)
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
Prompt prefix assembly (text + cond) lives inside codec.cpp's chatterbox path; the host application doesn't directly touch `lm.chatterbox.*` tensors.
|
| 101 |
+
|
| 102 |
+
## Sources
|
| 103 |
+
|
| 104 |
+
- Upstream model: [`ResembleAI/chatterbox`](https://huggingface.co/ResembleAI/chatterbox) (`t3_mtl23ls_v3.safetensors`)
|
| 105 |
+
- Conversion tooling: [`mybigday/codec.cpp`](https://github.com/mybigday/codec.cpp) (`prep_chatterbox_t3` + `lm_adaptor/chatterbox.py` + `ChatterboxS3GConverter` with `lm_source`)
|
| 106 |
+
- Inference runtime: [`mybigday/llama.rn`](https://github.com/mybigday/llama.rn)
|
| 107 |
+
|
| 108 |
+
## Supported languages
|
| 109 |
+
|
| 110 |
+
Arabic, Danish, German, Greek, English, Spanish, Finnish, French, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Dutch, Norwegian, Polish, Portuguese, Russian, Swedish, Swahili, Turkish, Chinese (23 total).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chatterbox-mtl-codec-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4f7de5b7a417367fe0b989978a662ee4d90aeea22b1e325fd5c81f3d117517b
|
| 3 |
+
size 332015424
|
chatterbox-mtl-codec-f32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:942698751489e18ba359dd1cb77d9e03e160803d48492cd932ba5db3ce4440bc
|
| 3 |
+
size 598727264
|
chatterbox-mtl-codec-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8baafb80db857e895fbc9da1a11a483cc3f191a165da81fcef9c05d76c1bef5f
|
| 3 |
+
size 186191744
|
chatterbox-mtl-codec-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70ba679f51069e8ae3a15fc4493b785025d40f1e4a84fd09d8043982ba2e477b
|
| 3 |
+
size 198872064
|
chatterbox-mtl-codec-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:25f6ae81c6226f7111043eda5ff653b8953260db07aee12655e2c8eb6a97714b
|
| 3 |
+
size 236591424
|
chatterbox-mtl-s3t.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26592ce171dd40bb54468a32dd9a3b697e15bfc23ebc8f8d218e34c3962e69c4
|
| 3 |
+
size 247487280
|