NAIB Hassaniya TTS
These are the models from our entry to the NAIB Independence Day challenge: reading President Mokhtar Ould Daddah's speech in Hassaniya. The code, the full report (PDF) and all the scores are on GitHub: https://github.com/Ahmedouyahya/naib-hassaniya-tts. The entry won 1st place.
| File | Model | Params | Licence |
|---|---|---|---|
habibi_variants_step200.safetensors | Main. Habibi-TTS Unified (F5-TTS), fine-tuned 200 steps on the cleaned speech, with random re-spellings of the text | 336M | CC BY-NC-SA 4.0 (from Habibi-TTS) |
naib_tiny_hs_ft3000.pt | Small. NAIB-Tiny-HS: our FastSpeech-style model, from scratch. Pretrained on 2.7 h of Hassaniya (MauriAI speaker_02), then 3k steps on the speech | 5.1M | CC BY-NC 4.0 (from the MauriAI data) |
naib_tiny_hs_ft2000.pt | NAIB-Tiny-HS after 2k steps on the speech | 5.1M | CC BY-NC 4.0 |
naib_tiny_hs_pretrained.pt | NAIB-Tiny-HS before seeing the speech (speaker_02's voice). Use this one for text other than the speech | 5.1M | CC BY-NC 4.0 |
Results
CER (%) of a Hassaniya Whisper ASR on the generated audio. Lower means more intelligible.
| Speech | Speech, other spelling | New text, after textnorm.py | |
|---|---|---|---|
| Real recording (cleaned) | 9.9 | - | - |
| Main, 1 take | 7.0 | 9.6 | 6.1 |
| Main, best of N takes | 4.1 (independent ASR, before a final c01 text fix: 6.0) | - | 4.0 |
| NAIB-Tiny-HS | 10.3 | 20.2 | 27.7 |
On 8 Hassaniya sentences that no model saw (real recordings: 14.5), NAIB-Tiny-HS scores 24.5 pretrained only, but 50.5–52.7 after training on the speech. Training on 45 s of one speech makes the small model forget general Hassaniya.
Use
- Always normalise the text first (
scripts/textnorm.py). Diacritized text raises the main model's CER from 6 to 33. - Main model. Load it like any F5-TTS checkpoint, with Habibi Unified's
vocab.txtand theMARdialect tag. Any clean reference clip plus its transcript sets the voice. Seescripts/synth.py. - Small model. Run
python scripts/tiny_tts.py synth text_norm.txt naib_tiny_hs_ft3000.pt out/. The vocoder ischaractr/vocos-mel-24khz.
Limitations
Both models are tuned to one speech, and the small one learned from a single speaker. Neither is a general Hassaniya TTS. CER measures intelligibility, not naturalness. Non-commercial use only. Do not use these models to put words in a real person's mouth.