Text-to-Speech
Chatterbox
Safetensors
Arabic
Egyptian
Arabic
Egyptian-Dialect
Chatterbox
TTS
voice-cloning
multilingual-tts
Instructions to use NAMAA-Space/NAMAA-Egyptian-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use NAMAA-Space/NAMAA-Egyptian-TTS with Chatterbox:
# pip install chatterbox-tts import torchaudio as ta from chatterbox.tts import ChatterboxTTS model = ChatterboxTTS.from_pretrained(device="cuda") text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill." wav = model.generate(text) ta.save("test-1.wav", wav, model.sr) # If you want to synthesize with a different voice, specify the audio prompt AUDIO_PROMPT_PATH="YOUR_FILE.wav" wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH) ta.save("test-2.wav", wav, model.sr) - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- ar
|
| 5 |
+
base_model:
|
| 6 |
+
- ResembleAI/chatterbox
|
| 7 |
+
pipeline_tag: text-to-speech
|
| 8 |
+
tags:
|
| 9 |
+
- Saudi
|
| 10 |
+
- Arabic
|
| 11 |
+
- Saudi-Dialect
|
| 12 |
+
- Chatterbox
|
| 13 |
+
- TTS
|
| 14 |
+
- voice-cloning
|
| 15 |
+
- multilingual-tts
|
| 16 |
+
library_name: chatterbox
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
+
# 🇸🇦 NAMAA-Saudi-TTS
|
| 22 |
+
|
| 23 |
+
**NAMAA-Saudi-TTS** is a Saudi Arabic Text-to-Speech (TTS) model built on top of the **Chatterbox Multilingual TTS** architecture.
|
| 24 |
+
The model is configured and refined to generate **natural Saudi dialect speech**, targeting everyday conversational usage rather than Modern Standard Arabic (MSA).
|
| 25 |
+
|
| 26 |
+
This model is developed and released by **NAMAA Community (Network for Advancing Modern Arabic AI)** as part of its efforts to advance high-quality Arabic speech and language technologies.
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## 🔊 Live Demo (Hugging Face Space)
|
| 31 |
+
|
| 32 |
+
👉 **Try the model here:**
|
| 33 |
+
https://huggingface.co/spaces/omarelshehy/NAMAA-Saudi-Voice
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## ✨ Model Capabilities
|
| 38 |
+
|
| 39 |
+
The model supports:
|
| 40 |
+
|
| 41 |
+
- **Saudi Arabic text input** (`language_id = "ar"`)
|
| 42 |
+
- Natural conversational prosody
|
| 43 |
+
- Saudi dialect phrasing and rhythm
|
| 44 |
+
- Optional **reference audio prompting** for:
|
| 45 |
+
- Speaker similarity
|
| 46 |
+
- Style and tone transfer
|
| 47 |
+
- GPU-accelerated inference
|
| 48 |
+
|
| 49 |
+
This repository contains all required **model checkpoints and assets** for local or hosted inference.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## 🗣️ Example Text (Saudi Dialect)
|
| 54 |
+
|
| 55 |
+
```text
|
| 56 |
+
آبي أروح البقالة أشتري كم غرض وأرجع بسرعة.
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
## ⚠️ Limitations
|
| 60 |
+
|
| 61 |
+
Please be aware of the following current limitations:
|
| 62 |
+
|
| 63 |
+
- Lack of tashkeel may affect pronunciation accuracy.
|
| 64 |
+
- Numeric normalization will be improved in future releases.
|
| 65 |
+
- This is a known limitation of the current flow-based generation.
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
These limitations are actively being addressed in upcoming versions.
|
| 69 |
+
|
| 70 |
+
## 🧪 Example Usage (Inference)
|
| 71 |
+
|
| 72 |
+
```python
|
| 73 |
+
import numpy as np
|
| 74 |
+
import torchaudio as ta
|
| 75 |
+
from huggingface_hub import snapshot_download
|
| 76 |
+
from safetensors.torch import load_file as load_safetensors
|
| 77 |
+
from chatterbox import mtl_tts
|
| 78 |
+
|
| 79 |
+
device = "cuda" # or "cpu" / "mps"
|
| 80 |
+
|
| 81 |
+
ckpt_dir = snapshot_download(
|
| 82 |
+
repo_id="NAMAA-Space/NAMAA-Saudi-TTS",
|
| 83 |
+
repo_type="model",
|
| 84 |
+
revision="main"
|
| 85 |
+
)
|
| 86 |
+
|
| 87 |
+
# Load model
|
| 88 |
+
model = mtl_tts.ChatterboxMultilingualTTS.from_pretrained(device=device)
|
| 89 |
+
|
| 90 |
+
t3_state = load_safetensors(
|
| 91 |
+
f"{ckpt_dir}/t3_mtl23ls_v2.safetensors",
|
| 92 |
+
device=device
|
| 93 |
+
)
|
| 94 |
+
model.t3.load_state_dict(t3_state)
|
| 95 |
+
model.t3.to(device).eval()
|
| 96 |
+
|
| 97 |
+
# Saudi Arabic text
|
| 98 |
+
text = "أنا الحين بروح الشغل وإذا رجعت بمرّ البقالة"
|
| 99 |
+
|
| 100 |
+
wav = model.generate(text, language_id="ar")
|
| 101 |
+
ta.save("namma_saudi.wav", wav, model.sr)
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
### 🔹 Inference with Reference Audio (Voice / Style Transfer)
|
| 105 |
+
|
| 106 |
+
```python
|
| 107 |
+
text = "آبي أخلص الشغل اليوم وأرتاح بكرة"
|
| 108 |
+
|
| 109 |
+
wav = model.generate(
|
| 110 |
+
text,
|
| 111 |
+
language_id="ar",
|
| 112 |
+
audio_prompt_path="/content/reference_saudi.wav"
|
| 113 |
+
)
|
| 114 |
+
|
| 115 |
+
ta.save("namma_saudi_ref.wav", wav, model.sr)
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
## 🧠 Base Model
|
| 119 |
+
|
| 120 |
+
This model is built on top of:
|
| 121 |
+
|
| 122 |
+
- **ResembleAI/chatterbox**
|
| 123 |
+
- **Chatterbox Multilingual TTS architecture**
|
| 124 |
+
|
| 125 |
+
The Saudi dialect behavior is achieved through **specialized configuration, prompting, and curated usage patterns**, rather than training focused on Modern Standard Arabic (MSA).
|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
+
|
| 129 |
+
## 📜 License
|
| 130 |
+
|
| 131 |
+
This model is released under the **MIT License**, allowing both **research and commercial usage** with proper attribution.
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
## 🤝 Community & Contributions
|
| 136 |
+
|
| 137 |
+
Developed and maintained by **NAMAA Community**
|
| 138 |
+
*(Network for Advancing Modern Arabic NLP & AI)*
|
| 139 |
+
|
| 140 |
+
We welcome:
|
| 141 |
+
|
| 142 |
+
- Feedback and evaluations
|
| 143 |
+
- Dialect-specific test cases
|
| 144 |
+
- Contributions toward improving Arabic Text-to-Speech systems
|
| 145 |
+
|
| 146 |
+
---
|
| 147 |
+
|
| 148 |
+
## 📌 Citation
|
| 149 |
+
|
| 150 |
+
If you use this model in research or production, please cite:
|
| 151 |
+
|
| 152 |
+
```bibtex
|
| 153 |
+
@misc{namaa_saudi_tts,
|
| 154 |
+
title = {NAMAA-Saudi-TTS: Saudi Dialect Text-to-Speech},
|
| 155 |
+
author = {{NAMAA Community}},
|
| 156 |
+
year = {2026},
|
| 157 |
+
url = {https://huggingface.co/NAMAA-Space/NAMAA-Saudi-TTS}
|
| 158 |
+
}
|