Instructions to use mlx-community/Chatterbox-Turbo-TTS-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/Chatterbox-Turbo-TTS-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Chatterbox-Turbo-TTS-4bit mlx-community/Chatterbox-Turbo-TTS-4bit
- Chatterbox
How to use mlx-community/Chatterbox-Turbo-TTS-4bit 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
- LM Studio
Chatterbox-Turbo-TTS-4bit
This model was converted to MLX format from ResembleAI/chatterbox-turbo using mlx-audio-plus version 0.1.6.
This model uses 4-bit quantization for the T3 GPT2 backbone, reducing memory usage while maintaining audio quality.
Note: This model requires the S3Tokenizer weights from mlx-community/S3TokenizerV2, which will be downloaded automatically.
Use with mlx-audio-plus
pip install -U mlx-audio-plus
Command line
mlx_audio.tts --model /path/to/Chatterbox-Turbo-TTS-4bit --text "Hello, this is Chatterbox Turbo on MLX!" --ref_audio reference.wav
Python
from mlx_audio.tts.generate import generate_audio
generate_audio(
text="Hello, this is Chatterbox Turbo on MLX!",
model="/path/to/Chatterbox-Turbo-TTS-4bit",
ref_audio="reference.wav",
file_prefix="output",
)
- Downloads last month
- 89
Model size
0.4B params
Tensor type
F16
·
U32 ·
Hardware compatibility
Log In to add your hardware
Quantized
Model tree for mlx-community/Chatterbox-Turbo-TTS-4bit
Base model
ResembleAI/chatterbox-turbo