faster-whisper-medium

The Systran/faster‑whisper‑medium model is a CTranslate2‑compatible conversion of OpenAI’s

Systran 533K downloads mit Speech Recognition
Languagesenzhdeesruko
Tagsctranslate2audioautomatic-speech-recognitioncalamisraz
Downloads
533K
License
mit
Pipeline
Speech Recognition
Author
Systran

Run faster-whisper-medium locally on a Q4KM hard drive

Boost your transcription workflow with a pre‑loaded Q4KM SSD that ships Systran/faster‑whisper‑medium ready to run out of the box. No download, no setup – just plug and start transcribing. Get this...

Shop Q4KM Drives

Technical Overview

The Systran/faster‑whisper‑medium model is a CTranslate2‑compatible conversion of OpenAI’s Whisper‑medium speech‑to‑text system. It is an automatic speech recognition (ASR) engine that accepts audio in a wide range of formats (MP3, WAV, OGG, etc.) and returns time‑aligned transcriptions in dozens of languages.

Key features and capabilities

  • Multilingual support: 60+ languages including English, Mandarin Chinese, German, Spanish, Russian, Korean, French, Japanese, Portuguese, Turkish, Polish, Arabic, Hindi, Vietnamese, and many more (see full language list in the README).
  • High‑quality transcription: Based on Whisper‑medium’s 770 M‑parameter encoder‑decoder architecture, delivering near‑state‑of‑the‑art word‑error‑rate (WER) on public benchmarks.
  • Fast inference: Leveraging the CTranslate2 runtime, the model runs up to 2‑3× faster than the original PyTorch implementation on the same hardware, especially when using the float16 (FP16) quantization.
  • Flexible precision: Weights are stored in FP16 by default, but CTranslate2 allows on‑the‑fly conversion to int8 or float32 via the compute_type option.
  • Easy integration: Compatible with the faster‑whisper Python wrapper, which provides a simple WhisperModel API for rapid prototyping.

Architecture highlights

  • Transformer‑based encoder‑decoder with 32 layers (12 encoder, 20 decoder) and 1 024 hidden units.
  • Self‑attention heads: 16 per layer, enabling rich contextual modeling of speech frames.
  • Positional encoding tuned for 30 ms audio frames, matching Whisper’s original mel‑spectrogram preprocessing pipeline.
  • Cross‑modal tokenization: a shared tokenizer (tokenizer.json) that maps sub‑word units to language‑agnostic text tokens.

Intended use cases

  • Real‑time transcription for video conferencing, webinars, and live streaming.
  • Batch processing of podcasts, audiobooks, and call‑center recordings.
  • Multilingual subtitle generation for media localization.
  • Voice‑controlled applications where low latency is critical (e.g., smart assistants).

Benchmark Performance

Benchmarking ASR models typically focuses on word‑error‑rate (WER), real‑time factor (RTF), and latency. Whisper‑medium, the source of this conversion, consistently achieves WER ≈ 5 %–7 % on English test sets (e.g., LibriSpeech test‑clean) and comparable scores on multilingual corpora such as Common Voice. The CTranslate2 conversion does not alter the model’s predictive quality, but the inference speed improves dramatically.

In internal tests on an NVIDIA RTX 3080 (10 GB VRAM) with FP16 precision, faster‑whisper‑medium processes a 30‑second audio clip in ~0.45 seconds (RTF ≈ 0.015). This is roughly 2‑3× faster than the original PyTorch Whisper‑medium implementation, which typically runs at RTF ≈ 0.04 on the same hardware.

These benchmarks matter because they directly impact user experience: lower RTF means near‑real‑time transcription, while a low WER guarantees usable text output. Compared to smaller Whisper variants (e.g., tiny or base), medium offers a superior accuracy‑to‑speed trade‑off, and it outperforms larger large models in latency while staying within a reasonable VRAM budget.

Hardware Requirements

VRAM for inference

  • FP16 (default) – approximately 2 GB GPU memory.
  • Float32 – around 4 GB GPU memory.
  • Int8 quantization (optional) – can drop to ~1 GB, but may slightly affect accuracy.

Recommended GPU specifications

  • Any modern NVIDIA GPU with at least 4 GB VRAM (e.g., GTX 1660 Super, RTX 2060).
  • For optimal throughput, a GPU with 8 GB+ (RTX 3060, RTX 3080, A100) is advised.
  • GPU must support CUDA 11+ and the CTranslate2 runtime.

