Automatic Speech Recognition
Transformers
PyTorch
English
speech_to_text_transformer
text-generation
audio
Instructions to use valhalla/s2t_librispeech_medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valhalla/s2t_librispeech_medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="valhalla/s2t_librispeech_medium")# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("valhalla/s2t_librispeech_medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_normalize": true, | |
| "feature_size": 80, | |
| "norm_means": true, | |
| "norm_vars": true, | |
| "num_mel_bins": 80, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| } | |