tiny-voca-arabic-TTS-saudi

A 4.5M-parameter Arabic text-to-speech model with a Saudi male voice, fine-tuned from oddadmix/tiny-voca-arabic on about 2.9 hours of one Saudi speaker. Text in, 24 kHz audio out, on CPU, without a separate vocoder. The model alone runs at about 152× real time on 4 CPU threads; including the CATT diacritizer the text-to-audio pipeline runs at RTF 0.092 (≈11× real time).

Based on tiny-voca by Muhammed Nazeem (@n4ze3m) and its Arabic version tiny-voca-arabic by oddadmix. Architecture, synthesizer and training code are unchanged; this release continues training the Arabic weights on a new voice.

Parameters 4,531,723 (18 MB PyTorch, 21 MB ONNX)
Voice one Saudi male voice (a000, median F0 ≈ 96 Hz)
Audio 24 kHz mono
Fine-tuning data 2,673 utterances, 2.86 h (after alignment QC, from 4,286 clips / 4.57 h)
Files tiny-voca-arabic-saudi.pt, onnx/model.onnx, code/tiny_voca (inference), code/catt_tashkeel (diacritizer)
Training 104k → 119k steps (GAN from 107k), one RTX 3060

Samples

Rendered with the release settings (Saudi reading, pitch smoothing 5, denoise 0.75).

Text Audio
الحين ابي اطلع قرض شخصي ورحت اكثر من فرع يجيني رفض على القرض وشركتي معتمدة عندكم وسجلي في سمة 602 ولا عندي متعثرات والموظفين مايعرفون سبب الرفض، اذا الموظف مايعرف السبب مين يعرف السبب؟
و تحتفي بكل ذكرياتهم الشخصية و تلبي كل مناسباتهم الخاصة لكنها ومع أول اعتذار بدر منها على تنظيم عيد ميلاد إحدى الصديقات
وفي تلك الحالة ستفقد ما لا يمكن تعويضه لا بالكلمات ولا بالأفعال
لو سمحت، أبي أعرف وش المستندات المطلوبة عشان أفتح حساب جديد؟
أنا من الرياض، والجو اليوم حار شوي، بس الجلسة حلوة جدا.

How it works

  1. Numbers are read as words (code/numbers.py), e.g. 602 → ستمائة واثنان.
  2. Diacritization with CATT.
  3. Phonemes from the rule-based converter (code/arabic_frontend.py, 49 symbols) inherited from tiny-voca-arabic.
  4. Saudi reading (text.colloquial, case_endings=False): optional case endings (إعراب) and tanween are dropped, as a Saudi speaker says them. During annotation each clip's case endings were kept or dropped by CTC likelihood, so the model learned both readings.
  5. Acoustic model + source-filter synthesizer predict durations, pauses, pitch, voicing and energy, then the waveform.
  6. Pitch smoothing (pitch_smooth, frames): a Hann average of log-F0 over voiced frames. Without it the predicted contour jitters frame to frame, heard as a shaky voice on this low voice; with 5 frames, jumps above one semitone drop from 7.5% to 0.35% of frames.
  7. Denoise post-filter (noisereduce, stationary, 0.75): the source recordings carried 6–12 kHz hiss that the model learned; the filter removes it.

Usage (PyTorch, recommended: includes Saudi reading and pitch smoothing)

pip install torch soundfile numpy onnxruntime noisereduce tqdm huggingface_hub
hf download Messam174/tiny-voca-arabic-TTS-saudi --local-dir tiny-voca-saudi
import sys
sys.path.insert(0, "tiny-voca-saudi/code")   # tiny_voca + catt_tashkeel

import noisereduce as nr, soundfile as sf
from tiny_voca.infer import load_model, speak_text

model = load_model("tiny-voca-saudi/tiny-voca-arabic-saudi.pt")
wave, spoken = speak_text(model, "هلا والله، كيف حالك؟ الموعد بكرة الساعة 10 الصبح.", "a000",
                          pitch_smooth=5, case_endings=False)
wave = nr.reduce_noise(y=wave.numpy(), sr=24000, stationary=True, prop_decrease=0.75)
sf.write("out.wav", wave, 24000)
print(spoken[0].diacritized)   # the text after tashkeel

speak_text also takes speed, pitch_shift (semitones), pitch_range and seed.

Usage (ONNX Runtime)

onnx/model.onnx has the same inputs as tiny-voca-arabic (tokens, stress, voice, speed, pitch_shift, pitch_range). The graph does not include pitch smoothing; apply text.colloquial() to the phonemes for the Saudi reading and the denoise filter to the output.

import sys
sys.path.insert(0, "tiny-voca-saudi/code")

import numpy as np, onnxruntime as ort, soundfile as sf
from tiny_voca.text import phonemize, colloquial

session = ort.InferenceSession("tiny-voca-saudi/onnx/model.onnx", providers=["CPUExecutionProvider"])
phones = colloquial(phonemize("يعطيك العافية، وش أقدر أساعدك فيه اليوم؟"))
one = lambda v: np.array([v], dtype=np.float32)
audio, _ = session.run(None, {
    "tokens": np.array([phones.ids], dtype=np.int64), "stress": np.array([phones.stress], dtype=np.int64),
    "voice": np.array([0], dtype=np.int64), "speed": one(1.0), "pitch_shift": one(0.0), "pitch_range": one(1.0)})
sf.write("out.wav", audio[0], 24000)

Limitations

  • One voice. Pronunciation rules are still MSA: Saudi sounds such as ق as /g/ or ك as /tʃ/ are only what the model picked up from the recordings, not explicit phonemes.
  • Pronunciation follows the automatic diacritization, which is trained on MSA and sometimes picks an MSA reading of a dialect word (for example هَلَّا). Add tashkeel yourself to fix a word.
  • 1,613 of 4,286 training clips (38%) were rejected by alignment QC (dialect speech read with MSA rules), so the voice saw 2.86 h.
  • Latin script, emoji and symbols other than numbers and % are skipped.
  • This is a synthetic voice of a real speaker; tell listeners when audio they hear was generated.

Training data

Single-speaker Saudi Arabic speech prepared from public YouTube narration: source separation, VAD chunking, ASR transcripts, UVR-DeNoise and QC (4,511 of 4,633 clips kept, 4.81 h; 4,286 train / 225 held out; SNR median 27.8 dB). For tiny-voca the audio was resampled to 24 kHz, pitch/energy features were extracted and phonemes were aligned by CTC; 2,673 training, 76 validation and 71 test clips passed QC. The dataset is not redistributed.

Training

Continued from the released tiny-voca-arabic weights (step 104,000) with fresh optimizer state: learning rate 1e-4, 500 warm-up steps, adversarial training from step 107,000 (2,000-step ramp) to 119,000. Inference additions over tiny-voca-arabic: pitch_smooth, case_endings / text.colloquial, and number expansion inside phonemize.

License

Apache-2.0, as tiny-voca and tiny-voca-arabic.

Credits

  • Architecture and training code: tiny-voca by Muhammed Nazeem, Apache-2.0.
  • Arabic front end and base weights: tiny-voca-arabic by oddadmix, Apache-2.0.
  • Diacritizer: CATT by Abjad AI, Apache-2.0.

Citation

@software{messam2026tinyvocasaudi,
  author  = {Mohamed Essam},
  title   = {tiny-voca-arabic-TTS-saudi: a 4.5M-parameter Saudi Arabic text-to-speech model},
  year    = {2026},
  url     = {https://huggingface.co/Messam174/tiny-voca-arabic-TTS-saudi},
  license = {Apache-2.0}
}
Downloads last month
36
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Messam174/tiny-voca-arabic-TTS-saudi

Quantized
(1)
this model