Skip to content
ModelListedExternal
Download

Omnivoice Yoruba Tts

This model is a fine-tuned version of k2-fsa/OmniVoice on a Yoruba speech dataset.

KindText modelVersion

Model source

Kind
Text model
File size
2.28 GB
Version
vmodel
Updated
Sep 22, 2026
Downloads
11
Tasks
Audio
Source
Hugging Face

Source description

OmniVoice Yoruba Fine-tune

This model is a fine-tuned version of k2-fsa/OmniVoice on a Yoruba speech dataset.

Training Data

Evaluation

  • Intelligibility (WER): Evaluated using a Yoruba-finetuned Whisper model (ccibeekeoc42/whisper-small-yoruba-07-17), the generated speech achieves an excellent Normalized Word Error Rate (WER) of ~11.5%. This demonstrates highly intelligible and tonally accurate Yoruba synthesis.
  • Speaker Similarity: Cosine similarity scores for zero-shot voice cloning range between 0.2 and 0.4. The speech is clear and accurate, though perfect voice identity replication might require longer training or additional diverse speaker data.

Credits

  • Special thanks to the creators of the IroyinSpeech corpus and the contributors/maintainers of the Google Yoruba Speech Dataset on OpenSLR.

Usage & Voice Selection (Zero-shot Voice Cloning)

Because this model is built on top of OmniVoice, you must have the OmniVoice repository cloned and installed. The following Python snippet handles the repository setup automatically and synthesizes Yoruba speech using a reference audio of your choice.

import sys
import os

# If the environment lacks OmniVoice, clone and install it automatically
if not os.path.exists('/content/OmniVoice'):
    print("OmniVoice directory not found. Cloning and installing...")
    os.system('git clone https://github.com/k2-fsa/OmniVoice.git /content/OmniVoice')
    os.system('pip install -q -e /content/OmniVoice')

# Ensure the OmniVoice directory is in the Python path
omnivoice_path = '/content/OmniVoice'
if os.path.exists(omnivoice_path) and omnivoice_path not in sys.path:
    sys.path.append(omnivoice_path)

from omnivoice import OmniVoice
import soundfile as sf

# Load the fine-tuned model
print("Loading OmniVoice model from Sam4rano/omnivoice-yoruba-tts...")
model = OmniVoice.from_pretrained("Sam4rano/omnivoice-yoruba-tts")

# 1. Choose your reference audio (controls the speaker voice identity)
# Provide a path to a 5-10 second clip of the target voice (male or female)
ref_audio_path = "path/to/your_reference_audio.wav"
ref_text = "The exact text transcription spoken in the reference audio."

# 2. Synthesize Yoruba Speech
print("Synthesizing speech...")
audio = model.generate(
    text="Ẹ kú àárọ̀.",
    ref_audio=ref_audio_path,
    ref_text=ref_text
)

# 3. Save output
out_path = "output_test.wav"
sf.write(out_path, audio[0], 24000)
print(f"✅ Synthesis complete! Saved to {out_path}")

Sources

1 source
Hugging FacePrimaryVersion 921de7d7364c308c83eb3a857370d288deb68427
huggingface.co/Sam4rano/omnivoice-yoruba-tts/tree/921de7d7364c308c83eb3a857370d288deb68427

Verified Sep 21

Model artifacts

1 artifact

checkpoint-4000/model.safetensors

safetensors · 2.28 GB · SHA-256 e58833c7b484…232a · Hugging Face

Download

Source excerpts

2 excerpts

--- language: - yo tags: - text-to-speech - omnivoice - yoruba license: apache-2.0 datasets: - iroyinspeech - openSLR-86 --- # OmniVoice Yoruba Fine-tune This model is a fine-tuned version of `k2-fsa/OmniVoice` on a Yoruba speech dataset. ## Training Data * **Total Duration:** ~9.6 hours of Yoruba speech * **Utterances:** 6,989 * **Sampling Rate:** 24 kHz * **Data Sources:** * [**IroyinSpeech** dataset](https://huggingface.co/datasets/Tundragoon/IroyinSpeech) * [**Google Yoruba Speech Dataset (OpenSLR 86)**](https://openslr.trmal.net/resources/86/) ## Evaluation * **Intelligibility (WER):** Evaluated using a Yoruba-finetuned Whisper model (`ccibeekeoc42/whisper-small-yoruba-07-17`), the generated speech achieves an excellent **Normalized Word Error Rate (WER) of ~11.5%**. This demonstrates highly intelligible and tonally accurate Yoruba synthesis. * **Speaker Similarity:** Cosine similarity scores for zero-shot voice cloning range between 0.2 and 0.4. The speech is clear and accurate, though perfect voice identity replication might require longer training or additional diverse speaker data. ## Credits * Special thanks to the creators of the **IroyinSpeech** corpus and the contributors/maintainers of the **Google Yoruba Speech Dataset** on OpenSLR. ## Usage & Voice Selection (Zero-shot Voice Cloning) Because this model is built on top of OmniVoice, you must have the OmniVoice repository cloned and installed. The following Python snippet handles the repository setup automatically and synthesizes Yoruba speech using a reference audio of your choice. ```python import sys import os # If the environment lacks OmniVoice, clone and install it automatically if not os.path.exists('/content/OmniVoice'): print("OmniVoice directory not found. Cloning and installing...") os.system('git clone https://github.com/k2-fsa/OmniVoice.git /content/OmniVoice') os.system('pip install -q -e /content/OmniVoice') # Ensure the OmniVoice directory is in the Python path omnivoice_path = '/content/OmniVoice' if os.path.exists(omnivoice_path) and omnivoice_path not in sys.path: sys.path.append(omnivoice_path) from omnivoice import OmniVoice import soundfile as sf # Load the fine-tuned model print("Loading OmniVoice model from Sam4rano/omnivoice-yoruba-tts...") model = OmniVoice.from_pretrained("Sam4rano/omnivoice-yoruba-tts") # 1. Choose your reference audio (controls...

Source context: 11 downloads · 1 likes · Pipeline text-to-speech · Repo Sam4rano/omnivoice-yoruba-tts