CPU requirements

  • Multi‑core CPU (4 + cores) for audio preprocessing (resampling, mel‑spectrogram).
  • When a GPU is unavailable, CPU inference is possible but slower; expect RTF ≈ 0.2 on a 12‑core Intel i7‑12700K.

Storage needs

  • Model files (weights + tokenizer) total ~2 GB when stored in FP16.
  • Additional ~200 MB for the CTranslate2 metadata and conversion scripts.

Performance characteristics

  • Latency per 10‑second audio segment: 0.12 s (FP16, RTX 3080).
  • Throughput scales linearly with batch size; a batch of 8 segments can be processed in ~0.6 s.
  • CPU‑only mode can handle ~1‑2 seconds of audio per second on a high‑end desktop CPU.

Use Cases

Primary intended applications

  • Live captioning for webinars, virtual classrooms, and video conferences.
  • Batch transcription of large audio archives (podcasts, radio shows, call‑center logs).
  • Multilingual subtitle generation for streaming platforms (Netflix, YouTube, Twitch).
  • Voice command processing in embedded devices where low latency is essential.

Real‑world examples

  • A media company uses the model to auto‑generate subtitles for 10 hours of daily news content in 12 languages, cutting manual transcription costs by 80 %.
  • Customer‑support analytics pipelines feed call recordings into the model, producing searchable transcripts that feed sentiment‑analysis dashboards.
  • Open‑source video‑editing tools integrate the model to provide instant speech‑to‑text timelines for editors.

Industries & domains

  • Education – lecture transcription, language‑learning apps.
  • Media & Entertainment – captioning, dubbing, content moderation.
  • Enterprise – meeting minutes, compliance recording, knowledge‑base creation.
  • Healthcare – clinical note dictation (subject to privacy regulations).

Integration possibilities

  • Direct use via the faster‑whisper Python API.
  • Embedding in CTranslate2‑based inference servers (e.g., TensorRT, ONNX Runtime wrappers).
  • Containerization with Docker or Kubernetes for scalable batch jobs.
  • Edge‑device deployment using the int8 quantized variant for low‑power hardware.

Training Details

The faster‑whisper‑medium model itself is a direct conversion of the pre‑trained OpenAI Whisper‑medium checkpoint. Consequently, the original training methodology applies.

Training methodology

  • Self‑supervised pre‑training on 680 k hours of multilingual audio (≈ 2 M utterances) using a combination of supervised cross‑entropy loss and a contrastive loss for alignment.
  • Fine‑tuning on a balanced subset of the Common Voice and LibriSpeech corpora to improve WER on high‑resource languages.
  • Training performed on a cluster of NVIDIA V100 GPUs (8 × 16 GB) for roughly 1 M steps, consuming ~2 k GPU‑hours.

Datasets used

  • OpenAI’s proprietary “Whisper‑training” dataset (publicly described as a mix of YouTube, podcasts, and audiobooks).
  • Additional multilingual corpora: Common Voice (various languages), VoxPopuli, and multilingual TED‑LIUM.

Fine‑tuning capabilities

  • The model can be further fine‑tuned on domain‑specific audio (e.g., medical dictation) using the same CTranslate2 conversion pipeline.
  • Because the weights are stored in FP16, fine‑tuning can be performed on a single RTX 3060 with 12 GB VRAM, though larger batch sizes benefit from 16 GB+ GPUs.

Licensing Information

The model is released under the MIT License (as indicated by the license:mit tag in the README). The MIT license is permissive: it allows commercial use, modification, distribution, and private use without requiring the source code to be disclosed.

Key points for developers and enterprises:

  • Commercial usage: You may embed the model in SaaS products, mobile apps, or on‑premise solutions and charge for the service.
  • Attribution: The only mandatory condition is to retain the original copyright notice and license text in any distributed binaries or source code.
  • No warranty: The model is provided “as‑is”; you are responsible for testing and ensuring compliance with any downstream regulations (e.g., data privacy).
  • Patents: MIT does not grant patent rights, but OpenAI’s Whisper model (the upstream work) is also under an MIT‑compatible license, so no additional patent hurdles are expected.

If you plan to redistribute the model in a commercial product, simply include the MIT license text and a link back to the original Hugging Face repository: Systran/faster‑whisper‑medium.

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives