Better HN
topnewbestaskshowjobs
Log inSign up

toebee

508 karma · joined Jan 12, 2022 (4y ago) · 77 submissions

building narilabs.com
Submissions

comment 1y ago · link · parent

Thank you for the contribution! We'll be merging PRs and cleaning code up very soon :)

comment 1y ago · link · parent

Sorry for the confusion. the license is plain Apache 2.0, and we changed the wording to "intended for research and educational use." The point was, users are free to use it for their use cases, just don't do shady stuff with it.

Thanks for the feedback :)

comment 1y ago · link · parent

We are in the progress of fixing it! Thanks for letting us know :)

comment 1y ago · link · parent

We use descript audio codec! I’m not sure if DAC works on iOS…

comment 1y ago · link · parent

Thank you for the kind words! Dia wasn’t fine tuned on certain speaker, so you will get random voices every time you run it, unless you add a prompt / fix the seed.

The outputs are a bit unstable, might need to add cleaner training data and run longer training sessions. Hopefully we can do something like OAI Whisper and update with better performing checkpoints!

comment 1y ago · link · parent

Thank you!! Indeed the script was inspired from a scene in the Office.

comment 1y ago · link · parent

Thank you for the kind words <3

comment 1y ago · link · parent

It is way past bedtime here, will be getting back to comments after a few hours of sleep! Thanks for all the kind words and feedback

comment 1y ago · link · parent

You can add an audio prompt and prepend text corresponding to it in the script. You can get a feel for it by trying the second example in the Gradio interface!

comment 1y ago · link · parent

Unfortunately yes at the moment

comment 1y ago · link · parent

We will work on a quantized version of the model, so hopefully you will be able to run it soon!

We've seen Bark from Suno go from 16GB requirement -> 4GB requirement + running on CPUs. Won't be too hard, just need some time to work on it.

comment 1y ago · link · parent

Sounds awesome! I think it won't be very hard to run it using output streaming, although that might require beefier GPUs. Give us an email and we can talk more - nari.ai.contact at gmail dot com.

It's way past bedtime where I live, so will be able to get back to you after a few hours. Thanks for the interest :)

comment 1y ago · link · parent

We're envisioning a platform with a social aspect, so that is the biggest difference. Also, bigger models!

We are aware of the fact that you do not need to create a venv when using pre-existing uv. Just added it for people spinning up new GPUs on cloud. But I'll update the README to make that a bit clearer. Thanks for the feedback :)

comment 1y ago · link · parent

Interesting. I haven't thought of that problem before. I'm guessing a large enough audio dataset for medical terminology does not exist publicly.

But AFAIK, even if you have just a few hours of audio containing specific terminology (and correct pronunciation), fine-tuning on that data will significantly improve performance.

comment 1y ago · link · parent

Thanks for the heads-up! We weren’t aware of the GNOME Dia project. Since we focus on speech AI, we’ll make sure to clarify that distinction.

comment 1y ago · link · parent

Hey HN! We’re Toby and Jay, creators of Dia. Dia is 1.6B parameter open-weights model that generates dialogue directly from a transcript.

Unlike TTS models that generate each speaker turn and stitch them together, Dia generates the entire conversation in a single pass. This makes it faster, more natural, and easier to use for dialogue generation.

It also supports audio prompts — you can condition the output on a specific voice/emotion and it will continue in that style.

Demo page comparing it to ElevenLabs and Sesame-1B https://yummy-fir-7a4.notion.site/dia

We started this project after falling in love with NotebookLM’s podcast feature. But over time, the voices and content started to feel repetitive. We tried to replicate the podcast-feel with APIs but it did not sound like human conversations.

So we decided to train a model ourselves. We had no prior experience with speech models and had to learn everything from scratch — from large-scale training, to audio tokenization. It took us a bit over 3 months.

Our work is heavily inspired by SoundStorm and Parakeet. We plan to release a lightweight technical report to share what we learned and accelerate research.

We’d love to hear what you think! We are a tiny team, so open source contributions are extra-welcomed. Please feel free to check out the code, and share any thoughts or suggestions with us.

77.

Show HN: Dia, an open-weights TTS model for generating realistic dialogue(github.com ↗)

652 points · by toebee · 1y ago · 190 comments

123