models/whisper/src/whisper_engine library
Classes
- WhisperEngine
- Transcribes English audio with beam search.
- WhisperOnnxBackend
- Runs the two ONNX graphs of a Whisper model. A backend keeps the encoder output and the decoder's key/value cache between calls.
Constants
- whisperVocabularySize → const int
- The vocabulary of the multilingual Whisper models, before Whisper large-v3.
Functions
-
decodeWhisperText(
Iterable< int> tokens) → String - Decodes Whisper text tokens to a string. Special tokens are skipped.