Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
pipeline_tag: text-to-speech
|
| 5 |
+
tags:
|
| 6 |
+
- tts
|
| 7 |
+
- flare
|
| 8 |
+
- open
|
| 9 |
+
- open-source
|
| 10 |
+
- small
|
| 11 |
+
- speech
|
| 12 |
+
- text-to-speech
|
| 13 |
+
- tiny
|
| 14 |
+
- cpu
|
| 15 |
+
datasets:
|
| 16 |
+
- keithito/lj_speech
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# 🎙️ Flare-TTS 28M
|
| 20 |
+
Welcome to Flare-TTS 28M, an open-source text-to-speech model with 28 million parameters trained on LJSpeech.
|
| 21 |
+
|
| 22 |
+
## Quality and results
|
| 23 |
+
This model is okayish quality but it still sounds a bit robotish but you can clearly understand what the model tries to say.
|
| 24 |
+
See this model as a proof-of-concept or a first-beta.
|
| 25 |
+
Example:
|
| 26 |
+
<audio controls src="https://cdn-uploads.huggingface.co/production/uploads/697f2832c2c5e4daa93cece7/vluuHSnp9Ietk7Uk1-hvG.mpga"></audio>
|
| 27 |
+
|
| 28 |
+
## Training process
|
| 29 |
+
We trained this model for ~300 epochs on a single A6000 GPU for ~24 hours.
|
| 30 |
+
The full training code can be found in this repo as `start.sh` and `train.py`. Just run `start.sh` to train this model yourself.
|
| 31 |
+
|
| 32 |
+
## Architecture
|
| 33 |
+
This model was trained using CoquiTTS. For the architecture we chose GlowTTS.
|
| 34 |
+
|
| 35 |
+
## Training dataset
|
| 36 |
+
We trained on the full LJSpeech dataset. Thanks to keithito for this :-)
|
| 37 |
+
|
| 38 |
+
## How to use
|
| 39 |
+
As soon as you have the model checkpoint (`model.pth`) and `config.json` on your device, you can generate a sample using:
|
| 40 |
+
```bash
|
| 41 |
+
tts --text "Hello world, this is my first trained TTS model." \
|
| 42 |
+
--model_path model.pth \
|
| 43 |
+
--config_path config.json \
|
| 44 |
+
--out_path output_1.wav
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
## Final thoughts
|
| 48 |
+
We don't think it's perfect - it's more like a proof of concept. So please do not use this model for production use cases but more for experiments.
|
| 49 |
+
We are happy to share more of this soon - stay tuned for Flare-TTS v2 :D
|