Audio8-TTS-Kurdish-Sorani
A Central Kurdish (Sorani) fine-tune of Audio8-TTS-Preview-0.6B, a 0.6B-parameter DualAR text-to-speech model with zero-shot voice cloning. Central Kurdish is not among the base model's supported languages.
This repository contains two models that differ only in their starting checkpoint. Both were trained with the same data, recipe, seed and 3-epoch schedule (final checkpoint, step 3,261), and each is stored in its own branch:
| Branch | Starting model | MOS (1–5) | Held-out loss (step 3,000) |
|---|---|---|---|
main (recommended) | Audio8-TTS-Preview-0.6B (original checkpoint) | 3.14 ± 0.10 | 7.906 |
from-persian | ArminRahimi/Audio8-TTS-Persian | 2.78 ± 0.10 | 7.953 |
Original recordings scored 4.71 ± 0.06 in the same test. Use main. The from-persian model is released so that the comparison in the paper can be reproduced: listeners rated it less natural, and in early checkpoints it spoke Kurdish with an audible Persian accent.
Training code, Colab notebook and documentation: https://github.com/ard9/Audio8-Persian-TTS
Non-commercial use only. The training data, central-kurdish-tts4all, is licensed CC BY-NC-ND 4.0, so this model is released under CC BY-NC 4.0: free for research, education and non-commercial demos; not for paid products or services.
🔊 Samples
| Text | Audio |
|---|---|
| سڵاو، ئەمڕۆ کەشوهەوا زۆر خۆشە و دەمەوێت کەمێک لە پارک پیاسە بکەم. | ft_s01.wav |
| دوێنێ لەگەڵ هاوڕێکانم چووین بۆ سینەما، فیلمەکە بەڕاستی زۆر جوان بوو! | ft_s03.wav |
| Voice clone (reference from another speaker of the dataset) | clone_s01.wav |
Usage
The model uses Audio8's custom Transformers code (trust_remote_code=True). Normalize the text with the same Sorani rules as in training (normalize_ckb in the GitHub repo: Arabic letter variants unified, numbers spelled out in Kurdish).
# pip install "transformers>=4.57,<5" soundfile
# git clone https://github.com/ard9/Audio8-Persian-TTS (for fa_tools.normalize_ckb)
import sys, torch, soundfile as sf
from transformers import AutoModel, AutoProcessor
sys.path.insert(0, "Audio8-Persian-TTS/src")
from fa_tools import normalize_ckb
model_id = "ArminRahimi/Audio8-TTS-Kurdish-Sorani"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if device == "cuda" else torch.float32
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModel.from_pretrained(model_id, trust_remote_code=True, dtype=dtype).eval().to(device)
# model initialized from Persian: add revision="from-persian" to both from_pretrained calls
text = normalize_ckb("سڵاو! چۆنی؟")
inputs = processor(text=[text], return_tensors="pt")
# Voice cloning: add reference_audio=["ref.wav"], reference_text=[normalize_ckb("exact transcript")]
inputs = {k: v.to(device) for k, v in inputs.items()}
with torch.inference_mode():
out = model.generate(**inputs, max_new_tokens=1024, temperature=0.8, top_p=0.95, top_k=50,
do_sample=True, return_dict_in_generate=True)
wav, lengths = model.decode_audio(out.codes)
sf.write("output.wav", wav[0, : int(lengths[0])].float().cpu().numpy(), model.config.codec_sample_rate)
Or from the command line: python scripts/synthesize.py --model ArminRahimi/Audio8-TTS-Kurdish-Sorani --lang ckb --text "سڵاو" --output out.wav.
Training details
| Starting model | main: Audio8-TTS-Preview-0.6B (repo commit 07e40f5); from-persian: Audio8-TTS-Persian |
| Data | central-kurdish-tts4all: ≈ 35 h of read Central Kurdish, 3 speakers (male and female audiobook narrators, male studio voice), 17,383 training utterances of 1–20 s, resampled to 44.1 kHz; 200 utterances held out |
| Default voice | The speaker with the most audio is trained without a reference clip; the other speakers always with a same-speaker reference, which teaches voice cloning |
| Text normalization | Sorani rules: Arabic yeh/kaf → Kurdish forms, ھ → ه, heh + ZWNJ → ە, diacritics and ZWNJ removed, numbers spelled out in Kurdish |
| Trainable parameters | Both DualAR branches (slow + fast AR), all 601M parameters |
| Optimizer | 8-bit AdamW, lr 3e-5, cosine schedule, 3% warmup, grad-norm clip 1.0 |
| Precision / batch | fp32 master weights + fp16 autocast; effective batch 16 (2 × 8 accumulation), seed 1234 |
| Steps / epochs | 3,261 / 3 (both branches: final checkpoint) |
| Hardware | 1× NVIDIA T4 (16 GB) on Google Colab, peak 10.1 GB, ≈ 7.6 s per step |
| Exported weights | bf16 |
Evaluation
| Metric | Value |
|---|---|
| Eval loss (held-out, slow + fast AR), steps 1,000 / 2,000 / 3,000 | main: 8.084 / 7.924 / 7.906 · from-persian: 8.107 / 7.956 / 7.953 |
| MOS, naturalness (10 native Central Kurdish listeners, 30 unseen sentences, blind, in person with headphones) | main: 3.14 ± 0.10 · from-persian: 2.78 ± 0.10 · original recordings: 4.71 ± 0.06 |
main vs. from-persian | 9 of 10 listeners rated main higher (paired t-test over listener means, p ≈ 0.003) |
| CER, ASR transcription of generated speech | not measured yet |
| Speaker similarity (voice cloning) | not measured yet |
Limitations
- Three speakers, read speech. Voice variety and prosody are limited; conversational speech and unseen voices are weaker.
from-persianonly: a Persian accent was audible in early checkpoints; the final model is still rated lower thanmain.- Single run per model and a small listening test (10 listeners, 30 sentences).
- Spelling follows the dataset: the model learns pronunciation from how the transcripts are written; non-standard spellings and Latin-script words may be mispronounced.
- The base model is a Preview checkpoint without Kurdish or Persian pre-training.
Responsible use
This model can imitate voices. Clone a voice only with the speaker's explicit consent and disclose synthetic audio. Do not use it for impersonation, fraud or misinformation, or to imitate the dataset's speakers.
License and attribution
CC BY-NC 4.0 (non-commercial). Model code and architecture: Audio8 TTS (Apache-2.0). Training data: central-kurdish-tts4all by Aran Emini et al. (CC BY-NC-ND 4.0), including audiobook content used with the permission of Malaka Mustafa Soltani, read by Shahen Shahlai and Fatih.
Citation
@misc{rahimi2026audio8,
title = {Teaching a Compact Codec Language Model New Languages on a Single Free GPU: Persian and Central Kurdish Adaptations of Audio8 TTS},
author = {Rahimi Darehbagh, Armin and Yari, Tannaz},
year = {2026},
note = {Preprint}
}
@misc{audio8_persian_tts_2026,
title = {Audio8-Persian-TTS: Adapting a Compact Multilingual TTS Model to Persian},
author = {Rahimi Darehbagh, Armin},
year = {2026},
howpublished = {\url{https://github.com/ard9/Audio8-Persian-TTS}}
}
Please also cite the central-kurdish-tts4all dataset as described on its dataset page.