233 points · by iceychris · 6y ago · 71 comments
I've been working on this for a while now. While there are other on-premise solutions using older models such as DeepSpeech [0], I haven't found a deployable project supporting multiple languages using the recent RNN-T Architecture [1].
Please note that this does not achieve SotA performance. Also, I've only trained it on one GPU so there might be room for improvement.
Edit: Don't expect good performance :D this is still in early stage development. I am looking for contributers :)
Another question: could you use for example mozilla voice data to train/test?
Mozilla Common Voice data is already used for training.
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.
On a side project, I'm looking at the best interface to facilitate further edition (correction) of the recognized text. Target is local councils and regional parliament, where sessions are usually recorded but without transcripts. If xx% accuracy is enough to identify keywords, manual edition is still required to not distort precise meaning.
Nothing special in the interface, but two features seems interesting: 1. Be able to collaborate in real-time. Maybe using Etherpad API to merge multiple editions. 2. Easily validate text and label speakers so as to generate new training data.
Pointers to similar existing solutions would be very appreciated.
I looked into Kaldi and Mozilla Deep Speech but the former seems geared at ASR experts and the latter didn’t seem suited for my particular application (longer recorded audio or real time stream)
I would recommend looking at Vosk too, it converts speech to text much faster than Mozilla DeepSpeech while having slightly better results: https://alphacephei.com/vosk/
premise (noun) a previous statement or proposition from which another is inferred or follows as a conclusion.
premises (noun) a house or building, together with its land and outbuildings, occupied by a business or considered in an official context.
You didn't have any issue understanding the original title.
Humans are very good at live error correction, but that doesn't make it not wrong.
I looked at Twilio but they seem to only offer a means to do it on their VOIP/SIP product.
Yes, Google, Amazon, Microsoft all offer streaming solutions (wouldn't recommend Amazon's however, might recommend Microsoft over Google). wav2letter from FB is the only open-source framework worth looking at, deepspeech is not a seriously usable framework.
Not sure if relevant though, it's using their SIP product also. If the original service isn't using Telnyx, you could get creative and have a Telnyx shadow user join the group call to receive the stream, etc.
Agora also talk about this, but I haven't used it myself https://www.agora.io/en/
I enjoy a Raspberry Pi, Jetson nano, Arduino, whatever as much as the next person but the seemingly endless stream of projects and resulting blog posts, etc featuring them can get a little old.
Great work!
Thank you for your kind words! :)
[1] https://ai.facebook.com/blog/wav2vec-20-learning-the-structu...
[0] https://github.com/theblackcat102/Online-Speech-Recognition
Do you mind emailing me? Lastname at gmail dot com (see my profile for my name)
Wondering if you might have a better reco of the French President if you have a model per dialect of English?
As a FYI, I was told “the money” was in specific “dictionaries” for medical professionals and so forth. Apparently, doctors liked to dictate straight into text. Might be worth trying that $$$€€€£££?
Thats why there are dozen RNNT projects around, some of them more reasonable, some less, but most of them struggle to demonstrate even a good librispeech WER.
You have a long way to go.
That is to say, what are areas where you think ASR can enable new products or make common and tedious tasks much more efficient?
Also, it's already paying off tremendously. When repercussions can be severe, so can rewards. We have a 2-year old who is incredibly emotionally aware, has a huge vocabulary, enjoys eating anything, explores freely, is learning to play multiple instruments, draws with a pencil grip in both hands, can sit to actively listen to music for 20+ minutes at a time, and learns lyrics incredibly fast.
If you have specific fears, I'm interested in hearing them because that gives us an opportunity to prepare.
this would give you absolutely perfect sync down to the word, I assume... I don't know about the cost if you paid ratecard though, perhaps you can do some partnership with them since yours is a symetrical product