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
| {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "do_upper_case": false, "special_tokens_map_file": "/home/suraj/.cache/huggingface/transformers/f39f1499e9c4d2b3e803e3cad8a31c4cf3e626e1c69197d4cd6921e5c07007f9.9d6cd81ef646692fb1c169a880161ea1cb95f49694f220aced9b704b457e51dd", "tokenizer_file": null, "name_or_path": "librispeech_hf_models/s2t_librispeech_small"} |