Instructions to use Zyphra/Zonos-v0.1-transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Zonos
How to use Zyphra/Zonos-v0.1-transformer with Zonos:
# pip install git+https://github.com/Zyphra/Zonos.git import torchaudio from zonos.model import Zonos from zonos.conditioning import make_cond_dict model = Zonos.from_pretrained("Zyphra/Zonos-v0.1-transformer", device="cuda") wav, sr = torchaudio.load("speaker.wav") # 5-10s reference clip speaker = model.make_speaker_embedding(wav, sr) cond = make_cond_dict(text="Hello, world!", speaker=speaker, language="en-us") codes = model.generate(model.prepare_conditioning(cond)) audio = model.autoencoder.decode(codes)[0].cpu() torchaudio.save("sample.wav", audio, model.autoencoder.sampling_rate) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -145,4 +145,13 @@ docker build -t Zonos .
|
|
| 145 |
docker run -it --gpus=all --net=host -v /path/to/Zonos:/Zonos -t Zonos
|
| 146 |
cd /Zonos
|
| 147 |
python sample.py # this will generate a sample.wav in /Zonos
|
| 148 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
docker run -it --gpus=all --net=host -v /path/to/Zonos:/Zonos -t Zonos
|
| 146 |
cd /Zonos
|
| 147 |
python sample.py # this will generate a sample.wav in /Zonos
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
## Citation
|
| 151 |
+
If you find this model useful in an academic context please cite as:
|
| 152 |
+
```bash
|
| 153 |
+
@misc{zyphra2025zonos,
|
| 154 |
+
title = {Zonos-v0.1: An Expressive, Open-Source TTS Model},
|
| 155 |
+
author = {Zyphra},
|
| 156 |
+
year = {2025},
|
| 157 |
+
}
|