CoolFace
Modelpublic

DrishtiSharma/wav2vec2-xls-r-sl-a1

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
0likes93downloads
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. -->

This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the MOZILLA-FOUNDATION/COMMONVOICE8_0 - SL dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.2756
  • —Wer: 0.2279

Evaluation Commands

  1. 1.To evaluate on mozilla-foundation/commonvoice8_0 with test split

python eval.py --modelid DrishtiSharma/wav2vec2-xls-r-sl-a1 --dataset mozilla-foundation/commonvoice80 --config sl --split test --log_outputs

  1. 1.To evaluate on speech-recognition-community-v2/dev_data

python eval.py --modelid DrishtiSharma/wav2vec2-xls-r-sl-a1 --dataset speech-recognition-community-v2/devdata --config sl --split validation --chunklengths 10 --stridelengths 1

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 7.1e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 1000
  • —num_epochs: 100.0
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossWer
3.38816.15002.97101.0
2.640112.210001.76770.9734
1.515218.2915000.55640.6011
1.219124.3920000.43190.4390
1.023730.4925000.31410.3175
0.889236.5930000.27480.2689
0.829642.6835000.26800.2534
0.760248.7840000.28200.2506
0.718654.8845000.26720.2398
0.688760.9850000.27290.2402
0.650767.0755000.27670.2361
0.622673.1760000.28170.2332
0.602479.2765000.26790.2279
0.578785.3770000.28370.2316
0.574491.4675000.28380.2284
0.555697.5680000.27630.2281

Framework versions

  • —Transformers 4.17.0.dev0
  • —Pytorch 1.10.2+cu102
  • —Datasets 1.18.2.dev0
  • —Tokenizers 0.11.0