Instructions to use eugenehp/zonos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Zonos
How to use eugenehp/zonos 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("eugenehp/zonos", 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
File size: 1,347 Bytes
002e5c0 b50b893 002e5c0 b50b893 002e5c0 b50b893 002e5c0 b50b893 002e5c0 b50b893 002e5c0 b50b893 002e5c0 b50b893 002e5c0 b50b893 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | ---
license: apache-2.0
pipeline_tag: text-to-speech
library_name: rlx
tags:
- zonos
- tts
- rlx
---
# Zonos-v0.1 transformer (RLX staging)
Zyphra Zonos-v0.1 transformer weights for RLX.
| Field | Value |
|---|---|
| **Hub id** | [`eugenehp/zonos`](https://huggingface.co/eugenehp/zonos) |
| **Kind** | Staging redistrib of an upstream checkpoint for RLX runners. |
| **RLX crate** | [`rlx-zonos`](https://github.com/MIT-RLX/rlx-models/tree/main/crates/rlx-zonos) |
| **Upstream** | https://huggingface.co/Zyphra/Zonos-v0.1-transformer |
## Quick start
```bash
hf download eugenehp/zonos --local-dir .
cargo run -p rlx-zonos --release -- --model-dir .
```
## File highlights
- `model.safetensors` (3.0 GiB)
- `zonos-v0.1-transformer-f16.gguf` (3.0 GiB)
- `config.json` (2.5 KiB)
## Run with RLX
Clone [rlx-models](https://github.com/MIT-RLX/rlx-models), place this repo under `weights/tts/zonos` (or pass the path explicitly), then:
```bash
cargo run -p rlx-zonos --release -- --model-dir .
```
## License
Apache License 2.0 — see `LICENSE`. Inherit upstream terms when redistributing.
Original weights and authorship: https://huggingface.co/Zyphra/Zonos-v0.1-transformer
## Redistrib note
This Hub repo exists so RLX recipes have a stable fetch target. When you only need the upstream checkpoint, prefer the Upstream link above.
|