CoolFace
Modelpublic

marinone94/whisper-medium-nordic

sourceHugging Faceapache-2.0updated 4y agoView on Hugging Face
2likes29downloads
Model Card

Whisper Medium Nordic

This model is a fine-tuned version of openai/whisper-medium on the mozilla-foundation/common_voice_11_0 (sv-SE, da, nn-NO), the babelbox/babelbox_voice (Swedish radio), the NbAiLab/NST (Norwegian radio), the NbAiLab/NPSC (Norwegian parliament) and the google/fleurs (svse, dadk, nb_no) datasets. The goal is to leverage transfer learning across Nordic languages, which have strong similarities.

It achieves the following results on the common voice Swedish test set:

  • —Loss: 0.2129
  • —Wer: 11.3079

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Please note that a bug during training prevented us from evaluating WER correctly. Validation loss suggests we started overfitting after 5000/6000 steps.

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 3e-06
  • —trainbatchsize: 32
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —training_steps: 10000
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossWer
0.30560.110000.2670~~99.9221~~
0.160.220000.2322~~99.6640~~
0.13090.330000.2152~~98.9759~~
0.0970.440000.2112~~100.0~~
0.0910.550000.2094~~99.7312~~
0.10980.660000.2098~~98.6077~~
0.06370.770000.2148~~98.4625~~
0.07180.880000.2151~~99.8710~~
0.05170.990000.2175~~97.2342~~
0.04651.0100000.2129~~96.3552~~

Framework versions

  • —Transformers 4.26.0.dev0
  • —Pytorch 1.13.1+cu117
  • —Datasets 2.7.1.dev0
  • —Tokenizers 0.13.2

WandB run

https://wandb.ai/pn-aa/whisper/runs/xc70fbwv?workspace=user-emilio_marinone

Baseline model

This model finetuned whisper-medium, and here we can observe imrpovements when evaluated on CommonVoice 11 Swedish(sv-SE), Danish(da), and Norwegian (nn-NO) test splits.

LanguageWhisper Medium (WER)Whisper Medium Nordic (WER)
sv-SE14.9311.31
da20.8514.86
nn-NO50.8237.02