CoolFace
Modelpublic

Reza2kn/openai_whisper-large-v3-NVFP4

sourceHugging Faceapache-2.0updated 15d agoView on Hugging Face
0likes1.9kdownloads
Model Card

openai_whisper-large-v3-NVFP4

NVFP4 (NVFP4, W4A4) post-training quantization of `openai/whisper-large-v3` — architecture: whisper.

  • Format: nvfp4-pack-quantized (compressed-tensors). 4-bit FP4 weights, per-block FP8 (E4M3) scales, per-tensor FP32 global scales; activations dynamically quantized to FP4.
  • Calibration: 32 Persian clips from Reza2kn/persian-asr-eval-v0 (held out from the WER eval set).
  • Hardware target: NVIDIA Blackwell tensor cores (sm100+). Quantized on RTX 5080 Laptop (sm120).
  • Quantized layers: all Linear modules in the encoder/decoder (CTC lm_head / proj_out left full precision).

Eval — Reza2kn/persian-asr-eval-v0 (FLEURS-fa)

VariantWER ↓CER ↓clipsper-clip latencypeak VRAM
NVFP4 (this repo)19.74%6.19%2003946 ms4285 MiB

Persian text normalization for WER/CER: NFKC, ZWNJ → space, ي→ی / ك→ک, digit folding, punctuation stripping, whitespace collapse.

Usage

python
import torch
import soundfile as sf
from transformers import AutoProcessor, AutoModel

repo = "Reza2kn/openai_whisper-large-v3-NVFP4"
processor = AutoProcessor.from_pretrained(repo)
# Load in bfloat16 — NVFP4 weights decompress to bf16 inside CompressedLinear.
model = AutoModel.from_pretrained(repo, dtype=torch.bfloat16).to("cuda").eval()

(See the original openai/whisper-large-v3 model card for arch-specific decoding boilerplate.)

How it was made

llmcompressor QuantizationModifier(targets=["Linear"], scheme="NVFP4", ignore=...)compressed-tensors nvfp4-pack-quantized checkpoint.

License

Inherits the base model's license.

Licensing and attribution

This model distribution is licensed under the Apache License, Version 2.0. See LICENSE. Existing third-party copyright, license, and attribution notices remain applicable.