CoolFace
Modelpublic

yuriyvnv/whisper-small-mixed-cv-nl

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
0likes25downloads
Model Card

Whisper-Small Dutch - Mixed Synthetic Data (Mid-High Quality Filtered)

This model is a fine-tuned version of openai/whisper-small for Dutch automatic speech recognition (ASR). It was trained on Common Voice 17.0 Dutch combined with WAVe-filtered synthetic speech data (quality threshold q ≥ 0.5).

Introduction

How the Data Was Created

The training data combines real speech from Common Voice 17.0 with synthetic speech generated through a two-stage pipeline:

  1. 1.Transcript Generation: We used GPT-4o-mini to generate Dutch transcripts that match the word count distribution observed in Common Voice, ensuring realistic utterance lengths and diverse linguistic content.
  1. 1.Speech Synthesis: Each transcript was converted to audio using OpenAI's TTS-1 model with 9 different voice variants (alloy, ash, coral, echo, fable, nova, onyx, sage, shimmer), producing 34,898 synthetic samples.
  1. 1.Quality Filtering with WAVe: Raw synthetic speech often contains defects such as mispronunciations, omitted words, or prosodic anomalies. To address this, we applied WAVe (Word-Aligned Verification), a model that assesses audio-text alignment at the word level rather than the sentence level. WAVe uses multi-head attention to align each word to its corresponding audio frames and assigns per-word confidence scores via a GLU-based scorer. Samples scoring below the threshold (q < 0.5) were removed, retaining 30,182 high-quality synthetic samples.

How the Model Was Created

The model was fine-tuned from openai/whisper-small using the Hugging Face Transformers library with the following approach:

  1. 1.Mixed Training: Combined 34,952 real speech samples from Common Voice 17.0 Dutch with 30,182 WAVe-filtered synthetic samples (65,134 total).
  1. 1.Optimization: Trained for 5 epochs with a learning rate of 1e-5, global batch size of 256, and BF16 precision on an NVIDIA H200 GPU.
  1. 1.Checkpoint Selection: The best checkpoint was selected based on validation loss, occurring at step 500 with a validation loss of 0.1484.

This approach achieves the best Test WER (10.86%) among all Whisper-Small Dutch configurations while maintaining strong cross-domain generalization.

Model Details

PropertyValue
Base Modelopenai/whisper-small
LanguageDutch (nl)
TaskAutomatic Speech Recognition (transcribe)
Parameters244M
Training DataCommon Voice 17.0 + Mid-High Quality Synthetic (q ≥ 0.5)
Total Training Samples65,134
Sampling Rate16kHz

Evaluation Results

This Model (whisper-small-mixed-cv-nl)

MetricValue
Validation Loss0.1484
Validation WER8.73%
Test WER (Common Voice)10.86%
Test WER (MLS)30.04%
Best CheckpointStep 500
Max Training Steps1,270

Comparison with Other Training Configurations (Whisper-Small Dutch)

Training DataMax StepsVal LossVal WERTest WER (CV)Test WER (MLS)
Common Voice Only6800.14918.73%11.13%30.71%
High-Quality Filtered + CV8900.14938.76%11.00%29.91%
Mid-High Quality Filtered + CV1,2700.14848.73%10.86%30.04%
All Synthetic + CV (Unfiltered)1,3650.14848.64%10.91%30.06%

Key Performance Highlights

  • —Best Test WER (10.86%) on Common Voice among all Whisper-Small Dutch configurations
  • —2.4% relative improvement on Common Voice test set vs baseline (10.86% vs 11.13%)
  • —2.2% relative improvement on MLS benchmark vs baseline (30.04% vs 30.71%)
  • —7% fewer training steps than unfiltered synthetic data while achieving better in-domain performance

Training Data

Dataset Composition

SourceSamplesDescription
Common Voice 17.0 Dutch34,952Real speech from Mozilla's crowdsourced dataset
Synthetic Transcript NL (q ≥ 0.5)30,182WAVe-filtered TTS audio from GPT-4o-mini transcripts
Total65,134

Synthetic Data Generation Pipeline

