Instructions to use BricksDisplay/chatterbox-multilingual-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use BricksDisplay/chatterbox-multilingual-ONNX 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
Commit History
-
fix(tokenizer): add bare-name special tokens (BOS/EOS/START_SPEECH/STOP_SPEECH/EXAGGERATION) so post_processor template lookups resolve to correct IDs
Verified signatureThe template references 'BOS'/'EOS'/'START_SPEECH'/'EXAGGERATION' but those names aren't in added_tokens — they were silently becoming UNK (1). transformers.js looks up post-processor template names via added_tokens_map, so adding entries with content=BOS / id=255 etc fixes the resolved sequence to match the English model template.e53e5cd -
Create config.json
Verified signatured850d55 -
Duplicate from onnx-community/chatterbox-multilingual-ONNX
Co-authored-by: Vladislav Bronzov <vladislavbro@users.noreply.huggingface.co>728ba2a