Building an end-to-end Speech Recognition model in PyTorch
1–10 of 34 posts
Re: Building an end-to-end Speech Recognition model in PyTorch
#21. Tons of diverse data sets (real world)
2. Solution for Noise - Either de-noise and train OR train with noise.
There are lots of extra challenges that voice recognition problem have to solve which is not common with other deep learning problems:
1. Pitch
2. Speed of conversation
3. Accents (can be solved with more data, I think)
4. Real time inference (low latency)
5. On the edge (i.e. Offline on mobile devices)
Re: Building an end-to-end Speech Recognition model in PyTorch
#3Edit: I think I've fixed it by changing the pip command to:
!pip install torchaudio comet_ml==3.0
Re: Building an end-to-end Speech Recognition model in PyTorch
#4There is also not really a problem about available open source code. There are countless of open source projects which already have that mostly ready to use, for all the common DL frameworks, like TF, PyTorch, Jax, MXNet, whatever. For anyone with a bit of ML experience, this should really not be too hard to setup.
But then to get good performance, on your own dataset, what you really need is experience. Probably taking some existing pipeline will get you some model, with an okish word-error-rate. But then you should tune it. In any case, even without tuning, probably encoder-decoder-attention models will perform better than CTC models.
Re: Building an end-to-end Speech Recognition model in PyTorch
#5Re: Building an end-to-end Speech Recognition model in PyTorch
#6This is probably really good but the linked Colab notebook is failing on the first step with some unresolvable dependencies. This does seem to be a bit of a common theme whenever I try running example ML projects. Edit: I think I've fixed it by changing the pip command to: !pip install torchaudio comet_ml==3.0
Its a problem that as an industry I think we are in the middle of "solving" (probably can't be solved fully, but things are getting better). I'm really excited to see what kinds of tools and tests will be developed around getting ML projects with some better practices.
Re: Building an end-to-end Speech Recognition model in PyTorch
#7Re: Building an end-to-end Speech Recognition model in PyTorch
#8This seems to be a CTC model. CTC is not really the best option for a good end-to-end system. Encoder-decoder-attention models or RNN-T models are both better alternatives. There is also not really a problem about available open source code. There are countless of open source projects which already have that mostly ready to use, for all the common DL frameworks, like TF, PyTorch, Jax, MXNet, whatever. For anyone with…
You do need attention in the language model part of the pipeline
Re: Building an end-to-end Speech Recognition model in PyTorch
#9Dunno why (probably dataset) but open source Speech Recognition models are performing very poorly on real world data compared to google speech to text or azure cognitive.
Re: Building an end-to-end Speech Recognition model in PyTorch
#10Dunno why (probably dataset) but open source Speech Recognition models are performing very poorly on real world data compared to google speech to text or azure cognitive.
Most open source models are trained on Libri, SWB, etc. which are not really big or diverse enough for real-world scenarios.
But to max-out results the devil is in the details IMO (network architecture, optimizer, weight initialization, regularization, data augmentation, hyperparam tuning, etc) which requires a lot of experiments.