--- license: apache-2.0 base_model: openai/whisper-medium pipeline_tag: automatic-speech-recognition library_name: openasr tags: - automatic-speech-recognition - speech-to-text - openasr - oasr - whisper-medium ---
# Whisper Medium Β· OpenASR **High-accuracy multilingual Whisper at 769M parameters** [![License](https://img.shields.io/badge/license-Apache--2.0-2563eb.svg)](https://huggingface.co/openai/whisper-medium/blob/main/README.md) [![Format](https://img.shields.io/badge/format-.oasr-7c3aed.svg)](https://github.com/QuintinShaw/openasr) [![Runtime](https://img.shields.io/badge/runtime-OpenASR-111827.svg)](https://openasr.org) [![Base model](https://img.shields.io/badge/base-whisper--medium-f59e0b.svg)](https://huggingface.co/openai/whisper-medium) Native speech-to-text in the **[OpenASR](https://github.com/QuintinShaw/openasr)** runtime β€” engineered for peak performance on CPU & GPU, **no Python at inference time**.
--- ## ✨ Highlights - 🎧 **Multilingual ASR** β€” transcribes many languages and can translate speech to English - 🎯 **769M parameters** β€” near-large accuracy with a more manageable footprint - 🌐 **Weak-supervision scale** β€” trained with Whisper's 680k-hour labelled speech corpus - πŸ¦€ **Native in OpenASR** β€” `.oasr` packs run with no Python at inference, engineered for peak performance on CPU & GPU ## πŸš€ Quickstart ```bash # 1. Install the OpenASR CLI Β· https://openasr.org # 2. Pull a build (pick a quant β€” see the table below) openasr pull whisper-medium:q8 # 3. Transcribe openasr transcribe audio.wav --model whisper-medium ``` All builds for this model: ```bash openasr pull whisper-medium:fp16 openasr pull whisper-medium:q8 openasr pull whisper-medium:q4 ``` ## πŸ“¦ Available builds | Quant | File (`.oasr`) | Size | RAM peak | RTF Β· M1 CPU | RTF Β· M1 GPU | JFK Ξ”WER vs fp16 | |:------|:---------------|-----:|---------:|-------------:|-------------:|-----------------:| | fp16 | `whisper-medium-fp16.oasr` | 1.53 GB | 4.03 GB | 0.62Γ— | 0.61Γ— | 0.0% | | q8_0 | `whisper-medium-q8_0.oasr` | 874 MB | 2.17 GB | 0.46Γ— | 0.41Γ— | 0.0% | | q4_k | `whisper-medium-q4_k.oasr` | 522 MB | 1.54 GB | 0.51Γ— | 0.39Γ— | 0.0% | RTF = real-time factor on the fixed 11s JFK clip (**lower is faster**); RAM peak measured per pack in an isolated subprocess. JFK Ξ”WER compares each quantized build's JFK transcript to this model's fp16 JFK transcript, so it measures quantization drift rather than absolute recognition accuracy. **q8_0** is the recommended default β€” near-reference quality at a fraction of the footprint. ## 🧠 About Whisper Medium Whisper Medium is OpenAI's 769M-parameter multilingual Whisper checkpoint. It uses the standard Whisper encoder-decoder architecture for automatic speech recognition and speech translation, trained with large-scale weak supervision on 680k hours of labelled speech. Medium delivers much of the large model's accuracy at a smaller footprint, a strong choice when quality matters but the largest checkpoint is too heavy. This OpenASR repo repackages the original `openai/whisper-medium` weights as `.oasr` packs that run natively in the OpenASR runtime with no Python at inference time. For most users the q8_0 build is the recommended default; q4_k is for tighter memory budgets and fp16 is for verification or maximum fidelity. ## βš™οΈ How these packs were made Converted from [openai/whisper-medium](https://huggingface.co/openai/whisper-medium) with the OpenASR importer: ```bash openasr model-pack import-whisper-local .oasr \ --package-id whisper-medium --quantization {fp16,q8-0,q4-k} ``` The `.oasr` container is GGUF-backed; packs use zero-copy mmap weight binding and graph buffer reuse to keep peak memory low. ## βš–οΈ License These packs **inherit the upstream model's license: Apache-2.0** ([source](https://huggingface.co/openai/whisper-medium/blob/main/README.md)). OpenASR packaging retains the upstream copyright and NOTICE; the only modifications are format conversion and quantization. ## πŸ™ Acknowledgements This pack is a redistribution of **Whisper Medium**, released by **OpenAI** ([openai/whisper-medium](https://huggingface.co/openai/whisper-medium)). All credit for the original model, training recipe, and weights belongs to OpenAI. The upstream Hugging Face model card declares Apache-2.0 licensing; OpenASR only converts the weights into `.oasr` packages and adds quantized builds for local runtime use. ## πŸ”— Links - πŸ¦€ **OpenASR** β€” - 🌐 **Website** β€” - πŸ€— **Upstream model** β€” [openai/whisper-medium](https://huggingface.co/openai/whisper-medium)