Skip navigation
LETS GOO! Parler TTS 🔥
0:00 / 0:39

LETS GOO! Parler TTS 🔥

Vaibhav (VB) Srivastav

@reach_vb42K followers

Visit on X
741 likesDownloadOriginal post

156,386 views

LETS GOO! Parler TTS 🔥 A fully open-source, Apache 2.0 licensed Text-to-speech model focused on providing maximum controllability. Through voice prompts, you can control the pitch, speed, gender, noise levels, emotion characteristics and more! > Trained on 10K hours of permissive data. > Offers control over the generations. > Training + Inference code released. > The processed dataset and tagging scripts were released for further research. > English only for now. Next, we're scaling the training to 50K hours and even better dataset processing! Want to help us out? DMs open! 🤗

9 Comments

Comments from the original post on X (Twitter)

  • Vaibhav (VB) Srivastav's profile picture

    @reach_vb

    Try it out in the space directly (& share your generations below)!

    36 likes

  • Vaibhav (VB) Srivastav's profile picture

    @reach_vb

    Check out our inference plus training code base here:

    30 likes

  • Vaibhav (VB) Srivastav's profile picture

    @reach_vb

    You should also be able to use it in a Colab with less than 10 lines of code: import torch from parler_tts import ParlerTTSForConditionalGeneration from transformers import AutoTokenizer import soundfile as sf device = "cuda:0" if torch. cuda. is_available() else "cpu" model = ParlerTTSForConditionalGeneration.from_pretrained("parler-tts/parler_tts_mini_v0.1").to(device) tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler_tts_mini_v0.1") prompt = "Hey, how are you doing today?" description = "A female speaker with a slightly low-pitched voice delivers her words quite expressively, in a very confined sounding environment with clear audio quality." input_ids = tokenizer(description, return_tensors="pt").input_ids.to(device) prompt_input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(device) generation = model.generate(input_ids=input_ids, prompt_input_ids=prompt_input_ids) audio_arr = generation.cpu().numpy().squeeze() sf.write("parler_tts_out.wav", audio_arr, model.config.sampling_rate)

    21 likes

  • Dennis Lysenko's profile picture

    @dennis_lysenko

    @reach_vb this is awesome -- can we run this on Replicate?

    1 like

  • Vaibhav (VB) Srivastav's profile picture

    @reach_vb

    Not yet, but you can try it out and use it here:

    1 like

  • Javier de la Rosa @versae@mastodon.social's profile picture

    @versae

    This is really cool! I've been looking at Parler and Data-Speech and would love to give it a try for low-resource languages. What's the minimum amount of hours needed for this to adapt to another language? And does the audio need to be separated by speaker?

    1 like

  • Vaibhav (VB) Srivastav's profile picture

    @reach_vb

    We will release fine-tuning support soon. I think for the most part the quality of the dataset matters way more than the quantity. You’d need to have enough diversity to ensure a balance in the voice prompts. Once that is in you should be able to train in any language. That said, we haven’t tried this yet, so this is all a hypothesis at this point.

    2 likes

  • bitBrain's profile picture

    @recursiverealms

    @ClementDelangue but can it laugh? nono sorry, I mean Holy shit! nice!

    1 like

  • bane's profile picture

    @bitbane01

    @huggingface Not bad

    1 like