GGUF conversions of openai/whisper-large-v2 for use with transcribe.cpp.
Fonte do modelo
Descrição da fonte
GGUF conversions of openai/whisper-large-v2 for use with transcribe.cpp.
Ported from upstream commit , pinned 2026-04-25. Validated against the transformers reference at transcribe.cpp commit on 2026-04-26.
Fontes
1 fonteVerificado 23 de ago.
Artefatos de modelo
1 artefatoTrechos de fonte
2 trechosOpenAI Whisper large-v2 — converted to GGUF for transcribe.cpp. Multilingual transcription, language detection, and speech translation (audio in any supported language → English text). Encoder-decoder transformer; 30-second windows with chunked long-form decoding.
| Quantization | Download | Size | WER (LibriSpeech test-clean) |
|---|---|---|---|
| F32 | whisper-large-v2-F32.gguf | 5.75 GB | 2.68% |
| F16 | whisper-large-v2-F16.gguf | 2.89 GB | 2.68% |
| Q8_0 | whisper-large-v2-Q8_0.gguf | 1.55 GB | 2.65% |
| Q6_K | whisper-large-v2-Q6_K.gguf | 1.21 GB | 2.83% |
| Q5_K_M |
WER measured on the full LibriSpeech test-clean split (2620 utterances) with the transcribe.cpp default decode (greedy, suppress_tokens, temperature fallback, segment timestamps enabled). OpenAI's self-reported number on the same split is 2.83%. We don't know upstream's exact eval config, but the most likely cause of any divergence is that OpenAI's model.generate() defaults to <|notimestamps|> while transcribe.cpp's pipeline runs with timestamps enabled. Numbers come from a single Metal-backed run; Metal's non-deterministic parallel reductions can shift corpus WER by ~0.1pp between runs, mostly driven by short-clip hallucination outcomes on the noise floor.
Build transcribe.cpp from source:
git clone git@github.com:handy-computer/transcribe.cpp.git
cd transcribe.cpp
cmake -B build && cmake --build build
Run on a 16 kHz mono WAV:
build/bin/transcribe-cli \
-m whisper-large-v2-Q8_0.gguf \
input.wav
If your audio isn't already 16 kHz mono WAV, convert it first:
ffmpeg -i input.mp3 -ar 16000 -ac 1 output.wav
See the transcribe.cpp model page for performance numbers, numerical validation, and reproduction steps.
Inherited from the base model: Apache-2.0. See the upstream model card for full terms.
The section below is reproduced from openai/whisper-large-v2 at commit
ae46427for offline reference. The upstream card is the authoritative source.
Whisper is a pre-trained model for automatic speech recognition (ASR) and speech translation. Trained on 680k hours of labelled data, Whisper models demonstrate a strong ability to generalise to many datasets and domains without the need for fine-tuning.
Whisper was proposed in the paper Robust Speech Recognition via Large-Scale Weak Supervision by Alec Radford et al. from OpenAI. The original code repository can be found here.
Compared to the Whisper large model, the large-v2 model is trained for 2.5x more epochs with added regularization for improved performance.
Disclaimer: Content for this model card has partly been written by the Hugging Face team, and parts of it were copied and pasted from the original model card.
Whisper is a Transformer based encoder-decoder model, also referred to as a sequence-to-sequence model. It was trained on 680k hours of labelled speech data annotated using large-scale weak supervision.
The models were trained on either English-only data or multilingual data. The English-only models were trained on the task of speech recognition. The multilingual models were trained on both speech recognition and speech translation. For speech recognition, the model predicts transcriptions in the same language as the audio. For speech translation, the model predicts transcriptions to a different language to the audio.
Whisper checkpoints come in five configurations of varying model sizes. The smallest four are trained on either English-only or multilingual data. The largest checkpoints are multilingual only. All ten of the pre-trained checkpoints are available on the Hugging Face Hub. The checkpoints are summarised in the following table with links to the models on the Hub:
To transcribe audio samples, the model has to be used alongside a WhisperProcessor.
The WhisperProcessor is used to:
The model is informed of which task to perform (transcription or translation) by passing the appropriate "context tokens". These context tokens are a sequence of tokens that are given to the decoder at the start of the decoding process, and take the following order:
<|startoftranscript|> token<|en|> for English)<|transcribe|> for speech recognition or <|translate|> for speech translation<|notimestamps|> token is added if the model should not include timestamp predictionThus, a typical sequence of context tokens might look as follows:
<|startoftranscript|> <|en|> <|transcribe|> <|notimestamps|>
Which tells the model to decode in English, under the task of speech recognition, and not to predict timestamps.
These tokens can either be forced or un-forced. If they are forced, the model is made to predict each token at each position. This allows one to control the output language and task for the Whisper model. If they are un-forced, the Whisper model will automatically predict the output langauge and task itself.
The context tokens can be set accordingly:
model.config.forced_decoder_ids = WhisperProcessor.get_decoder_prompt_ids(language="english", task="transcribe")
Which forces the model to predict in English under the task of speech recognition.
In this example, the context tokens are 'unforced', meaning the model automatically predicts the output language (English) and task (transcribe).
>>> from transformers import WhisperProcessor, WhisperForConditionalGeneration
>>> from datasets import load_dataset
>>> # load model and processor
>>> processor = WhisperProcessor.from_pretrained("openai/whisper-large-v2")
>>> model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-large-v2")
>>> model.config.forced_decoder_ids = None
>>> # load dummy dataset and read audio files
>>> ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
>>> sample = ds[0]["audio"]
>>> input_features = processor(sample["array"], sampling_rate=sample["sampling_rate"], return_tensors="pt").input_features
>>> # generate token ids
>>> predicted_ids = model.generate(input_features)
>>> # decode token ids to text
>>> transcription = processor.batch_decode(predicted_ids, skip_special_tokens=False)
['<|startoftranscript|><|en|><|transcribe|><|notimestamps|> Mr. Quilter is the apostle of the middle classes and we are glad to welcome his gospel.<|endoftext|>']
>>> transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)
[' Mr. Quilter is the apostle of the middle classes and we are glad to welcome his gospel.']
The context tokens can be removed from the start of the transcription by setting skip_special_tokens=True.
The following example demonstrates French to French transcription by setting the decoder ids appropriately.
>>> from transformers import WhisperProcessor, WhisperForConditionalGeneration
>>> from datasets import Audio, load_dataset
>>> # load model and processor
>>> processor = WhisperProcessor.from_pretrained("openai/whisper-large-v2")
>>> model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-large-v2")
>>> forced_decoder_ids = processor.get_decoder_prompt_ids(language="french", task="transcribe")
>>> # load streaming dataset and read first audio sample
>>> ds = load_dataset("common_voice", "fr", split="test", streaming=True)
>>> ds = ds.cast_column("audio", Audio(sampling_rate=16_000))
>>> input_speech = next(iter(ds))["audio"]
>>> input_features = processor(input_speech["array"],...
--- license: apache-2.0 base_model: openai/whisper-large-v2 base_model_relation: quantized library_name: transcribe.cpp pipeline_tag: automatic-speech-recognition language: - en - zh - de - es - ru - ko - fr - ja - pt - tr - pl - ca - nl - ar - sv - it - id - hi - fi - vi - he - uk - el - ms - cs - ro - da - hu - ta - no - th - ur - hr - bg - lt - la - mi - ml - cy - sk - te - fa - lv - bn - sr - az - sl - kn - et - mk - br - eu - is - hy - ne - mn - bs - kk - sq - sw - gl - mr - pa - si - km - sn - yo - so - af - oc - ka - be - tg - sd - gu - am - yi - lo - uz - fo - ht - ps - tk - nn - mt - sa - lb - my - bo - tl - mg - as - tt - haw - ln - ha - ba - jw - su tags: - gguf - transcribe.cpp - asr - speech-to-text - whisper - openai transcribe_cpp: wer_librispeech_test_clean: f32: 2.68 f16: 2.68 q8_0: 2.65 q6_k: 2.83 q5_k_m: 2.72 q4_k_m: 2.46 rtf_m4_max: metal: 23.7 cpu: 1.5 rtf_ryzen_4750u: vulkan: 2.1 cpu: 0.6 streaming: false translate: true lang_detect: true timestamps: segment --- # whisper-large-v2: transcribe.cpp GGUF GGUF conversions of [openai/whisper-large-v2](https://huggingface.co/openai/whisper-large-v2) for use with [transcribe.cpp](https://github.com/handy-computer/transcribe.cpp). Ported from upstream commit [ae46427](https://huggingface.co/openai/whisper-large-v2/commit/ae46427), pinned 2026-04-25. Validated against the transformers reference at transcribe.cpp commit [5.6.1](https://github.com/handy-computer/transcribe.cpp/tree/5.6.1) on 2026-04-26. OpenAI Whisper large-v2 — converted to GGUF for transcribe.cpp. Multilingual transcription, language detection, and speech translation (audio in any supported language → English text). Encoder-decoder transformer; 30-second windows with chunked long-form decoding. ## Downloads | Quantization | Download | Size | WER (LibriSpeech test-clean) | | --- | --- | ---: | ---: | | F32 | [whisper-large-v2-F32.gguf](https://huggingface.co/handy-computer/whisper-large-v2-gguf/resolve/main/whisper-large-v2-F32.gguf) | 5.75 GB | 2.68% | | F16 | [whisper-large-v2-F16.gguf](https://huggingface.co/handy-computer/whisper-large-v2-gguf/resolve/main/whisper-large-v2-F16.gguf) | 2.89 GB | 2.68% | | Q8_0 | [whisper-large-v2-Q8_0.gguf](https://huggingface.co/handy-computer/whisper-large-v2-ggu...
Source context: 26 downloads · 0 likes · Pipeline automatic-speech-recognition · Library transcribe.cpp · Repo memoravox/whisper-large-v2-gguf
| 1.08 GB |
| 2.72% |
| Q4_K_M | whisper-large-v2-Q4_K_M.gguf | 950 MB | 2.46% |
| large | 1550 M | x | ✓ |
| large-v2 | 1550 M | x | ✓ |