Instructions to use eugenehp/chatterbox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use eugenehp/chatterbox 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 Settings
- llama.cpp
How to use eugenehp/chatterbox with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf eugenehp/chatterbox:Q4_K_M # Run inference directly in the terminal: llama cli -hf eugenehp/chatterbox:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf eugenehp/chatterbox:Q4_K_M # Run inference directly in the terminal: llama cli -hf eugenehp/chatterbox:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf eugenehp/chatterbox:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf eugenehp/chatterbox:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf eugenehp/chatterbox:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf eugenehp/chatterbox:Q4_K_M
Use Docker
docker model run hf.co/eugenehp/chatterbox:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use eugenehp/chatterbox with Ollama:
ollama run hf.co/eugenehp/chatterbox:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use eugenehp/chatterbox with Docker Model Runner:
docker model run hf.co/eugenehp/chatterbox:Q4_K_M
- Lemonade
How to use eugenehp/chatterbox with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull eugenehp/chatterbox:Q4_K_M
Run and chat with the model
lemonade run user.chatterbox-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download onnx/conditional_decoder.onnx from eugenehp/chatterbox: direct link, hf CLI and curl.
- Browser
- Download file 6.35 MB
-
https://huggingface.co/eugenehp/chatterbox/resolve/main/onnx/conditional_decoder.onnx
- Command line
-
hf download hf://eugenehp/chatterbox/onnx/conditional_decoder.onnx
-
curl -L -o conditional_decoder.onnx https://huggingface.co/eugenehp/chatterbox/resolve/main/onnx/conditional_decoder.onnx
6.35 MB
- Xet hash:
- f85e92ca5b0bc4f3f237ce44817c99b034ab99fffcaf85d788426f2ee0c378e7
- Size of remote file:
- 6.35 MB
- SHA256:
- 1656d0d31332bae1854839959a3139300ebb67c178651dfa3f8c5fbfa5351351
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.