Text-to-Speech
ONNX
GGUF
Chinese
English
onnxruntime
tts
on-device
jetson
telephony
vits
mb-istft-vits
multi-speaker
mandarin
taiwanese-mandarin
imatrix
conversational
Instructions to use Luigi/PrimeTTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Luigi/PrimeTTS 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 Luigi/PrimeTTS:F32 # Run inference directly in the terminal: llama cli -hf Luigi/PrimeTTS:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Luigi/PrimeTTS:F32 # Run inference directly in the terminal: llama cli -hf Luigi/PrimeTTS:F32
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Luigi/PrimeTTS:F32 # Run inference directly in the terminal: ./llama-cli -hf Luigi/PrimeTTS:F32
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Luigi/PrimeTTS:F32 # Run inference directly in the terminal: ./build/bin/llama-cli -hf Luigi/PrimeTTS:F32
Use Docker
docker model run hf.co/Luigi/PrimeTTS:F32
- LM Studio
- Jan
- Ollama
How to use Luigi/PrimeTTS with Ollama:
ollama run hf.co/Luigi/PrimeTTS:F32
- Unsloth Studio
How to use Luigi/PrimeTTS with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Luigi/PrimeTTS to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Luigi/PrimeTTS to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Luigi/PrimeTTS to start chatting
- Atomic Chat new
- Docker Model Runner
How to use Luigi/PrimeTTS with Docker Model Runner:
docker model run hf.co/Luigi/PrimeTTS:F32
- Lemonade
How to use Luigi/PrimeTTS with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Luigi/PrimeTTS:F32
Run and chat with the model
lemonade run user.PrimeTTS-F32
List all available models
lemonade list
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -40,9 +40,13 @@ correctly β phone numbers, emails, addresses, prices, dates, temperatures, %,
|
|
| 40 |
| Held-out CER | **0.059** (zh/mix/en, 3-voice avg) | 0.11β0.15 (zh) |
|
| 41 |
| Best on | Jetson Nano **GPU** (also any CPU) | pure **CPU** β Nano **RTF 0.35** (8 kHz, 1 thread) |
|
| 42 |
|
| 43 |
-
Pick **v2.1** for
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
> π **Live demo:** https://huggingface.co/spaces/Luigi/PrimeTTS-vs-Inflect-Nano-v1 β pick a model, pick a voice, type text.
|
| 48 |
|
|
|
|
| 40 |
| Held-out CER | **0.059** (zh/mix/en, 3-voice avg) | 0.11β0.15 (zh) |
|
| 41 |
| Best on | Jetson Nano **GPU** (also any CPU) | pure **CPU** β Nano **RTF 0.35** (8 kHz, 1 thread) |
|
| 42 |
|
| 43 |
+
Pick **v2.1** for multiple voices; pick **v1** when the budget is CPU-only and tight.
|
| 44 |
+
|
| 45 |
+
> **Also: `v2_mbistft_16k/` β PrimeTTS v2, the peak-fidelity single Xinran voice.** Same architecture as v2.1
|
| 46 |
+
> (one speaker) but trained on the *full* clean 29k Xinran corpus, so its Xinran is the most intelligible in
|
| 47 |
+
> the family β **CER 0.027** vs v2.1's 0.059 β at the **same** on-device RTF (0.52 @4thr). Use v2 when you only
|
| 48 |
+
> need Xinran and want the cleanest possible output; use v2.1 when you want a choice of voice.
|
| 49 |
+
> (`v3_4.6M/` and the top-level `*.onnx` are legacy 24 kHz variants, kept for provenance.)
|
| 50 |
|
| 51 |
> π **Live demo:** https://huggingface.co/spaces/Luigi/PrimeTTS-vs-Inflect-Nano-v1 β pick a model, pick a voice, type text.
|
| 52 |
|