Downloads · 30 days
24
11% of all-time downloads
multilingual-tts/F5-TTS-OpenBible-Chichewa
F5-TTS-OpenBible-Chichewa is a text-to-speech model from multilingual-tts. Use it when you need text read aloud. It is set up for f5-tts. The card lists the license as cc-by-sa-4.0.
A zero-shot text-to-speech model for Chichewa, trained from scratch on the Open Bible corpus using the F5-TTS architecture (diffusion transformer with vocos vocoder, 24 kHz output).
Downloads · 30 days
24
11% of all-time downloads
All-time downloads
222
Public
Repo size
5.4 GB
Likes
0
Public
Click a slice to open those files.
.pt5.4 GB · 100%
From the Hugging Face model README
A zero-shot text-to-speech model for Chichewa, trained from scratch on the Open Bible corpus using the F5-TTS architecture (diffusion transformer with vocos vocoder, 24 kHz output).
The model takes a short reference audio clip (5–10 seconds) and a target text, and synthesises the target text in the voice of the reference speaker. No fine-tuning per voice is required.
| File | Purpose |
|---|---|
model_last.pt | Trained model weights. |
vocab.txt | Character vocabulary built from the training transcripts. |
F5-TTS_OpenBible_Chichewa.yaml | Hydra training/inference config (architecture, mel spec settings, tokenizer). |
Install F5-TTS:
pip install git+https://github.com/SWivid/F5-TTS.git
Download the checkpoint and run inference:
import torch
from huggingface_hub import hf_hub_download
from hydra.utils import get_class
from omegaconf import OmegaConf
from f5_tts.infer.utils_infer import infer_process, load_model, load_vocoder, preprocess_ref_audio_text
repo_id = "multilingual-tts/F5-TTS-OpenBible-Chichewa"
ckpt = hf_hub_download(repo_id, "model_last.pt")
vocab = hf_hub_download(repo_id, "vocab.txt")
config = hf_hub_download(repo_id, "F5-TTS_OpenBible_Chichewa.yaml")
device = "cuda" if torch.cuda.is_available() else "cpu"
model_cfg = OmegaConf.load(config)
model_cls = get_class(f"f5_tts.model.{model_cfg.model.backbone}")
vocoder = load_vocoder(vocoder_name="vocos", is_local=False, device=device)
model = load_model(
model_cls, model_cfg.model.arch, ckpt,
mel_spec_type="vocos", vocab_file=vocab, use_ema=True, device=device,
)
# Supply your own clean reference clip — 5–10 s, single speaker and its transcription.
ref_audio = "/path/to/your-chichewa-clip.wav"
ref_text = "Exact transcription of the clip"
gen_text = "..." # text to synthesise in Chichewa
ref_audio_proc, ref_text_proc = preprocess_ref_audio_text(ref_audio, ref_text)
wav, sr, _ = infer_process(
ref_audio_proc, ref_text_proc, gen_text, model, vocoder,
mel_spec_type="vocos", device=device,
)
davidguzmanr/open-bible-resources, config ChichewaAudio preprocessing, vocab generation, and config sizing are reproducible via the upstream open-bible-models repo.
Evaluated alongside other Open-Bible TTS systems on character/word error rate (via Meta's Omnilingual ASR) and UTMOSv2 naturalness scores. See the open-bible-models repository for the evaluation pipeline and the open-bible-surveys repository for the human-listening survey methodology.