3 ms·
So how can one actually use one of these systems? I'm familiar with pocketsphinx, where you download it and then run procketsphinx_continuous and it prints a tr
by skykooler 7y ago
So how can one actually use one of these systems? I'm familiar with pocketsphinx, where you download it and then run procketsphinx_continuous and it prints a transcription of the microphone. Or Julius, where you write a grammar and run it with that and it prints the output. The process for DeepSpeech seems to be along the lines of "get access to a machine with ten GPUs, find a huge dataset, train it, and then run that somehow" - are there compiled models that can actually be shipped as part of an application?
- nwalker85 7y agoVerbio offers an ASR with built-in grammars, which is what you are asking for. Deepspeech is hot garbage in my experience.
- jamesonthecrow 7y agoObviously the big cloud players offer their own APIs and SDKs (for a price), but there are a few other solutions worth looking at. Facebook has open sourced some pre-trained models: https://github.com/facebookresearch/wav2letter https://github.com/facebookresearch/wav2letter Picovoice has some smaller, more efficient models capable of running on edge devices: https://github.com/Picovoice https://github.com/Picovoice Full ASR does require quite large models and datasets, but you don't need nearly that much power or data to fine-tune a model for your own domain.
- skykooler 7y agoAh, thanks, I wasn't aware Picovoice had released an actual engine yet.
- GordonS 7y agoWasn't aware of Picovoice. Just tried the live do they have on their website... wow, it's... not great! Even if I spoke as precisely as possible or/and put on an American accent, it was way off the mark.
- lunixbochs 7y agoI made a realtime mac demo of the acoustic model part of wav2letter++ including several trained models: https://github.com/facebookresearch/wav2letter/issues/327 https://github.com/facebookresearch/wav2letter/issues/327 Someone in that thread ported it to linux. This demo is just "acoustic model emissions", which are character level predictions (with no repeated characters), but I have "decoding" (turning into english sentences) working locally as well and I'll post a new demo at some point.
- TaylorAlexander 7y agoMozilla is maintaining an implementation of Baidu's deepspeech with pretrained models (and checkpoints so you can fine tune with your own dataset). They have an example that accepts streaming from the microphone: https://github.com/mozilla/DeepSpeech/tree/master/examples/mic_vad_streaming https://github.com/mozilla/DeepSpeech/tree/master/examples/m... See the last full release here: https://github.com/mozilla/DeepSpeech/releases/tag/v0.5.1 https://github.com/mozilla/DeepSpeech/releases/tag/v0.5.1