load_whisper_model

Load Whisper Model

Description

Load a Whisper model with weights from HuggingFace.

Usage

1load_whisper_model(
2  model = "tiny",
3  device = "auto",
4  dtype = "auto",
5  download = FALSE,
6  verbose = TRUE
7)

Arguments

  • model: Model name: “tiny”, “base”, “small”, “medium”, “large-v3”
  • device: Device to load model on (“auto”, “cpu”, “cuda”)
  • dtype: Data type (“auto”, “float16”, “float32”)
  • download: If TRUE and model not present, prompt to download
  • verbose: Print loading messages

Value

WhisperModel module