Instructions to use Zyphra/ZONOS3-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Zonos
How to use Zyphra/ZONOS3-Mini 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/ZONOS3-Mini", 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
Ctrl+K
- 144 kB
- 65.5 MB xet
- 66.2 MB xet
- 63.2 MB xet
- 66.2 MB xet
- 66.2 MB xet
- 63.2 MB xet
- 66.2 MB xet
- 66.1 MB xet
- 63.6 MB xet
- 66.1 MB xet
- 66.3 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 65.6 MB xet
- 55.8 MB xet