S2T SMALL LIBRISPEECH ASR s2t small librispeech asr is a Speech to Text Transformer (S2T) model trained for automatic speech recognition (ASR). The S2T model was proposed in this paper and released in this repository Model description S2T is an end to end sequence to sequence transformer model. It is trained with standard autoregressive cross entropy loss and generates the transcripts autoregressively. Intended uses & limitations This model can be used for end to end speech recognition (ASR). See the model hub to look for other S2T checkpoints. How to use As this a standard sequence to sequence transformer model, you can use the generate method to generate the transcripts by passing the speech features to the model. Note: The Speech2TextProcessor object uses torchaudio to extract the filter bank features. Make sure to install the torchaudio package before running this example. Note: The feature extractor depends on torchaudio and the tokenizer depends on sentencepiece so be sure to install those packages before running the examples. You could either install those as extra speech dependancies with pip install transformers"[speech, sentencepiece]" or install the packages seperatly wi…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy