pico-voca-arabic

pico-voca-arabic is the one-eighth-size sibling of tiny-voca-arabic v2.1: a 0.56M-parameter Modern Standard Arabic (ูุตุญู‰) text-to-speech model with the same eight voices in four speaking styles (assistant, news, story, promo; one female and one male voice each), trained from scratch on the same data with the same recipe. The waveform generator is included: text in, 24 kHz audio out, about 370ร— real time on four CPU threads.

Based on tiny-voca by Muhammed Nazeem (@n4ze3m). This model uses the original tiny-voca architecture and training code (github.com/n4ze3m/tiny-voca, Apache-2.0), with narrower layers. No tiny-voca weights were reused: it was trained from scratch on Arabic data.

Demo ยท Dataset ยท Quarter size (1.2M): oddadmix/nano-voca-arabic ยท Half size (2.3M): oddadmix/micro-voca-arabic ยท One-sixteenth size (0.28M): oddadmix/femto-voca-arabic ยท 1/32 size (0.14M): oddadmix/atto-voca-arabic ยท Full size (4.5M): oddadmix/tiny-voca-arabic-v2.1

pico-voca-arabic tiny-voca-arabic v2.1
Parameters 563,419 (2.3 MB PyTorch, 5.5 MB ONNX) 4,534,411 (18 MB PyTorch, 21 MB ONNX)
Width (channels / feed-forward / predictor) 64 / 240 / 48 192 / 640 / 128
Layers same same
CPU speed, 4 threads (ONNX) ~370ร— real time ~200ร— real time
Character error rate, validation / test / new sentences 0.7% / 1.1% / 0.4% 0.8% / 1.1% / 0.5%
Quality score (DNSMOS P.808), the 40 samples below 3.66 3.76

Same inputs, outputs and voice order as v2.1: a drop-in replacement where size or speed matters more.

voice Name Style Gender
0 a000 Assistant female
1 am6 Assistant male
2 nf2 News female
3 nm2 News male
4 sf1 Story female
5 sm3 Story male
6 pf4 Promo female
7 pm2 Promo male

Samples

Text a000 am6 nf2 nm2 sf1 sm3 pf4 pm2
ู…ุฑุญุจู‹ุง ุจูƒู…ุŒ ู‡ุฐุง ู†ู…ูˆุฐุฌ ุตุบูŠุฑ ู„ุชุญูˆูŠู„ ุงู„ู†ุต ุฅู„ู‰ ูƒู„ุงู… ุจุงู„ู„ุบุฉ ุงู„ุนุฑุจูŠุฉ ุงู„ูุตุญู‰. โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ
ุชู‚ุน ู…ุฏูŠู†ุฉ ุงู„ู‚ุงู‡ุฑุฉ ุนู„ู‰ ุถูุงู ู†ู‡ุฑ ุงู„ู†ูŠู„ุŒ ูˆู‡ูŠ ู…ู† ุฃูƒุจุฑ ุงู„ู…ุฏู† ููŠ ุงู„ุนุงู„ู… ุงู„ุนุฑุจูŠ. โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ
ู‡ู„ ูŠู…ูƒู†ูƒ ุฃู† ุชุฎุจุฑู†ูŠ ุนู† ุญุงู„ุฉ ุงู„ุทู‚ุณ ุบุฏู‹ุงุŸ ุฃุฑูŠุฏ ุฃู† ุฃุฎุฑุฌ ููŠ ู†ุฒู‡ุฉ ู…ุน ุฃุตุฏู‚ุงุฆูŠ. โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ
ูŠุจู„ุบ ุนุฏุฏ ุณูƒุงู† ุงู„ู…ุฏูŠู†ุฉ ู…ู„ูŠูˆู†ูŠ ุดุฎุต ูˆูŠุดูƒู‘ู„ ุงู„ุดุจุงุจ ุฃูƒุซุฑ ู…ู† ุซู„ุซ ุงู„ุณูƒุงู†. โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ
ุงู„ุนู„ู… ู†ูˆุฑุŒ ูˆุงู„ุฌู‡ู„ ุธู„ุงู…. ูˆู…ู† ุฌุฏู‘ ูˆุฌุฏุŒ ูˆู…ู† ุฒุฑุน ุญุตุฏ. โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ โ–ถ

How it works

Identical to v2.1: numbers read as MSA words, CATT diacritization, a rule-based 49-symbol MSA phonemizer (code/arabic_frontend.py), then the tiny-voca network predicts durations, pauses, pitch, voicing and energy and a source-filter synthesizer makes the waveform. There is no separate neural vocoder.

Evaluation

Whisper large-v3 transcripts of generated speech against the input text (diacritics and punctuation removed). Held-out texts were not seen in training in either voice of a style; the new sentences appear in no split. 25 validation, 25 test and 8 new sentences per voice, the same sentences used for v2.1. CER, with the CER of the original recordings in brackets:

