CoolFace
Modelpublic

greenw0lf/wav2vec2-large-xls-r-1b-frisian-cv-8-1h

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes6downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

wav2vec2-large-xls-r-1b-frisian-cv-8-1h

This model is a fine-tuned version of facebook/wav2vec2-xls-r-1b on the commonvoice8_0 dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4120
  • —Wer: 0.2373

And on the test set:

  • —Wer: 0.2540

Model description

This model has been developed for my Master's thesis in "Voice Technology" at Rijksuniversiteit Groningen - Campus Fryslân. It corresponds to experiment 4 where I use as training set 1 hour of Frisian speech randomly selected from all validated data except the test and evaluation sets.

Intended uses & limitations

The intended use is for recognizing Frisian speech.

Limitations include no LM rescoring and using version 8.0 of Common Voice instead of 13.0.

Training and evaluation data

The evaluation split used is the one available in the Common Voice 8.0 Frisian subset. The train split is 1 hour of Frisian randomly selected from validated data except for the recordings from test and evaluation splits.

Training procedure

The script used for training this model can be found in this GitHub repository: link.

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 6e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 8
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.98) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 80
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossWer
6.29874.351003.02101.0
3.14248.72002.96111.0
2.629913.043000.99290.8377
1.313417.394000.56790.5264
0.974721.745000.45160.3764
0.875526.096000.45150.3403
0.722730.437000.41690.3211
0.663434.788000.41590.2962
0.556839.139000.40810.2795
0.794343.4810000.40900.2709
0.553747.8311000.42390.2649
0.559652.1712000.40290.2561
0.552356.5213000.40730.2524
0.457960.8714000.40980.2470
0.647765.2215000.40990.2446
0.495769.5716000.41670.2475
0.324673.9117000.41460.2389
0.393778.2618000.41200.2373

Framework versions

  • —Transformers 4.28.1
  • —Pytorch 2.0.0+cu117
  • —Datasets 2.11.0
  • —Tokenizers 0.13.3