Downloads · 30 days
78
33% of all-time downloads
hamdallah/Sofelia-TTS-82M
Sofelia-TTS-82M is a text-to-speech model from hamdallah. Use it when you need text read aloud. It is set up for kokoro. The card lists the license as apache-2.0.
A Palestinian Arabic text-to-speech model — Kokoro-82M fine-tuned for the Levantine/Palestinian dialect. Ships a single natural female voice, Eliaa.
Downloads · 30 days
78
33% of all-time downloads
All-time downloads
236
Public
Repo size
328 MB
Likes
3
Public
Click a slice to open those files.
.pth327 MB · 100%
From the Hugging Face model README
A Palestinian Arabic text-to-speech model — Kokoro-82M fine-tuned for the Levantine/Palestinian dialect. Ships a single natural female voice, Eliaa.
Eliaa (voices/eliaa.pt)espeak-ng's Arabic G2P assumes Modern Standard Arabic and mis-handles dialect
text. sofelia_frontend.py fixes the systematic problems before phonemization:
،؛؟) → Latin so the model receives pause/question cuesة wrongly read as /t/ for out-of-lexicon words → bare fatha (a)ar_lexicon.json) for words espeak
mis-reads or strips vowels from (هيك, وين, تنين, قلت, معلش, …)ħ→ʰ, ʕ→ʁ, ˤ→ᵊ)pip install kokoro misaki espeakng-loader phonemizer-fork soundfile torch
python inference.py "بدي أروح ع السوق أشتري خضرة وفواكه للبيت."
Arabic has no Kokoro lang_code, so phonemize with misaki espeak-ng ar
(+ the Sofelia frontend) and call KModel directly — see inference.py.
| File | Purpose |
|---|---|
kokoro_sofelia_82M.pth | model weights (Kokoro KModel format) |
config.json | Kokoro config (178-token vocab) |
voices/eliaa.pt | Eliaa speaker voicepack [510, 1, 256] |
sofelia_frontend.py | Palestinian Arabic text frontend |
ar_lexicon.json | dialect pronunciation lexicon (extensible) |
inference.py | minimal end-to-end example |
surface_word: diacritized_form entries to fix new words.Fine-tuned from hexgrad/Kokoro-82M with a patched StyleTTS2 recipe. Dialect voice data: Sofelia Palestinian TTS.