Downloads · 30 days
34
9% of all-time downloads
bartelds/whisper-large-v3-turbo-fy-cv22
whisper-large-v3-turbo-fy-cv22 is a automatic speech recognition model from bartelds. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as mit.
- Base: openai/whisper-large-v3-turbo - Task: ASR (transcribe) - Data: Common Voice 22.0 Frisian (fy-NL), custom splits: - Dev/Test: ~1 hour each, sampled from the original dev/test using clip durations to target 1 ho…
Downloads · 30 days
34
9% of all-time downloads
All-time downloads
371
Public
Parameters
809M
3.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.2 GB · 100%
From the Hugging Face model README
openai/whisper-large-v3-turbofrom transformers import WhisperProcessor, WhisperForConditionalGeneration
import torch, librosa
model_id = "bartelds/whisper-large-v3-turbo-fy-cv22"
device = "cuda" if torch.cuda.is_available() else "cpu"
processor = WhisperProcessor.from_pretrained(model_id)
model = WhisperForConditionalGeneration.from_pretrained(model_id).to(device)
audio, sr = librosa.load("example.wav", sr=16000, mono=True)
inputs = processor(audio, sampling_rate=sr, return_tensors="pt")
with torch.no_grad():
ids = model.generate(inputs.input_features.to(device))
text = processor.batch_decode(ids, skip_special_tokens=True)[0]
print(text)