Upload README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ datasets: [google/WaxalNLP, gheero-Leyu/leyu-amharic-addis-ababa-dialect, surafe
|
|
| 10 |
|
| 11 |
# OmniVoice Amharic — Open Voice AI for 60M Speakers
|
| 12 |
|
| 13 |
-
> **Part of [Voices For All](https://huggingface.co/
|
| 14 |
|
| 15 |
This is the highest-quality open Amharic TTS model available today. It generates natural, expressive speech from text and can clone any speaker's voice from a 10-second audio sample.
|
| 16 |
|
|
@@ -76,7 +76,7 @@ import torch
|
|
| 76 |
from omnivoice import OmniVoice, OmniVoiceGenerationConfig
|
| 77 |
|
| 78 |
model = OmniVoice.from_pretrained(
|
| 79 |
-
"
|
| 80 |
device_map="cuda:0",
|
| 81 |
dtype=torch.float16,
|
| 82 |
)
|
|
@@ -92,10 +92,10 @@ audio = model.generate(
|
|
| 92 |
import soundfile as sf
|
| 93 |
sf.write("output.wav", audio[0], 24000)
|
| 94 |
print("✅ Saved to output.wav")
|
|
|
|
| 95 |
|
| 96 |
-
#
|
| 97 |
-
|
| 98 |
-
|
| 99 |
# Upload a 10-second reference WAV
|
| 100 |
prompt = model.create_voice_clone_prompt(ref_audio="speaker.wav", ref_text=None)
|
| 101 |
|
|
@@ -106,4 +106,127 @@ audio = model.generate(
|
|
| 106 |
generation_config=OmniVoiceGenerationConfig(num_step=32, guidance_scale=2.0),
|
| 107 |
)
|
| 108 |
sf.write("cloned.wav", audio[0], 24000)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
|
|
|
|
|
|
| 10 |
|
| 11 |
# OmniVoice Amharic — Open Voice AI for 60M Speakers
|
| 12 |
|
| 13 |
+
> **Part of [Voices For All](https://huggingface.co/african-low-resource)** — an open initiative to build speech AI for every language, starting with those left behind by Big Tech.
|
| 14 |
|
| 15 |
This is the highest-quality open Amharic TTS model available today. It generates natural, expressive speech from text and can clone any speaker's voice from a 10-second audio sample.
|
| 16 |
|
|
|
|
| 76 |
from omnivoice import OmniVoice, OmniVoiceGenerationConfig
|
| 77 |
|
| 78 |
model = OmniVoice.from_pretrained(
|
| 79 |
+
"african-low-resource/omnivoice-amharic",
|
| 80 |
device_map="cuda:0",
|
| 81 |
dtype=torch.float16,
|
| 82 |
)
|
|
|
|
| 92 |
import soundfile as sf
|
| 93 |
sf.write("output.wav", audio[0], 24000)
|
| 94 |
print("✅ Saved to output.wav")
|
| 95 |
+
```
|
| 96 |
|
| 97 |
+
### Voice Cloning
|
| 98 |
+
```python
|
|
|
|
| 99 |
# Upload a 10-second reference WAV
|
| 100 |
prompt = model.create_voice_clone_prompt(ref_audio="speaker.wav", ref_text=None)
|
| 101 |
|
|
|
|
| 106 |
generation_config=OmniVoiceGenerationConfig(num_step=32, guidance_scale=2.0),
|
| 107 |
)
|
| 108 |
sf.write("cloned.wav", audio[0], 24000)
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## 📈 Training Details
|
| 114 |
+
|
| 115 |
+
| Parameter | Value |
|
| 116 |
+
|-----------|-------|
|
| 117 |
+
| Base model | [k2-fsa/OmniVoice](https://huggingface.co/k2-fsa/OmniVoice) |
|
| 118 |
+
| Backbone | Qwen3-0.6B (636M params) |
|
| 119 |
+
| Audio tokenizer | HiggsAudioV2 (8 codebooks, 1025 vocab) |
|
| 120 |
+
| Learning rate | 2e-5 |
|
| 121 |
+
| LR schedule | Cosine |
|
| 122 |
+
| Max steps | 12,000 |
|
| 123 |
+
| Epochs | ~10 |
|
| 124 |
+
| Batch tokens | 28,672 |
|
| 125 |
+
| Precision | bf16 |
|
| 126 |
+
| Codebook weights | [8, 8, 6, 6, 4, 4, 2, 2] |
|
| 127 |
+
| **Best loss** | **3.9518 @ step 10,000** |
|
| 128 |
+
|
| 129 |
+
### Datasets
|
| 130 |
+
|
| 131 |
+
| Dataset | Hours | Role |
|
| 132 |
+
|---------|-------|------|
|
| 133 |
+
| [google/WaxalNLP](https://huggingface.co/datasets/google/WaxalNLP) | ~200h | Core corpus |
|
| 134 |
+
| [gheero-Leyu/leyu-amharic-addis-ababa-dialect](https://huggingface.co/datasets/gheero-Leyu/leyu-amharic-addis-ababa-dialect) | ~50h | Dialect diversity |
|
| 135 |
+
| [surafelabebe/amharic_clear_audio_tts](https://huggingface.co/datasets/surafelabebe/amharic_clear_audio_tts) | ~40h | Clean TTS data |
|
| 136 |
+
| [chappM/amharic-bdu-asr](https://huggingface.co/datasets/chappM/amharic-bdu-asr) | ~41h | ASR-aligned quality |
|
| 137 |
+
| **Total** | **~331h** | |
|
| 138 |
+
|
| 139 |
+
### Training History
|
| 140 |
+
|
| 141 |
+
| Run | Steps | Best Loss | Notes |
|
| 142 |
+
|-----|-------|-----------|-------|
|
| 143 |
+
| 1 | 0→1,500 | ~4.15 | Init from v3 |
|
| 144 |
+
| 2 | 1,500→6,000 | 3.9994 (step 4,190) | Storage issue lost checkpoints |
|
| 145 |
+
| 3 | 2,700→12,000 | **3.9518 (step 10,000)** | Final best |
|
| 146 |
+
|
| 147 |
+
---
|
| 148 |
+
|
| 149 |
+
## 🧪 Evaluation
|
| 150 |
+
|
| 151 |
+
We evaluate on a held-out test set (10% of combined data, never seen in training).
|
| 152 |
+
|
| 153 |
+
### Objective Metrics
|
| 154 |
+
|
| 155 |
+
| Metric | Value | Comparison (MMS-TTS-amh) |
|
| 156 |
+
|--------|-------|--------------------------|
|
| 157 |
+
| Mel-Cepstral Distortion (MCD) | TBD | TBD |
|
| 158 |
+
| F0 RMSE | TBD | TBD |
|
| 159 |
+
| Character Error Rate (ASR-back) | TBD | TBD |
|
| 160 |
+
|
| 161 |
+
### Subjective Metrics (MOS)
|
| 162 |
+
|
| 163 |
+
| Criterion | Score (1-5) | N evaluators |
|
| 164 |
+
|-----------|-------------|--------------|
|
| 165 |
+
| Naturalness | TBD | TBD |
|
| 166 |
+
| Speaker similarity (cloning) | TBD | TBD |
|
| 167 |
+
| Ejective consonant accuracy | TBD | TBD |
|
| 168 |
+
| Prosody / rhythm | TBD | TBD |
|
| 169 |
+
|
| 170 |
+
> *Subjective evaluation in progress. Results will be published here and in our benchmark repo.*
|
| 171 |
+
|
| 172 |
+
---
|
| 173 |
+
|
| 174 |
+
## 🔮 Roadmap
|
| 175 |
+
|
| 176 |
+
This model is **Phase 1** of a larger initiative:
|
| 177 |
+
|
| 178 |
+
- [x] Amharic TTS + voice cloning
|
| 179 |
+
- [ ] Amharic ASR (target: Q3 2026)
|
| 180 |
+
- [ ] Oromo TTS (target: Q3 2026)
|
| 181 |
+
- [ ] Tigrinya TTS (target: Q4 2026)
|
| 182 |
+
- [ ] Self-service fine-tuning toolkit for any language with 50h+ audio
|
| 183 |
+
|
| 184 |
+
Follow [Voices For All](https://huggingface.co/african-low-resource) for updates.
|
| 185 |
+
|
| 186 |
+
---
|
| 187 |
+
|
| 188 |
+
## ⚠️ Limitations & Biases
|
| 189 |
+
|
| 190 |
+
1. **Gender representation**: Training data skews male (65%). Female voices may sound less natural.
|
| 191 |
+
2. **Dialect coverage**: Heavy Addis Ababa bias. Rural Ethiopian accents (Tigray, Harar, Sidama) are underrepresented.
|
| 192 |
+
3. **Code-mixing**: Switching mid-sentence between Amharic and English is unpredictable.
|
| 193 |
+
4. **Numerals/dates**: Amharic calendar dates and large numbers sometimes mispronounce.
|
| 194 |
+
5. **Emotional range**: Neutral/news-reading style only. No whisper, shouting, or singing.
|
| 195 |
+
|
| 196 |
+
**We actively seek more diverse training data.** If you have Amharic audio recordings (any dialect, any speaker), contact us.
|
| 197 |
+
|
| 198 |
+
---
|
| 199 |
+
|
| 200 |
+
## 🤝 Citation
|
| 201 |
+
|
| 202 |
+
```bibtex
|
| 203 |
+
@software{omnivoice_amharic_2026,
|
| 204 |
+
author = {demeleww and Voices For All},
|
| 205 |
+
title = {OmniVoice Amharic: Open Voice AI for 60M Speakers},
|
| 206 |
+
year = {2026},
|
| 207 |
+
url = {https://huggingface.co/african-low-resource/omnivoice-amharic},
|
| 208 |
+
license = {Apache-2.0}
|
| 209 |
+
}
|
| 210 |
+
```
|
| 211 |
+
|
| 212 |
+
Base model:
|
| 213 |
+
```bibtex
|
| 214 |
+
@article{omnivoice2026,
|
| 215 |
+
title={OmniVoice: High-Quality Voice Cloning TTS for 600+ Languages},
|
| 216 |
+
journal={arXiv preprint arXiv:2604.00688},
|
| 217 |
+
year={2026}
|
| 218 |
+
}
|
| 219 |
+
```
|
| 220 |
+
|
| 221 |
+
---
|
| 222 |
+
|
| 223 |
+
## 📬 Contact
|
| 224 |
+
|
| 225 |
+
- **Organization**: [Voices For All](https://huggingface.co/african-low-resource)
|
| 226 |
+
- **Lead**: [demeleww](https://huggingface.co/demeleww)
|
| 227 |
+
- **Issues**: Open a GitHub issue
|
| 228 |
+
- **Collaboration**: [your-email@domain.com]
|
| 229 |
+
|
| 230 |
+
---
|
| 231 |
|
| 232 |
+
*Built with ❤️ for the 60M+ Amharic speakers who deserve a voice in AI.*
|