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
- Local Apps Settings
- llama.cpp
How to use Zyphra/ZONOS3-Mini with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Zyphra/ZONOS3-Mini # Run inference directly in the terminal: llama cli -hf Zyphra/ZONOS3-Mini
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Zyphra/ZONOS3-Mini # Run inference directly in the terminal: llama cli -hf Zyphra/ZONOS3-Mini
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Zyphra/ZONOS3-Mini # Run inference directly in the terminal: ./build/bin/llama cli -hf Zyphra/ZONOS3-Mini
Use Docker
docker model run hf.co/Zyphra/ZONOS3-Mini
- Llama new
- LM Studio
- Jan
- Ollama
How to use Zyphra/ZONOS3-Mini with Ollama:
ollama run hf.co/Zyphra/ZONOS3-Mini
- Unsloth Desktop
- Docker Model Runner
How to use Zyphra/ZONOS3-Mini with Docker Model Runner:
docker model run hf.co/Zyphra/ZONOS3-Mini
- Lemonade
How to use Zyphra/ZONOS3-Mini with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Zyphra/ZONOS3-Mini
Run and chat with the model
lemonade run user.ZONOS3-Mini-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
It doesn`t read apostrophe
It cant read apostrophe so it reads "Theyre" as "They"and skips the apostrophe on almost everything so its not suitable for audiobooks or literally anything that contains an apostrophe. Tried both offline and on webgpu same result and different voices male and female too. For example here it reads as "They" : “They’re blood typing in Biology.” Another example, it says "nurse door" instead of "nurses door" it skips: I opened my eyes. I was in the office, and Edward was striding past the front counter toward the nurse’s door.
Original audio:
Full text:
“Oh my,” I heard a female voice gasp.
“She fainted in Biology,” Edward explained.
I opened my eyes. I was in the office, and Edward was striding past the
front counter toward the nurse’s door. Ms. Cope, the redheaded front office
receptionist, ran ahead of him to hold it open. The grandmotherly nurse
looked up from a novel, astonished, as Edward swung me into the room
and placed me gently on the crackly paper that covered the brown vinyl
mattress on the one cot. Then he moved to stand against the wall as far
across the narrow room as possible. His eyes were bright, excited.
“She’s just a little faint,” he reassured the startled nurse. “They’re
blood typing in Biology.”
The nurse nodded sagely. “There’s always one.”
He muffled a snicker.
“Just lie down for a minute, honey; it’ll pass.”
“I know,” I sighed. The nausea was already fading.
Yes, it doesn't like that character sorry. We'll add a case in our text normalization framework to fix it. Thank you very much for your report!
Will close when the fix is up.
This is a great catch!
' is the straight apostrophe (U+0027).
’ is the curly apostrophe, officially the “right single quotation mark” (U+2019). Word processors and ebooks put it in automatically (“smart quotes”), which is why your passage has it in “nurse’s” and “She’s.”
we only trained with the straight apostrophe so the model doesn't handle the unknown character here. We are about to release a text norm package to handle all of the different types of characters that can appear in the wild and we will include a substitution for this so it sounds correct :) thankyou so much for the bug comment!!
I can't claim it was made for exactly this purpose, but I saw this discussion and I thought I'd plug my aggressive Unicode normalization and transliteration package: https://pypi.org/project/rehuman/
It should normalize all your apostrophes you want . Written in pure Rust btw 😎