Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- rw
|
4 |
+
pipeline_tag: text-to-speech
|
5 |
+
---
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
## Model Description
|
10 |
+
|
11 |
+
<!-- Provide a longer summary of what this model is. -->
|
12 |
+
This model is an end-to-end deep-learning-based Kinyarwanda Text-to-Speech (TTS). Due to its zero-shot learning capabilities, new voices can be introduced with 1min speech.
|
13 |
+
The model was trained using the Coqui's TTS library, and the YourTTS[1] architecture. It was trained on 67 hours of Kinyarwanda bible data, for 100 epochs.
|
14 |
+
|
15 |
+
|
16 |
+
## Data Sources
|
17 |
+
|
18 |
+
<!-- Provide the basic links for the model. -->
|
19 |
+
|
20 |
+
- **Audio data:** [www.faithcomesbyhearing.com, version -> Common Language Version audio Old Testament]
|
21 |
+
- **Text data:** [www.bible.com, version -> Bibiliya Ijambo ry'imana(BIR)(only the Old Testament was used)]
|
22 |
+
|
23 |
+
# Usage
|
24 |
+
|
25 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
26 |
+
Install the Coqui's TTS library:
|
27 |
+
```
|
28 |
+
pip install TTS
|
29 |
+
```
|
30 |
+
Download the files from this repo, then run:
|
31 |
+
|
32 |
+
```
|
33 |
+
tts --text "text" --model_path model.pth --encoder_path SE_checkpoint.pth.tar --encoder_config_path config_se.json --config_path config.json --speakers_file_path speakers.pth --speaker_wav conditioning_audio.wav --out_path out.wav
|
34 |
+
```
|
35 |
+
Where the conditioning audio is a wav file(s) to condition a multi-speaker TTS model with a Speaker Encoder, you can give multiple file paths. The d_vectors is computed as their average.
|
36 |
+
# References
|
37 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information should go in this section. -->
|
38 |
+
[1] [YourTTS paper](https://arxiv.org/pdf/2112.02418.pdf)
|