Skip to content

createSpeechToText

createSpeechToText(config?, opts?): Promise<SpeechToText>

Defined in: packages/runntime/src/zoo/tasks/audio/speechToText.ts:93

Loads the checkpoint and the tokenizer, warms every GPU path once, and returns the runner. With no config, loads Moonshine tiny from the Hugging Face Hub.

SpeechToTextModel = {}

LoadOptions = {}

Promise<SpeechToText>