Automatic Speech Recognition
Automatic speech recognition (ASR) turns spoken audio into written text.
Inputs
Input
Automatic Speech Recognition Model
Output
Output
Remember to water the plants before you leave.
About Automatic Speech Recognition
Automatic speech recognition (ASR) turns spoken audio into written text. Browse automatic speech recognition models on HubClone to compare checkpoints, or open a Space to try one in the browser.
Use Cases
Captioning
Add subtitles to videos and live streams.
Voice assistants
Understand spoken commands.
Inference
The Transformers pipeline API runs automatic speech recognition models in a few lines. Replace <model-id> with any model listed on this page.
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="<model-id>")
pipe("sample.flac")Useful Resources
Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.
Documentation
- Automatic Speech Recognition task guide
- Pipelines reference
Notebooks
- Fine-tuning a automatic speech recognition model