Instructions to use ramimu/chatterbox-voice-cloning-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use ramimu/chatterbox-voice-cloning-model 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
Chatterbox Voice Cloning Model Files
This repository contains the model files for the Chatterbox Voice Cloning application.
Model Files
s3gen.pt- Speech synthesis generator modelt3_cfg.pt- Text-to-speech configuration modelve.pt- Voice encoder modeltokenizer.json- Text tokenizer configuration
Usage
These files are automatically downloaded by the Chatterbox Voice Cloning Space when it starts up.
You can also use them programmatically:
from huggingface_hub import hf_hub_download
# Download a specific model file
model_path = hf_hub_download(
repo_id="ramimu/chatterbox-voice-cloning-model",
filename="s3gen.pt"
)
Model Information
- Library: ChatterboxTTS
- Task: Voice Cloning / Text-to-Speech
- Format: PyTorch (.pt files)
- Size: ~3GB total
- Downloads last month
- 2