Instructions to use microsoft/speecht5_asr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/speecht5_asr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="microsoft/speecht5_asr")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("microsoft/speecht5_asr") model = AutoModelForSpeechSeq2Seq.from_pretrained("microsoft/speecht5_asr") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token": "<s>", | |
| "eos_token": "</s>", | |
| "mask_token": { | |
| "content": "<mask>", | |
| "lstrip": true, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>" | |
| } | |