Skip to content

Evaluation scripts for the Open TTS Leaderboard: https://huggingface.co/spaces/hf-audio/open_tts_leaderboard

Python

OmniVoice: add two Vietnamese fine-tunes (#42)

zohuyhieuzo037307b3d0967a
diff --git a/omnivoice/submit_jobs.sh b/omnivoice/submit_jobs.sh
index 85c2399..82f1e0b 100644
--- a/omnivoice/submit_jobs.sh
+++ b/omnivoice/submit_jobs.sh
@@ -12,6 +12,10 @@ RUN_EVAL_INJECT="$(inject_run_eval)"
# VOICE_CLONE=true: zero-shot voice cloning + SIM; false (default) = auto-voice.
SUPPORTS_VOICE_CLONE=true
+# Vietnamese fine-tunes of OmniVoice (same architecture and loader): score them on Vietnamese only.
+VI_FINETUNES=" kjanh/KhanhTTS-OmniVoice splendor1811/omnivoice-vietnamese "
+supports_language() { [[ "${VI_FINETUNES}" != *" ${MODEL_ID} "* || "$1" == "vi" ]]; }
+
# ── Stage 1: TTS generation. MODEL_CFG = "model_id batch_size". ──
generate_stage() {
local _ BATCH_SIZE
@@ -80,6 +84,8 @@ DATASET_CONFIGS=(
# ── Models: "model_id batch_size" (CLI args override) ────────────────────────
MODEL_CONFIGS=(
"k2-fsa/OmniVoice 32"
+ "kjanh/KhanhTTS-OmniVoice 32"
+ "splendor1811/omnivoice-vietnamese 32"
)
[[ $# -gt 0 ]] && MODEL_CONFIGS=("$@")