Instructions to use Neurobrix/chatterbox-nbx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeuroBrix
How to use Neurobrix/chatterbox-nbx with NeuroBrix:
# pip install neurobrix neurobrix import ResembleAI/chatterbox --accept-license neurobrix run --model ResembleAI/chatterbox --prompt "Hello from my own GPU." --output speech.wav
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from Neurobrix/chatterbox-nbx: direct link, hf CLI and curl.
- Browser
- Download file 2.8 kB
-
https://huggingface.co/Neurobrix/chatterbox-nbx/resolve/main/README.md
- Command line
-
hf download hf://Neurobrix/chatterbox-nbx/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/Neurobrix/chatterbox-nbx/resolve/main/README.md
2.8 kB
| license: mit | |
| base_model: | |
| - ResembleAI/chatterbox | |
| library_name: neurobrix | |
| neurobrix_id: ResembleAI/chatterbox | |
| pipeline_tag: text-to-speech | |
| extra_gated_heading: Download this NeuroBrix container | |
| extra_gated_prompt: "This container packages chatterbox by ResembleAI. To download it, accept the licence of the model's author ([mit](https://huggingface.co/ResembleAI/chatterbox)) and the NeuroBrix licence ([Apache 2.0](https://github.com/NeuroBrix/neurobrix/blob/main/LICENSE)); access is immediate. Create a free account on [neurobrix.org](https://neurobrix.org/register) for the full catalogue, the docs and the news." | |
| extra_gated_fields: | |
| "I accept the licence of the model's author": checkbox | |
| "I accept the NeuroBrix licence (Apache 2)": checkbox | |
| extra_gated_button_content: Accept and download | |
| tags: | |
| - neurobrix | |
| - nbx | |
| - triton | |
| - local-inference | |
| - tts | |
| # chatterbox, as a NeuroBrix container | |
| **chatterbox** by **ResembleAI** ([original model](https://huggingface.co/ResembleAI/chatterbox)), packaged as a `.nbx` container so it runs in | |
| [NeuroBrix](https://github.com/NeuroBrix/neurobrix): one engine for every model, on the hardware you already own. | |
| Same model, same license as the original. The container holds everything the engine needs to run it: the model's | |
| computation graph, its weights, how its components connect, and its runtime defaults. | |
| ## Run it | |
| ```bash | |
| pip install neurobrix | |
| neurobrix import ResembleAI/chatterbox --accept-license | |
| neurobrix run --model ResembleAI/chatterbox --prompt "Hello from my own GPU." --output speech.wav | |
| ``` | |
| NeuroBrix plans where every part of the model runs from the GPUs and memory it finds: one GPU, several, streamed, or on | |
| the host. It runs on NVIDIA GPUs, Mac GPUs (Metal) and CPU, with the PyTorch engine or with the Triton engine, which needs | |
| no PyTorch: [nbxtensor](https://github.com/NeuroBrix/nbxtensor) kernels, certified per GPU class. | |
| ## The container | |
| | | | | |
| |---|---| | |
| | Family | text-to-speech model | | |
| | Container size | 2.2 GB | | |
| | SHA-256 | `f577583a30e5861b6d819fa15685cb80811f4668eaf199992e786ea7c175830e` | | |
| | Download | [`chatterbox.nbx`](https://huggingface.co/Neurobrix/chatterbox-nbx/blob/main/chatterbox.nbx) in this repo, or [neurobrix.org/models/ResembleAI/chatterbox](https://neurobrix.org/models/ResembleAI/chatterbox) (or `neurobrix import`) | | |
| | License | mit, the original model's | | |
| ## Credits | |
| All credit for the model goes to **ResembleAI**; see the [original model card](https://huggingface.co/ResembleAI/chatterbox) for its training, intended use and | |
| limitations, which apply unchanged. NeuroBrix only packages and runs it. | |
| [GitHub](https://github.com/NeuroBrix) 路 [Hub: neurobrix.org](https://neurobrix.org) 路 [YouTube](https://www.youtube.com/@NeuroBrix) 路 [Documentation](https://docs.neurobrix.org) | |