The synthetic dataset (yuriyvnv/synthetic_transcript_nl) was generated using:

  1. 1.Transcript Generation: GPT-4o-mini, matching Common Voice word count distribution
  2. 2.Speech Synthesis: OpenAI TTS-1 model with 9 voice variants (alloy, ash, coral, echo, fable, nova, onyx, sage, shimmer)
  3. 3.Quality Filtering: WAVe model filtering at threshold q ≥ 0.5

WAVe Quality Distribution (Dutch Synthetic Data)

Quality LevelSamplesPercentageUsed in This Model
High (q ≥ 0.8)10,55530.2%✓
Medium (0.5 ≤ q < 0.8)19,62756.2%✓
Low (q < 0.5)4,71613.5%✗

Training Procedure

Hyperparameters

ParameterValue
Learning Rate1e-5
Batch Size (Global)256
Warmup Steps200
Max Epochs5
PrecisionBF16
OptimizerAdamW (fused)
Eval Steps50
Metric for Best Modeleval_loss

Training Infrastructure

  • —GPU: NVIDIA H200 (140GB VRAM)
  • —Operating System: Ubuntu 22.04
  • —Framework: Hugging Face Transformers

Training Curve

Step  100: val_loss = 0.1946
Step  250: val_loss = 0.1625
Step  400: val_loss = 0.1544
Step  500: val_loss = 0.1484 ← Best checkpoint
Step  750: val_loss = 0.1484
Step 1000: val_loss = 0.1522
Step 1250: val_loss = 0.1552

Usage

Transcription Pipeline

python
from transformers import pipeline

transcriber = pipeline(
    "automatic-speech-recognition",
    model="yuriyvnv/whisper-small-mixed-cv-nl",
    device="cuda"
)

result = transcriber("path/to/dutch_audio.wav")
print(result["text"])

Direct Model Usage

python
from transformers import WhisperProcessor, WhisperForConditionalGeneration
import librosa

processor = WhisperProcessor.from_pretrained("yuriyvnv/whisper-small-mixed-cv-nl")
model = WhisperForConditionalGeneration.from_pretrained("yuriyvnv/whisper-small-mixed-cv-nl")
model.to("cuda")

audio, sr = librosa.load("path/to/dutch_audio.wav", sr=16000)
input_features = processor(audio, sampling_rate=16000, return_tensors="pt").input_features.to("cuda")

predicted_ids = model.generate(input_features)
transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)[0]
print(transcription)

Specifying Language

python
model.generation_config.language = "nl"
model.generation_config.task = "transcribe"

Methodology

This model leverages WAVe (Word-Aligned Verification), a word-level quality assessment method for filtering synthetic speech data. Unlike sentence-level filtering approaches, WAVe:

  • —Aligns each word to its corresponding audio frames using multi-head attention
  • —Assigns per-word confidence scores via a GLU-based scorer
  • —Detects localized synthesis errors (mispronunciations, omitted words, prosodic anomalies)
  • —Achieves 6.5% improvement over sentence-level filtering methods

For full methodology details, see the references below.

When to Use This Model

This model is ideal when:

  • —Best in-domain accuracy is required: Achieves 10.86% Test WER (best among Small Dutch models)
  • —Balanced performance: Good tradeoff between in-domain and cross-domain generalization
  • —Moderate compute budget: 7% fewer steps than unfiltered approach

Consider alternatives based on your needs:

Limitations

  • —Domain specificity: Optimized for general Dutch; may underperform on technical domains
  • —Acoustic conditions: Trained on clean speech; noise robustness not guaranteed
  • —Dialect coverage: Performance may vary across Dutch regional variants

Citation

bibtex
@article{perezhohin2024enhancing,
  title={Enhancing Automatic Speech Recognition: Effects of Semantic Audio Filtering on Models Performance},
  author={Perezhohin, Yuriy and Santos, Tiago and Costa, Victor and Peres, Fernando and Castelli, Mauro},
  journal={IEEE Access},
  year={2024},
  publisher={IEEE}
}
@article{perezhohin2026wave,
  title={WAVe: Word-aligned verification of synthetic speech for ASR},
  author={Perezhohin, Yuriy and Castelli, Mauro},
  journal={Information Sciences},
  pages={123591},
  year={2026},
  publisher={Elsevier}
}

References

License

Apache 2.0