########################## # Text definitions # ########################## BANNER = ( '
' '

🗣️ Open TTS Leaderboard

' '
' ) INTRODUCTION_TEXT = ( "📐 The 🗣️ **Open TTS Leaderboard** benchmarks open-source " "text-to-speech models on **intelligibility** (WER), **speed** (RTFx, TTFA), **naturalness** (UTMOS for English, KOMOS for Korean), and **speaker similarity** (SIM).\n\n" "Models are scored across five multilingual eval sets " "(Seed-TTS eval, " "CV3-Eval, " "MiniMax's TTS-Multilingual-Test-Set, " "Neyshekar and " "ZTTS2-Mini-clean) for the language it supports, both without " "voice cloning (the model's own default voice) and — where the model supports it — " "with voice cloning from a reference clip.\n\n" "**⚠️ TO REQUEST A MODEL/DATASET/METRIC: open a pull request or issue on the " "GitHub repo! " "See here for adding a new model.**" ) CITATION_TEXT = """@misc{open_tts_leaderboard, title={Open TTS Leaderboard}, author={Hugging Face Audio Team}, year={2026}, url={https://huggingface.co/spaces/hf-audio/open_tts_leaderboard}, } """ VERSIONING_TEXT = ( "Versioning follows [semver](https://semver.org/): MINOR bumps when datasets, normalization, or " "a UI/feature changes (what's measured or how); PATCH bumps for " "model-only additions/removals or UI bugfixes/features. An entry that " "adds models alongside a dataset/feature change still counts as MINOR." ) LEADERBOARD_TAB_TEXT = """ ## 🏅 Leaderboard Averages across the selected **languages** and **datasets**. A model is **ranked**, with a headline average, only if it has results for **every** selected language on **every** selected dataset, so all ranked models are compared on the same set. If batch inference is supported, the model is evaluated with **batch size 32**; otherwise, it is evaluated at **batch size 1**. See the 🗣️ Streaming tab for single-request, streaming-mode latency instead. Evals are run with HF jobs, flavor `h200` (unless noted otherwise): 1x H200 (141 GB), 23 vCPU, 256 GB RAM, 3000 GB storage See the 🤗 About tab for metric definitions (WER, RTFx, SIM, TTFA, UTMOS, KOMOS). """ STREAMING_TAB_TEXT = """ ## 🗣️ Streaming (batch size 1) How fast a model *starts* talking, and how it keeps up once it does — the numbers that matter for a live, single-request conversation rather than a batch job. | Metric | Description | |--------|-------------| | **TTFA p95 (ms) ⬇️** | Time-to-first-audio, 95th percentile — the slow-tail case, which the ranking is sorted by where available. Lower is better. | | **TTFA p50 (ms) ⬇️** | Time-to-first-audio, median: milliseconds from request to the first streamed audio chunk. Lower is better. | | **RTFx ⬆️** | Inverse Real-Time Factor while streaming — seconds of audio produced per second of compute. Higher is better. | Toggle **A100 / CPU / H200** below for where the model ran. All three use Hugging Face Jobs: `a100-large` for A100, `cpu-upgrade` for CPU, and `h200` for H200. All three are measured with **batch size 1**, with a warmup of 3 samples then timed on the remaining 497 samples from CV3-Eval's English split. """ ABOUT_TAB_TEXT = """ ## 🤗 About the Open TTS Leaderboard ## Metrics | Metric | Description | |--------|-------------| | **WER ⬇️** | Word Error Rate of an ASR transcription (using [Qwen/Qwen3-ASR-1.7B-hf](https://huggingface.co/Qwen/Qwen3-ASR-1.7B-hf), or [openai/whisper-large-v3](https://huggingface.co/openai/whisper-large-v3) for some ZTTS2-Mini-clean languages — see Datasets) of the generated speech vs. the input text. Lower is better. | | **RTFx ⬆️** | Inverse Real-Time Factor, i.e. generated audio duration ÷ generation time. RTFx of 10 means the model produces 10 seconds of audio per second of compute. Measured on the **same GPU for every model**, at **batch size 32** where the model supports batched inference, otherwise batch size 1. See the 🗣️ Streaming tab for single-request, streaming-mode latency instead. Higher is better. | | **SIM ⬆️** | Speaker similarity: cosine similarity between WavLM speaker embeddings of the generated audio and the reference clip, using the speaker similarity model of [seed-tts-eval](https://github.com/BytedanceSpeech/seed-tts-eval#metrics). Reported for voice-cloning runs only. Higher is better. | | **UTMOS ⬆️** | Predicted naturalness (MOS) of the generated speech from [UTMOS22](https://github.com/sarulab-speech/UTMOS22), computed with [SpeechMOS](https://github.com/tarepan/SpeechMOS), on a 1–5 scale. **English only** — UTMOS22 was trained on English speech, so it isn't reported for other languages. Higher is better. | | **KOMOS ⬆️** | Predicted naturalness (MOS) of the generated speech from [KOMOS](https://github.com/upskyy/komos), UTMOS's Korean counterpart, on a 1–5 scale. **Korean only** — shown once 🇰🇷 Korean is one of the selected languages. Higher is better. | | **TTFA ⬇️** | Time-to-first-audio (median): milliseconds from request to the first streamed audio chunk (batch size 1). Lower is better. | ## Datasets | Dataset | Languages | # prompts | Content type | License | |---------|-----------|-----------|--------------|---------| | [Seed-TTS eval](https://github.com/BytedanceSpeech/seed-tts-eval) | English, Chinese | 1,088 (en), 2,020 (zh) | Read speech (Common Voice en, DiDiSpeech zh) | Not specified ¹ | | [CV3-Eval](https://github.com/QwenAudio/CV3-Eval) | English, Chinese, French, Spanish, German, Italian, Japanese, Korean, Russian | 500 | Read speech (zero-shot split) | Not specified ² | | [MiniMax's TTS-Multilingual-Test-Set](https://huggingface.co/datasets/MiniMaxAI/TTS-Multilingual-Test-Set) | English, Chinese, Cantonese, Japanese, Korean, French, German, Spanish, Italian, Portuguese, Russian, Dutch, Polish, Czech, Romanian, Greek, Finnish, Turkish, Arabic, Hindi, Indonesian, Thai, Vietnamese ³ | 100 | Read speech (Common Voice voice prompts) | CC-BY-SA-4.0 | | [Neyshekar](https://huggingface.co/datasets/shekar-ai/Neyshekar) | Persian | ~2,100 (fa) | Crowdsourced read speech | CC0-1.0 | | [ZTTS2-Mini-clean](https://github.com/Zyphra/ZTTS2-Eval) ⁴ | English, Chinese, German, Spanish, French, Italian, Japanese, Korean, Russian, Portuguese, Arabic, Hindi, Turkish, Polish, Indonesian, Thai, Filipino, Dutch, Vietnamese, Czech, Swedish, Danish, Finnish, Greek, Hungarian, Romanian, Ukrainian, Norwegian, Hebrew, Bulgarian, Croatian, Slovak, Catalan, Malay, Persian | 53–149 | Read speech (FLEURS-R) | CC-BY-4.0 | ¹ **Seed-TTS eval**'s repo is marked *other*, but the benchmark data carries no separate license; its audio is drawn from Common Voice (English) and DiDiSpeech (Chinese). ² **CV3-Eval**'s code is Apache-2.0, but the benchmark data carries no separate license; its audio is drawn from Common Voice, FLEURS, EmoBox and web-crawled sources. ³ **MiniMax** also ships a Ukrainian split, but [Qwen/Qwen3-ASR-1.7B-hf](https://huggingface.co/Qwen/Qwen3-ASR-1.7B-hf) doesn't score Ukrainian, so it's excluded here. ⁴ **ZTTS2-Mini-clean** is the *clean* split (FLEURS-R source) of [ZTTS2-Eval](https://github.com/Zyphra/ZTTS2-Eval). Its speech is transcribed with [Qwen/Qwen3-ASR-1.7B-hf](https://huggingface.co/Qwen/Qwen3-ASR-1.7B-hf) for the 23 languages that model also scores on the splits above — so the same ASR scores a given language wherever it appears — and with [openai/whisper-large-v3](https://huggingface.co/openai/whisper-large-v3) for the remaining 12: Filipino, Swedish, Danish, Hungarian, Ukrainian, Norwegian, Hebrew, Bulgarian, Croatian, Slovak, Catalan and Malay. ## Voice cloning Models are evaluated in two modes: - **Without voice cloning** — the model speaks in its own default/built-in voice. - **With voice cloning** — the model is conditioned on a reference audio clip and must reproduce that speaker. Only models that support conditioning appear in this mode, and it is the only mode where **SIM** is reported. The two modes are separate evaluations: a model's WER in cloning mode is generally *not* the same as its WER without cloning. ## How models are evaluated 1. Each model synthesizes the same set of texts (plus a reference clip, in cloning mode). 2. Generation is timed to derive **RTFx**. 3. The generated audio is transcribed with a reference ASR model, normalized, and compared to the input text to compute **WER**. The normalization is similar to that of the [Open ASR Leaderboard](https://github.com/huggingface/open_asr_leaderboard). 4. In cloning mode, speaker embeddings of the generation and the reference give **SIM**. 5. Per-language scores are averaged across the datasets you select; the headline average is the macro-average over the languages you select. Like the Open ASR Leaderboard, the evaluation scripts plan to be open-sourced so you can run the results yourself and submit a PR with your own model's results. ## How to submit a model See on [GitHub](https://github.com/huggingface/open-tts-leaderboard#adding-a-new-model)! """ VIBE_CHECK_TAB_TEXT = """ ## 🎧 Listen Numbers only tell part of the story. Pick a dataset and hit the **"🎧 Listen"** button. You can optionally select the models and sample you want to hear, or leave them blank to get a random sample from the dataset. Nothing is synthesised on-the-fly: the clips come straight from the stored eval runs in hf-audio/tts_leaderboard_h200, so what you hear is exactly what the WER, RTFx and SIM numbers were computed from. Toggle **"🎙️ Voice cloning"** to hear sample voice cloning results (along with the reference audio). """ # ------------------------------------------------------------------ # CSS # ------------------------------------------------------------------ LEADERBOARD_CSS = """ /* Markdown tables (Metrics/Datasets on the Leaderboard, Streaming and About tabs): a short first column ("Metric", "Dataset") next to a long description one gets squeezed down to a sliver by the browser's table auto-layout, wrapping mid-word. Force it to size to its own content. */ .markdown-text table th:first-child, .markdown-text table td:first-child { white-space: nowrap; } .lb-table th, .lb-table td { min-width: 100px; } .lb-table th .header-content { white-space: nowrap; } .lb-table td { white-space: nowrap; overflow: visible !important; text-overflow: clip !important; max-width: none !important; } .lb-table { width: 100% !important; table-layout: auto !important; } /* Rank is the leftmost column. The header's label sits in a .header-button the component hard-codes to `text-align: left`, which wins over a plain inherited override from the — so it has to be beaten directly, not just at the / level. */ .lb-table th:first-child, .lb-table td:first-child { text-align: center !important; } .lb-table th:first-child .header-content { justify-content: center !important; } .lb-table th:first-child .header-button { justify-content: center !important; text-align: center !important; } .lb-table td:first-child .cell-wrap { justify-content: center !important; } .submission-card { background: var(--background-fill-primary); border: 1px solid var(--border-color-primary); border-radius: 8px; padding: 1rem; margin: 0.5rem 0; } /* The vote relay textbox: visible=True so the component actually mounts a