openai/whisper-tiny fine-tuned for Romanian speech recognition.
Training data: Common Voice, VoxPopuli, FLEURS, our own data and synthetic data (about 144 h in total across train/val/test, roughly 70 h real and 74 h synthetic).
| Test set | Base | This model |
|---|---|---|
| VorbaVine test | 76.73 | 18.63 |
| Mozilla (unseen) | 81.84 | 20.28 |
| FLEURS (unseen) | 75.27 | 32.00 |
| VoxPopuli (unseen) | 75.42 | 23.86 |
Scored on curated references after normalization (lowercase, punctuation stripped, cedilla to comma-below, abbreviations expanded).
The same fixed split (the VorbaVine dataset) was used for training, model selection and testing.
| Split | Clips | Hours |
|---|---|---|
| Train | 73,174 | 121.78 |
| Validation | 6,814 | 10.91 |
| Test | 6,932 | 11.08 |
| Total | 86,920 | 143.77 |
By source: our own recordings 8.4 h, Common Voice 21.5 h, FLEURS 5.9 h, other real speech 34.4 h, synthetic speech 73.5 h. "Unseen" results pool the Common Voice/FLEURS test and validation clips that are not in the training split. VoxPopuli has no clips in the training split.
LR 1e-5 (linear decay, 227 warmup steps), effective batch 64, bf16, weight decay 0.01. Retained checkpoint: step 21546 of 22,680 scheduled (validation WER 18.12%).
Based on openai/whisper-tiny by OpenAI (Apache-2.0).
Requires transformers, torch and librosa. Audio should be 16 kHz mono.
import torch, librosa
from transformers import WhisperForConditionalGeneration, WhisperProcessor
repo = "VorbaVine/whisper-tiny-vv-ro"
processor = WhisperProcessor.from_pretrained(repo)
model = WhisperForConditionalGeneration.from_pretrained(repo, dtype=torch.float16).cuda().eval()
audio, _ = librosa.load("audio.wav", sr=16000)
features = processor(audio, sampling_rate=16000, return_tensors="pt").input_features.cuda().half()
with torch.no_grad():
ids = model.generate(features, language="ro", task="transcribe")
print(processor.batch_decode(ids, skip_special_tokens=True)[0].strip())
Evaluated on short clips (up to roughly 30 s); longer audio should be chunked before transcription.
openai/whisper-tiny