import CodeExampleCPP from './_code_example_cpp.mdx'; import CodeExamplePython from './_code_example_python.mdx'; import CodeExampleJS from './_code_example_js.mdx';
OpenVINO GenAI introduces the WhisperPipeline pipeline for inference of speech recognition Whisper models.
You can construct it straight away from the folder with the converted model.
It will automatically load the model, tokenizer, detokenizer and default generation configuration.
:::info
WhisperPipeline expects normalized audio files in WAV format at sampling rate of 16 kHz as input.
:::
:::tip
Use CPU or GPU as devices without any other code change.
:::