Voice Validation Test New sentences
a000 assistant F 0.4% (0.6%) 1.5% (1.8%) 0.3%
am6 assistant M 0.4% (0.5%) 0.1% (0.2%) 0.3%
nf2 news F 0.8% (1.7%) 2.9% (3.5%) 0.3%
nm2 news M 0.5% (0.5%) 0.5% (1.0%) 1.1%
sf1 story F 0.4% (0.3%) 0.4% (0.5%) 0.3%
sm3 story M 0.3% (0.5%) 0.2% (0.3%) 1.1%
pf4 promo F 2.3% (2.5%) 1.6% (2.0%) 0.0%
pm2 promo M 0.9% (0.9%) 1.3% (1.5%) 0.0%

Every voice is within 1.1 points of v2.1's CER (the largest change is sm3 on new sentences, 0.0% โ†’ 1.1%). Generated durations are within 5% of the recordings for every voice (sf1 and sm3 are the fastest, at 0.95).

Usage (ONNX Runtime)

pip install onnxruntime numpy soundfile tqdm
hf download oddadmix/pico-voca-arabic --local-dir pico-voca-arabic

The front end in code/ uses the CATT diacritizer; the demo Space contains it ready to run (tiny_voca_ar/, catt_tashkeel/). Minimal call:

import numpy as np, onnxruntime as ort, soundfile as sf
from tiny_voca_ar.numbers import expand_numbers
from tiny_voca_ar.text import phonemize

session = ort.InferenceSession("pico-voca-arabic/onnx/model.onnx", providers=["CPUExecutionProvider"])
phones = phonemize(expand_numbers("ู…ุฑุญุจู‹ุง ุจูƒู… ููŠ ุนุงู„ู… ุงู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠ."))
one = lambda v: np.array([v], dtype=np.float32)
voice = 1  # 0 a000, 1 am6, 2 nf2, 3 nm2, 4 sf1, 5 sm3, 6 pf4, 7 pm2 (the order of "voices" in onnx/model.json)
audio, durations = session.run(None, {
    "tokens": np.array([phones.ids], dtype=np.int64), "stress": np.array([phones.stress], dtype=np.int64),
    "voice": np.array([voice], dtype=np.int64), "speed": one(1.0), "pitch_shift": one(0.0), "pitch_range": one(1.0)})
sf.write("hello.wav", audio[0], 24000)

Inputs: tokens/stress int64 [1, N], voice int64 [1], speed (1 = as predicted, larger is faster), pitch_shift (added to log F0; 0.058 โ‰ˆ one semitone), pitch_range (scales intonation). Read long text one sentence at a time (at most 500 phonemes / 32 s per call) and join the audio. Voices differ in loudness; scale each result to the same peak level.

The PyTorch checkpoint pico-voca-arabic.pt loads with the tiny-voca code (tiny_voca.infer.load_model) using the Arabic text.py / arabic_frontend.py from code/; config.json holds the narrower sizes.

Training

Same data and recipe as v2.1: 200k steps on one GPU (about 5 h). Steps 0โ€“120k use the tiny-voca adversarial weight (--gan-ratio 0.7); steps 120kโ€“200k continue with --gan-ratio 6. Only channels, feedforward and predictor_channels changed in the config.

Limitations

  • Eight voices, Modern Standard Arabic only; dialectal text is read with MSA rules.
  • Pronunciation follows the automatic diacritization. When CATT picks the wrong reading, the model says it.
  • The quality score on the samples is 0.10 below v2.1 (DNSMOS P.808 3.66 vs 3.76; micro-voca-arabic 3.73, nano-voca-arabic 3.63). Intelligibility is unchanged, but listen before choosing it over the larger models.
  • The same voice-quality limits as v2.1 apply (sf1 and the news voices are a little noisier than their recordings).
  • Latin script, emoji and symbols other than numbers and % are skipped.

Training data

oddadmix/tiny-voca-arabic-v2.1-dataset: 99,948 clips (264 h) in the eight synthetic voices; 89,569 training clips passed the alignment quality checks. All voices are synthetic; please tell listeners when audio they hear was generated.

License

Apache-2.0.

Credits

  • Original model, architecture and training code: tiny-voca by Muhammed Nazeem (@n4ze3m), Apache-2.0 (code).
  • Diacritizer: CATT by Abjad AI, Apache-2.0.

Citation

@software{oddadmix2026picovocaarabic,
  author  = {oddadmix},
  title   = {pico-voca-arabic: a 0.56M-parameter eight-voice Modern Standard Arabic text-to-speech model},
  year    = {2026},
  url     = {https://huggingface.co/oddadmix/pico-voca-arabic},
  license = {Apache-2.0}
}
Downloads last month
30
Safetensors
Model size
563k params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Dataset used to train oddadmix/pico-voca-arabic

Space using oddadmix/pico-voca-arabic 1