Kakara speaks Kalenjin. It is Kokoro-82M (82 M parameters) fine-tuned on about 290 hours of Kalenjin speech, and it runs faster than real time on an ordinary laptop CPU, with no GPU and no PyTorch.
Three voices: female, male, and blend (an average of many speakers).
pip install onnxruntime numpy soundfile huggingface_hub
from huggingface_hub import snapshot_download
import sys; path = snapshot_download("KalenjinAI/kakara"); sys.path.insert(0, path)
from kakara import Kakara
tts = Kakara(path)
tts.save("Chamgei, amache ityem modelit ni kibare Kakara.", "out.wav", voice="female") # 24 kHz WAV
audio = tts("Abaibai amun keib kasarta ityem.", voice="male") # numpy array
Command line, from the downloaded folder: python kakara.py "Chamgei, amache ityem modelit ni kibare Kakara." --voice male --out out.wav
Text is converted to phonemes by rule (kln_g2p.py), with English loanwords recognised and pronounced as English
(kln_english.py). Numbers are read out in Kalenjin. No espeak is needed.
PyTorch users can load kakara.pth with kokoro.KModel(repo_id="hexgrad/Kokoro-82M", config="config.json", model="kakara.pth")
and pass torch.from_numpy(np.load("voices/female.npy"))[len(phonemes) - 1] as the voice.
Generated with speed=1.3.
| female | male | blend | |
|---|---|---|---|
| Kongoi missing en toretet ne koigonan amun koanetkee tuguk chechang' chebo muswoknatet. | |||
| Ye kiger sugul en arawet ne isibu, atinye tuiyet nebo chaik en Kericho tarigit taman ak sisiit. | |||
| Kaitit yu missing, kaatuch gee ak branketisiek mut che nyigisen ago kaitit kora. |
20 held-out sentences (never seen in training) from one speaker, compared with the real recordings of those sentences and with our previous model.
| System | Judge CER ↓ | UTMOS ↑ | Speaking rate (phonemes/s) |
|---|---|---|---|
| Real recordings (held-out speaker) | 0.129 | 2.81 | 10.7 |
| Kalenjin TTS v1 (F5-TTS) | 0.092 | 2.69 | 12.0 |
| Kakara · female | 0.075 | 3.25 | 8.7 |
| Kakara · male | 0.066 | 3.25 | 9.3 |
| Kakara · blend | 0.070 | 3.34 | 8.2 |
speed=1.1–1.3 for short phrases; 1.0 suits longer sentences.Trained on the ANV Kalenjin dataset (Anv-ke/Kalenjin), licensed CC BY 4.0. Thank you to ANV and to everyone who recorded their voice for it. The base model is Kokoro-82M by hexgrad (Apache-2.0).
The voices are derived from real people who recorded speech for a public dataset. Do not use Kakara to impersonate anyone, to deceive listeners, or to put words in a real person's mouth. Label synthetic speech as synthetic where listeners could mistake it for a person.
kakara.pth 327 MBkakara.onnx 326 MBhexgrad/Kokoro-82M