"examples/pytorch/text-classification/run_classification.py" did not exist on "eab338104ddfe01810b45ad965b2fab25079a96f"
Unverified Commit afb66749 authored by Yih-Dar's avatar Yih-Dar Committed by GitHub
Browse files

Update `AutomaticSpeechRecognitionPipeline` doc example (#20512)


Co-authored-by: default avatarydshieh <ydshieh@users.noreply.github.com>
parent 04c653a3
......@@ -115,7 +115,7 @@ class AutomaticSpeechRecognitionPipeline(ChunkPipeline):
>>> transcriber = pipeline(model="openai/whisper-base")
>>> transcriber("https://huggingface.co/datasets/Narsil/asr_dummy/resolve/main/1.flac")
{'text': ' He hoped there would be stew for dinner, turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick, peppered flour fat and sauce.'}
{'text': ' He hoped there would be stew for dinner, turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick, peppered flour-fatten sauce.'}
```
Learn more about the basics of using a pipeline in the [pipeline tutorial](../pipeline_tutorial)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment