News for hackers. Stuff that matters.
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by th3h4mm3r on Sunday November 15, 2020 @09:13AM (#25101306)
Hi! What should you need to implement other language i.e. Italian or French? I mean: it's a problem due to the less of datas or what?

Another question: could you use for example mozilla voice data to train/test?

Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by iceychris on Sunday November 15, 2020 @09:24AM (#25101390)
Data and compute are the largest hurdles. I only have one GPU and training one model takes 3+ days, so I am limited by that. Also, scraping from YouTube takes time and a lot of storage (multiple TBs).

Mozilla Common Voice data is already used for training.

Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by forgingahead on Sunday November 15, 2020 @10:04PM (#25107513)
Thanks for sharing this project. What do you think of the data with Mozilla Common Voice? The random sampling I looked at a while back seemed pretty poor -- background noise, stammering, delays in beginning the speaking, etc.

I was hoping to use it as a good training base, but the issues I encountered made me wary that the data quality would adversely affect any outcomes.

Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by iceychris on Monday November 16, 2020 @04:27PM (#25117176)
Depending on your objective, noisy data might be useful. I'd like LibreASR to also work in noisy environments, so training on data that is noisy should already help a bit with that. But yeah - stammering and delays are present not only in Common Voice but also Tatoeba and YouTube.
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by oulipo on Monday November 16, 2020 @04:50PM (#25117415)
There is also many data from audiobooks in many languages that are easy to scrap and align using a basic model that has been updated for each language, or using Youtube videos with subtitles that are almost aligned for a first version of the model, then realigning
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by th3h4mm3r on Sunday November 15, 2020 @09:37AM (#25101509)
For the compute problem: maybe you can use cloud server gpu powered as https://www.paperspace.com/ I don't know update prices but I remember it was quite affordable.
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by whimsicalism on Sunday November 15, 2020 @10:32AM (#25101919)
> I remember it was quite affordable.

Relative to what? Paperspace is one of the costlier GPU providers.

Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by th3h4mm3r on Sunday November 15, 2020 @04:34PM (#25105107)
Okay, you are right, but it's also really performant, so imho you can do a lot of work in minor time.

For something cheapest I read that post on reddit :

https://amp.reddit.com/r/devops/comments/dqh09n/cheapest_clo...

Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by whimsicalism on Sunday November 15, 2020 @04:46PM (#25105212)
performant? It's the same GPU..?
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by jack_pp on Sunday November 15, 2020 @09:31AM (#25101451)
Why does it take a lot of data? Afaik you can select lower quality in youtube-dl but you don't even need video do you?
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by whimsicalism on Sunday November 15, 2020 @10:27AM (#25101881)
> Why does it take a lot of data? Afaik you can select lower quality in youtube-dl but you don't even need video do you?

But you need supervised data too.

Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by klysm on Sunday November 15, 2020 @09:35AM (#25101496)
I know you can scrape only audio from YouTube with YouTubeDL but it’s somewhat annoying
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by Shared404 on Sunday November 15, 2020 @12:46PM (#25103078)
I use something akin to

    'alias downloadmusic='youtube-dl --extract-audio --audio-quality 0 --extract-metadata'
in my .bashrc

I find that helps with the annoyance of downloading things off of YT. This is for music obviously, but there's an option to download subtitles as well.

EDIT: Typed this from memory, there may be errors in the alias.

Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by jerf on Sunday November 15, 2020 @05:57PM (#25105785)

    youtube-dl -f bestaudio $URL
Dunno when that went in but it works now.
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by th3h4mm3r on Sunday November 15, 2020 @09:32AM (#25101458)
So do you scrap videos from youtube with subtitles to collect data?
Re:Show HN: LibreASR – An On-Premises, Streaming Speech Reco... by trowngon on Sunday November 15, 2020 @07:30PM (#25106498)
Vosk supports both Italian and French. French model is trained by Linto project, pretty good one.