Instructions to use litert-community/ZONOS3-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/ZONOS3-Mini with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download desktop/README.md from litert-community/ZONOS3-Mini: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/litert-community/ZONOS3-Mini/resolve/main/desktop/README.md
- Command line
-
hf download hf://litert-community/ZONOS3-Mini/desktop/README.md
-
curl -L -o README.md https://huggingface.co/litert-community/ZONOS3-Mini/resolve/main/desktop/README.md
One English sentence on macOS
Use the three fp32 graphs in graphs/, the local author snapshot at e39d30df560125d9c434acd5cb0e83e4c2d64e0d and the Python environment in requirements.txt. The snapshot supplies the tokenizer, voice table, host weights and the author’s request and sampling code. The command uses four Mac CPU threads. Model source at commit e39d30df
From the release root, set MODEL to the local snapshot directory and run the following command. Supply a fresh output directory.
python -I -B desktop/speak.py "Please remember to bring an umbrella." --model "$MODEL" --graphs graphs --out umbrella
Listen to umbrella/speech.wav (mono PCM16 at 44100 Hz). umbrella/codes.npy contains ten int32 codes per frame. umbrella/waveform.npy contains the served float32 samples before PCM quantization, and umbrella/run.json records the seed, dimensions and graph call counts.
Savannah uses released voice codes. For a recording, add --speaker-wav reference.wav; the speaker graph uses up to the first ten seconds and returns a 192-float embedding. With --seed N, the author’s sampler uses its PyTorch CPU generator. Add --draws kit/takes/s00/draws.f32 to use the stored exponential variates instead. Exact s00 replay also uses its original sentence, Savannah and seed 1000. A sentence must fit the 768-position LM cache and the 150-frame decoder bucket.
The tested interpreter was CPython 3.12.13 on arm64 macOS 27.0. requirements.txt gives the installed version and its PyPI page for each direct dependency and its active transitive dependencies. Model and graph loading is local. The Transformers module cache uses HF_HOME, defaulting to .zonos-cache/hf under the working directory.