tiny-voca-arabic-code-switching is an on-device TTS model with only 4.54M parameters, trained from scratch on 133 hours of synthetic corpus, specifically targeting everyday sentences that mix Modern Standard Arabic with Latin-script English words (such as "اجتماع الـ team على Zoom"), offering both male and female voices with 24 kHz output. The frontend combines CATT Arabic vowel diacritization with the dizione English phonemizer, and the repository also provides PyTorch, safetensors, single-file ONNX weights, and a Hugging Face Space for online listening.
Why it matters Its extremely small size allows direct offline inference on CPU via ONNX, specifically handling Arabic workplace and tech contexts with embedded English words.
Hugging Face likes 9 · Hugging Face trending score 9 · Hugging Face downloads 107
License: Commercial use allowed · ComfyUI: Not available · VRAM: ≈1 GB estimated
Rationale
- Apache-2.0 commercial-use license, with inference code, ONNX export scripts, and a 133-hour training dataset released open-source alongside it; estimated to need only about 1 GB of memory/VRAM and supports running on CPU alone
- The model card provides held-out test set results based on Jais-ASR: male voice word error rate 4.5%, English recall 91.5%; female voice word error rate 4.1%, English recall 87.6%; Hugging Face downloads 107, likes 9 (indicating attention only)
Usage
- You can open the Hugging Face Space (oddadmix/tiny-voca-arabic-code-switching) directly to listen online
- To run locally, install torch, soundfile, onnxruntime, and catt-tashkeel==1.0.2; load the .pt checkpoint as described in the model card, or run onnx/model.onnx using the onnxruntime CPUExecutionProvider
Risks
- Chinese is not supported; long pure-English sentences fall outside the training distribution; English words carry an Arabic accent; and all voices are synthetic
- Arabic short vowels rely on CATT automatic annotation and are occasionally misread, and the author notes that the model card's average pause duration is about 15% longer than in the training recordings