Downloads · 30 days
60
100% of all-time downloads
Respair/Darya_TTS
Darya_TTS is a machine learning model from Respair. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as openrail++.
<center<h1The Poor man's TTS</h1</center
Downloads · 30 days
60
100% of all-time downloads
All-time downloads
60
Public
Repo size
55.1 GB
Likes
0
Public
Click a slice to open those files.
.data20.8 GB · 42%
From the Hugging Face model README
| Architecture | Rectified-flow Enc/Dec DiT |
| Objective | Spanned mask (infilling) |
| Audio shape | FSQ latents @ 12.5 Hz - 44.1khz |
| Size | 1B params |
| Languages | English, Persian (+Tajik), Russian |
Darya is a fat, but fast speech generation neural net that can be trained cheaply, easily and you don't have to compromise much on its capacity. <br> Github
Start with the inference notebook.
or the gradio space - the denoiser is quantized to 8 bit, which causes degradation.
<S1>, <S2> etc.), disfluencies (uh, umm), and non-speech sounds through supported emojis.The goal of this project was to see if I could develop the fastest modern speech synthesizer possible (especially on cpu) on a limited budget, without compromising on the model size. <br>
for more details please check here.
You need a dataset with pre-extracted Dune FSQ latents and text, plus any tokenizer AutoTokenizer can load.
first extract the latents then train.
accelerate launch --mixed_precision bf16 train.py \
--config config_transformer.json \
--dataset /your_dataset \
--exp_dir exp/darya \
--tokenizer "your/tokenizer"
The second stage and its adversarial component are both optional. I never enabled the discriminator myself, too expensive to be worth it.
If you want to use another codec, you can just change dim 52 to your target. but beware that this may cost you a big chunk of the efficiency gains that this model offers.
see LICENSE.md.
I hope this work proves to be useful to you. Let me know if you have questions (preferably on X / twitter or email)
Specal thanks to my good friend Muhtasham for his financial support and his work on Tajik. <br>
and also Mahdi and Amir for their help; Den4ik for ruaccent.