Collection of quantized whisper models created by OpenAI • 19 items • Updated • 4
whisper-large-v3-turbo-quantized.w4a16
👁 Model Icon
👁 Validated BadgeModel Overview
- Model Architecture: whisper-large-v3-turbo
- Input: Audio-Text
- Output: Text
- Model Optimizations:
- Weight quantization: INT4
- Release Date: 04/16/2025
- Version: 1.0
- Model Developers: Open AI
Quantized version of openai/whisper-large-v3-turbo.
Model Optimizations
This model was obtained by quantizing the weights of openai/whisper-large-v3-turbo to INT4 data type, ready for inference with vLLM >= 0.5.2.
- ModelCar Storage URI: oci://registry.redhat.io/rhelai1/modelcar-whisper-large-v3-turbo-quantized-w4a16:1.5
- Validated on RHOAI 2.25: quay.io/modh/vllm:rhoai-2.25-cuda
- Validated on RHAIIS 3.2.2: http://registry.redhat.io/rhaiis/vllm-cuda-rhel9:3.2.2
- Validated on vLLM: 0.10.1.1
Deployment
Use with vLLM
This model can be deployed efficiently using the vLLM backend, as shown in the example below.
from vllm.assets.audio import AudioAsset
from vllm import LLM, SamplingParams
# prepare model
llm = LLM(
model="neuralmagic/whisper-large-v3-turbo-quantized.w4a16",
max_model_len=448,
max_num_seqs=400,
limit_mm_per_prompt={"audio": 1},
)
# prepare inputs
inputs = { # Test explicit encoder/decoder prompt
"encoder_prompt": {
"prompt": "",
"multi_modal_data": {
"audio": AudioAsset("winning_call").audio_and_sample_rate,
},
},
"decoder_prompt": "<|startoftranscript|>",
}
# generate response
print("========== SAMPLE GENERATION ==============")
outputs = llm.generate(inputs, SamplingParams(temperature=0.0, max_tokens=64))
print(f"PROMPT : {outputs[0].prompt}")
print(f"RESPONSE: {outputs[0].outputs[0].text}")
print("==========================================")
vLLM also supports OpenAI-compatible serving. See the documentation for more details.
Creation
This model was created with llm-compressor by running the code snippet below.
Evaluation
The model was evaluated on LibriSpeech and Fleurs datasets using lmms-eval, via the following commands:
| Benchmark | Split | BF16 | W4A16 | Recovery (%) |
|---|---|---|---|---|
| LibriSpeech (WER) | test-clean | 2.1876 | 2.1951 | 99.66% |
| test-other | 3.8992 | 4.0411 | 96.49% | |
| Fleurs (X→en, WER) | cmn_hans_cn | 7.8019 | 8.3448 | 93.49% |
| en | 4.0236 | 4.0580 | 99.15 | |
| yue_hant_hk | 9.4210 | 11.8108 | 97.77% |
- Downloads last month
- 1,182
Safetensors
Model size
0.9B params
Tensor type
I64
·
I32 ·
F16 ·
Model tree for RedHatAI/whisper-large-v3-turbo-quantized.w4a16
Base model
openai/whisper-large-v3 Finetuned
openai/whisper-large-v3-turbo