Views
No views yet
Mojtabazarrin/whisper-base-fa — architecture: whisper.nvfp4-pack-quantized (compressed-tensors). 4-bit FP4 weights, per-block FP8 (E4M3) scales, per-tensor FP32 global scales; activations dynamically quantized to FP4.Reza2kn/persian-asr-eval-v0 (held out from the WER eval set).lm_head / proj_out left full precision).Reza2kn/persian-asr-eval-v0 (FLEURS-fa)| Variant | WER ↓ | CER ↓ | clips | per-clip latency | peak VRAM |
|---|---|---|---|---|---|
| NVFP4 (this repo) | 41.24% | 14.12% | 200 | 605 ms | 348 MiB |
1import torch
2import soundfile as sf
3from transformers import AutoProcessor, AutoModel
4
5repo = "Reza2kn/Mojtabazarrin_whisper-base-fa-NVFP4"
6processor = AutoProcessor.from_pretrained(repo)
7# Load in bfloat16 — NVFP4 weights decompress to bf16 inside CompressedLinear.
8model = AutoModel.from_pretrained(repo, dtype=torch.bfloat16).to("cuda").eval()Mojtabazarrin/whisper-base-fa model card for arch-specific decoding boilerplate.)llmcompressor QuantizationModifier(targets=["Linear"], scheme="NVFP4", ignore=...) →
compressed-tensors nvfp4-pack-quantized checkpoint.