Downloads · 30 days
417
23% of all-time downloads
mlx-community/chatterbox-4bit
chatterbox-4bit is a text-to-speech model from mlx-community. Use it when you need text read aloud. It is set up for mlx-audio. The card lists the license as apache-2.0.
This model was converted to MLX format from ResembleAI/chatterbox using mlx-audio version 0.2.7. Refer to the original model card for more details on the model.
Downloads · 30 days
417
23% of all-time downloads
All-time downloads
1.8K
Public
Parameters
693M
1.1 GB on disk
Likes
8
Public
Click a slice to open those files.
.safetensors607 MB · 99%
How the weights are stored.
U32642M · 93%
From the Hugging Face model README
This model was converted to MLX format from ResembleAI/chatterbox using mlx-audio version 0.2.7.
Refer to the original model card for more details on the model.
pip install -U mlx-audio
python -m mlx_audio.tts.generate --model mlx-community/chatterbox-4bit --text "Hello, this is a test."
from mlx_audio.tts.utils import load_model
from mlx_audio.tts.generate import generate_audio
model = load_model("mlx-community/chatterbox-4bit")
generate_audio(
model=model, text="Hello, this is a test.",
file_prefix="test_audio",
)
from mlx_audio.tts.generate import generate_audio
generate_audio(
text="Hello, this is a test of Chatterbox TTS.",
model="mlx-community/chatterbox-4bit",
ref_audio="path_to_file.wav",
ref_text="Text transcript", # Optional
file_prefix="vc_output",
)
Generate speech in 23 languages by specifying the lang_code parameter. The model automatically handles pronunciation, intonation, and language-specific phonemes.
from mlx_audio.tts.generate import generate_audio
generate_audio(
text="Olá, tudo bem?",
model="mlx-community/chatterbox-4bit",
lang_code="pt",
file_prefix="multilingual_output",
)
| Code | Language | Code | Language | Code | Language |
|---|---|---|---|---|---|
ar | Arabic | he | Hebrew | no | Norwegian |
da | Danish | hi | Hindi | pl | Polish |
de | German | it | Italian | pt | Portuguese |
el | Greek | ja | Japanese | ru | Russian |
en | English | ko | Korean | sv | Swedish |
es | Spanish | ms | Malay | sw | Swahili |
fi | Finnish | nl | Dutch | tr | Turkish |
fr | French | zh | Chinese |