Online/streaming speech recognition
Are there plans to implement online decoding for the speech recognition models such as wav2vec2 and XLSR? More specifically, to be able to receive audio in short chunks, and output partial transcripts as they become available.MotivationMany use cases are covered by the current wav2vec2 model in the library, involving batch recognition of pre-recorded text. However for an online application that wanted to continuously recognize speech on a live input stream, this may not be sufficient.
2021-09-11T18:50:39Z
I would very much like to know whether this is possible too! Have you gotten any further on this,@arkadyark?
2022-10-26T08:19:28Z
please check this oneUse wav2vec2 models with a microphone easilyBeginnersHello folks, 
I wrote a little lib to be able to use any wav2vec2 model from the model hub with a microphone. Since wav2vec2 does not support streaming mode, I used voice activity detection to create audio chunks that I can feed into the model. 
Here is a little example, you canfind the code on github. 
from live_asr import LiveWav2Vec2

german_model = "maxidl/wav2vec2-large-xlsr-german"
asr = LiveWav2Vec2(german_model,device_name="default")
asr.start()

try:        
    while True:
        tex…