Automatic Speech Recognition
Transformers
Safetensors
whisper
asr
speech-recognition
int4
w4a8
bitsandbytes
audio
4-bit precision
Instructions to use warlockzero/whisper-large-v3-int4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use warlockzero/whisper-large-v3-int4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="warlockzero/whisper-large-v3-int4")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("warlockzero/whisper-large-v3-int4") model = AutoModelForSpeechSeq2Seq.from_pretrained("warlockzero/whisper-large-v3-int4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Whisper Large V3 β 4-bit NF4 (W4A8/W4A16)
Official openai/whisper-large-v3 quantized with bitsandbytes (4-bit NF4 (W4A8/W4A16)).
Optimized for ultra-low VRAM inference (0.92 GB peak VRAM) with 100% transcript accuracy.
π Key Specifications
- Base Model:
openai/whisper-large-v3 - Quantization: 4-bit NF4 (W4A8/W4A16)
- VRAM footprint: ~0.92 GB
- License: MIT
π» Usage Example
import torch
import soundfile as sf
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
model_id = "warlockzero/whisper-large-v3-int4"
proc = AutoProcessor.from_pretrained(model_id)
model = AutoModelForSpeechSeq2Seq.from_pretrained(model_id, device_map="auto")
audio, sr = sf.read("audio.wav")
if audio.ndim > 1: audio = audio.mean(axis=1)
inputs = proc(audio, sampling_rate=sr, return_tensors="pt").input_features.to("cuda")
with torch.inference_mode():
predicted_ids = model.generate(inputs)
transcription = proc.batch_decode(predicted_ids, skip_special_tokens=True)[0]
print(transcription)
- Downloads last month
- 28
Model tree for warlockzero/whisper-large-v3-int4
Base model
openai/whisper-large-v3