Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: lg
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
tags: [text-to-speech, tts, nemo, luganda, african-languages]
|
| 5 |
+
datasets: [Sunbird/salt]
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# Luganda TTS v3
|
| 9 |
+
|
| 10 |
+
Text-to-Speech system for Luganda using NVIDIA NeMo.
|
| 11 |
+
|
| 12 |
+
## Models
|
| 13 |
+
| Model | Description | Size |
|
| 14 |
+
|-------|-------------|------|
|
| 15 |
+
| `luganda_fastpitch.nemo` | FastPitch spectrogram generator | 187 MB |
|
| 16 |
+
| `luganda_hifigan.nemo` | HiFi-GAN neural vocoder | 339 MB |
|
| 17 |
+
|
| 18 |
+
## Training
|
| 19 |
+
- **Dataset**: Sunbird/salt (~2,380 samples, 2.69 hours)
|
| 20 |
+
- **FastPitch**: 20,000 steps
|
| 21 |
+
- **HiFi-GAN**: 20,000 steps
|
| 22 |
+
- **Sample Rate**: 22,050 Hz
|
| 23 |
+
|
| 24 |
+
## Usage
|
| 25 |
+
```python
|
| 26 |
+
from nemo.collections.tts.models import FastPitchModel, HifiGanModel
|
| 27 |
+
|
| 28 |
+
fastpitch = FastPitchModel.restore_from("luganda_fastpitch.nemo")
|
| 29 |
+
hifigan = HifiGanModel.restore_from("luganda_hifigan.nemo")
|
| 30 |
+
|
| 31 |
+
text = "Oli otya?"
|
| 32 |
+
spec = fastpitch.generate_spectrogram(tokens=fastpitch.parse(text))
|
| 33 |
+
audio = hifigan.convert_spectrogram_to_audio(spec=spec)
|
| 34 |
+
```
|