Access this expressive TTS model
This repository is publicly accessible, but you have to accept the conditions to access its files and content.
This model is released for non-commercial research only (CC-BY-NC-4.0). It can clone voices. By requesting access you agree to use it only for non-commercial research, to clone a voice only with that person's consent, to disclose that generated speech is synthetic, and never to use it for impersonation, fraud or harassment.
Log in or Sign Up to review the conditions and access this model content.
OmniVoice Expressive v2 β Yoruba, Igbo, Swahili (cross-prompt)
Newer version available: v4. Compare all versions in the demo.
Second version of Professor/omnivoice-expressive-yo-ig-sw. It targets v1's main weakness: when cloning a voice, v1 copied the reference clip's emotion and ignored the style instruction.
What changed
OmniVoice's training cuts the voice prompt from the same clip the model is learning to produce, so the prompt already contains the target emotion. The model learns that copying the prompt is enough, and at inference a calm reference gives calm output whatever the instruction says.
v2 continues from v1's final checkpoint for one more epoch on cross-prompt data: 60% of the emotional clips are rebuilt as [a clip of the same voice in a different emotion] + [the target clip], with the prompt boundary set explicitly and no loss on the prompt. Copying the prompt now gives the wrong emotion, so the emotion has to come from the instruction. The remaining emotional clips mostly train with no prompt at all (only_instruct_ratio raised from 0.3 to 0.7), and the 45k real neutral clips are unchanged.
Correction: earlier versions of this card said 70% of samples trained with no voice. only_instruct_ratio does not apply to cross-prompt samples, so the real mix was about 24% of emotional samples with no voice, 60% cross-prompt, about 10% with a voice cut from the same clip and about 4% with all conditioning dropped.
| v1 | v2 | |
|---|---|---|
| Start from | k2-fsa/OmniVoice |
v1 final checkpoint |
| Steps | 5,632 (1 epoch) | 8,034 (1 epoch, cross-prompt data) |
| Learning rate | 1e-5 | 2e-5 |
| Cross-prompt samples | none | 60% of emotional clips |
only_instruct_ratio |
0.3 | 0.7 |
| Dev loss (every 1k steps) | 3.99 β 3.90 | 4.0065 β 3.9013 β 3.8838 β 3.8704 β 3.8962 β 3.9142 β 3.8673 β 3.9003 |
Dev loss is not comparable between the two: v2's dev set contains cross-prompt samples, which are a harder task.
Quick start
Same as v1. Stock OmniVoice rejects free-text style instructions, so load the helper expressive_instruct.py from this repo and call enable() first:
import importlib.util, soundfile as sf, torch
from huggingface_hub import hf_hub_download
from omnivoice import OmniVoice
path = hf_hub_download("Professor/omnivoice-expressive-yo-ig-sw-v2", "expressive_instruct.py")
spec = importlib.util.spec_from_file_location("expressive_instruct", path)
ei = importlib.util.module_from_spec(spec); spec.loader.exec_module(ei); ei.enable()
model = OmniVoice.from_pretrained("Professor/omnivoice-expressive-yo-ig-sw-v2", device_map="cuda:0", dtype=torch.float16)
audio = model.generate(
text="αΊΈ kÑà Ñrα»Μ, αΉ£Γ© dΓ‘adΓ‘a lαΊΉ jΓ?", language="yo",
instruct="a tearful, crying, sobbing tone",
ref_audio="voice.wav", ref_text="transcript of voice.wav", # optional: clone a voice
)
sf.write("out.wav", audio[0], 24000)
Style strings, voice-design words (male, female, child, elderly, high pitch) and language codes are the same as in v1; see the v1 card for the full list.
Does the emotion follow the instruction when cloning?
Same sentences, same reference voices, five styles. A rough automatic measure of how much the styles differ from each other is the spread across the five styles of pitch variation (F0 std) and loudness (RMS): bigger means the styles sound more different. This is not an emotion classifier; listening is the real test.
| Language | Reference | F0-std spread v1 β v2 (Hz) | Loudness spread v1 β v2 |
|---|---|---|---|
| Yoruba | Calm Gemini clip | 5.4 β 26.6 | 0.010 β 0.016 |
| Yoruba | real neutral recording | 16.7 β 25.5 | 0.022 β 0.062 |
| Igbo | Calm Gemini clip | 34.6 β 12.5 | 0.018 β 0.036 |
| Igbo | real neutral recording | 41.2 β 93.8 | 0.020 β 0.257 |
| Swahili | Calm Gemini clip | 9.8 β 107.3 | 0.016 β 0.071 |
| Swahili | real neutral recording | 14.1 β 94.8 | 0.011 β 0.011 |
Samples
Yoruba
Soil testing kits ti guide better fertilizer application Γ ti improve crop output.
| Style | v1 cloned (Calm Aoede) |
v2 cloned (Calm Aoede) |
v2 cloned (real neutral voice) | v2 instruction only |
|---|---|---|---|---|
| neutral | ||||
| happy | ||||
| crying | ||||
| angry | ||||
| whisper |
Igbo
Etikwala nwanne gα» nwanyα» α»he α»zα»!
| Style | v1 cloned (Calm Despina) |
v2 cloned (Calm Despina) |
v2 cloned (real neutral voice) | v2 instruction only |
|---|---|---|---|---|
| neutral | ||||
| happy | ||||
| crying | ||||
| angry | ||||
| whisper |
Swahili
Amejifunga miguu akiwa ameketi kwenye sofa na mbele yake kuna kompyuta mpakato imefunguliwa.
| Style | v1 cloned (Calm sw-ke-advisor-1) |
v2 cloned (Calm sw-ke-advisor-1) |
v2 cloned (real neutral voice) | v2 instruction only |
|---|---|---|---|---|
| neutral | ||||
| happy | ||||
| crying | ||||
| angry | ||||
| whisper |
Limitations
- Evaluated by a rough acoustic measure only. Whether the emotions are now clearly distinct when cloning needs listening.
- Two epochs in total, trained in a fixed compute window, on unfiltered data (CER, DNSMOS and silence scores are in the dataset metadata for filtering in later runs).
- Synthetic emotional data whose voices and styles come from six Gemini voices per language.
low pitchis overridden by emotions (seen in v1; not re-tested).
Responsible use
- Consent. Clone a voice only with that person's consent. Impersonation, fraud, scams, harassment and passing synthetic speech off as real are prohibited. These are the same terms as the OmniVoice base model.
- Disclosure. Say when speech is AI-generated.
- Training voices. The emotional training voices are synthetic Gemini TTS voices. The neutral training clips are real recordings by consenting corpus speakers.
- Errors. Expect pronunciation and tone errors, especially in Yoruba. This is a research model, not a production system.
License
CC-BY-NC-4.0: non-commercial research use only.
- OmniVoice weights are CC-BY-NC (training data such as Emilia).
- Training data:
- synthetic clips from
Professor/expressive-tts-synthetic-speech-parquet(CC-BY-NC-SA-4.0); - real neutral recordings from pooled corpora: NaijaVoices (CC-BY-NC-SA-4.0), DSN African Voices (CC-BY-4.0), YECS (LyngualLabs), Afrivoice Swahili (CC-BY-4.0) and WAXAL (CC-BY-SA-4.0). Follow their share-alike terms for anything you derive from this data.
- synthetic clips from
- Gemini disclosure: the voices and styles of the emotional data come from Google Gemini TTS output. Gemini's API terms restrict using the service to develop competing models. The model is released for non-commercial research only, and users are responsible for their own compliance.
Please attribute:
- NaijaVoices
- DSN African Voices (Data Science Nigeria)
- YECS (LyngualLabs)
- Afrivoice Swahili (Digital Umuganda)
- WAXAL (Google)
- OmniVoice (k2-fsa)
Part of
The CMU-Africa Γ Intron capstone on expressive TTS for Yoruba, Igbo and Swahili, built by:
- Bellah Ellam
- Godwill Nyong
- John Uzodinma
- Stacy Cheruto
- Victor Olufemi
- Whoopie Wanjiru
Latest version: v4. Compare all versions: the comparison demo.
- Downloads last month
- 9
Model tree for Professor/omnivoice-expressive-yo-ig-sw-v2
Base model
Qwen/Qwen3-0.6B-Base