Downloads · 30 days
0
suiyaradant/whisper-large-v3
whisper-large-v3 is a automatic speech recognition model from suiyaradant. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as other.
This is a custom packaged version of OpenAI's Whisper Large V3 model, converted to safetensors format for safer and faster loading. This repo includes both the model weights and tokenizer files required for ASR (Autom…
Downloads · 30 days
0
Access
Public
Updated May 18, 2025
Parameters
809M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 100%
From the Hugging Face model README
This is a custom packaged version of OpenAI's Whisper Large V3 model, converted to safetensors format for safer and faster loading. This repo includes both the model weights and tokenizer files required for ASR (Automatic Speech Recognition) tasks.
model.safetensors: Model weights in safetensors formattokenizer_config.json: Tokenizer configurationvocab.json: Vocabulary filemerges.txt: BPE mergesspecial_tokens_map.json: Special token mappingfrom transformers import WhisperForConditionalGeneration, WhisperTokenizer
model = WhisperForConditionalGeneration.from_pretrained("Zvatlov/whisper-large-v3")
tokenizer = WhisperTokenizer.from_pretrained("Zvatlov/whisper-large-v3")
import torch
from transformers import WhisperProcessor, WhisperForConditionalGeneration
processor = WhisperProcessor.from_pretrained("Zvatlov/whisper-large-v3")
model = WhisperForConditionalGeneration.from_pretrained("Zvatlov/whisper-large-v3")
# Load audio
from datasets import load_dataset
ds = load_dataset("hf-internal-testing/librispeech_asr_demo", "clean", split="validation")
input_audio = ds[0]["audio"]["array"]
# Prepare input
inputs = processor(input_audio, return_tensors="pt")
with torch.no_grad():
generated_ids = model.generate(inputs["input_features"])
# Decode output
transcription = processor.batch_decode(generated_ids, skip_special_tokens=True)
print(transcription[0])
FP16