Instructions to use g0udurix/Chatterbox-TTS-French-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use g0udurix/Chatterbox-TTS-French-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Chatterbox-TTS-French-MLX g0udurix/Chatterbox-TTS-French-MLX
- Chatterbox
How to use g0udurix/Chatterbox-TTS-French-MLX 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 TTS French (MLX)
MLX-converted weights of Thomcles/Chatterbox-TTS-French, with multiple quantized variants.
Variants
fp16/mxfp8/mxfp4/int8/int4/
Usage (MLX)
from mlx_audio.tts.generate import load_model, generate_audio
model = load_model(model_path="./mxfp8")
text = "Jean-Paul Sartre laisse a la posterite une oeuvre considerable."
wav, sr = generate_audio(
model,
text=text,
ref_audio=None,
ref_text=None,
cfg_weight=0.5,
exaggeration=0.5,
temperature=0.6,
)
Notes
- No reference audio is included.
- Tokenizer files are preserved from the base model.
License
Same license as the base model: CC-BY-4.0.
Base model and data
- Base model:
Thomcles/Chatterbox-TTS-French - Dataset:
amphion/Emilia-Dataset(French)
Hardware compatibility
Log In to add your hardware
Quantized