transcribe

Whisper Transcription

Description

Main transcription API for Whisper. Transcribe Audio Transcribe speech from an audio file using Whisper.

Usage

1transcribe(
2  file,
3  model = "tiny",
4  language = "en",
5  task = "transcribe",
6  device = "auto",
7  dtype = "auto",
8  verbose = TRUE
9)

Arguments

  • file: Path to audio file (WAV, MP3, etc.)
  • model: Model name: “tiny”, “base”, “small”, “medium”, “large-v3”
  • language: Language code (e.g., “en”, “es”). NULL for auto-detection.
  • task: “transcribe” or “translate” (translate to English)
  • device: Device: “auto”, “cpu”, “cuda”
  • dtype: Data type: “auto”, “float16”, “float32”
  • verbose: Print progress messages

Value

List with text, language, and metadata