Automatic Speech Recognition
Transformers
PyTorch
English
speech_to_text_transformer
text-generation
audio
Run this model with HF Jobs
Run valhalla/s2t_librispeech_medium on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/valhalla/s2t_librispeech_medium. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/valhalla/s2t_librispeech_medium on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("valhalla/s2t_librispeech_medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add processor
Browse filesFiles changed (2)
- preprocessor_config.jsonAdded+11
- tokenizer_config.json+1-1
1234567891011{ "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}11{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "special_tokens_map_file": "/home/suraj/.cache/huggingface/transformers/f39f1499e9c4d2b3e803e3cad8a31c4cf3e626e1c69197d4cd6921e5c07007f9.9d6cd81ef646692fb1c169a880161ea1cb95f49694f220aced9b704b457e51dd", "tokenizer_file": null, "name_or_path": "valhalla/s2t_librispeech_transformer_small"}{"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"}preprocessor_config.jsonAdded+11
tokenizer_config.json+1-1