Chatterbox-TTS-4bit / README.md
depasquale's picture
Upload folder using huggingface_hub
a3c8ded verified
---
library_name: mlx-audio-plus
base_model:
- ResembleAI/chatterbox
tags:
- mlx
pipeline_tag: text-to-speech
---
# mlx-community/Chatterbox-TTS-4bit
This model was converted to MLX format from [ResembleAI/chatterbox](https://huggingface.co/ResembleAI/chatterbox) using [mlx-audio-plus](https://github.com/DePasqualeOrg/mlx-audio-plus) version **0.1.0**.
**Note:** This model requires the S3Tokenizer weights from [mlx-community/S3TokenizerV2](https://huggingface.co/mlx-community/S3TokenizerV2), which will be downloaded automatically.
## Use with mlx-audio-plus
```bash
pip install -U mlx-audio-plus
```
### Command line
```bash
mlx_audio.tts --model mlx-community/Chatterbox-TTS-4bit --text "Hello, this is Chatterbox on MLX!" --ref_audio reference.wav --ref_text "."
```
### Python
```python
from mlx_audio.tts.generate import generate_audio
generate_audio(
text="Hello, this is Chatterbox on MLX!",
model="mlx-community/Chatterbox-TTS-4bit",
ref_audio="reference.wav",
ref_text=".",
file_prefix="output",
)
```