CoolFace
Modelpublic

DrishtiSharma/wav2vec2-large-xls-r-300m-or-dx12

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
0likes49downloads
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-300m-or-dx12

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

  • —Loss: 1.4638
  • —Wer: 0.5602

Evaluation Commands

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

python eval.py --modelid DrishtiSharma/wav2vec2-large-xls-r-300m-or-dx12 --dataset mozilla-foundation/commonvoice80 --config or --split test --log_outputs

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

Oriya language isn't available in speech-recognition-community-v2/dev_data

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 0.0004
  • —trainbatchsize: 16
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 32
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 1000
  • —num_epochs: 200
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossWer
13.50594.1710010.37891.0
4.59648.332004.32941.0
3.444812.53003.79031.0
3.368316.674003.52891.0
2.04220.835001.15310.7857
0.572125.06001.02670.7646
0.327429.177001.07730.6938
0.246633.338001.03230.6647
0.204737.59001.12550.6733
0.184741.6710001.11940.6515
0.145345.8311001.12150.6601
0.136750.012001.18980.6627
0.133454.1713001.30820.6687
0.104158.3314001.25140.6177
0.102462.515001.20550.6528
0.091966.6716001.41250.6369
0.07470.8317001.40060.6634
0.068175.018001.39430.6131
0.070979.1719001.35450.6296
0.06483.3320001.24370.6237
0.055287.521001.37620.6190
0.05691.6722001.37630.6323
0.051495.8323001.28970.6164
0.0409100.024001.42570.6104
0.0379104.1725001.42190.5853
0.0367108.3326001.43610.6032
0.0412112.527001.47130.6098
0.0353116.6728001.41320.6369
0.0336120.8329001.52100.6098
0.0302125.030001.46860.5939
0.0398129.1731001.54560.6204
0.0291133.3332001.41110.5827
0.0247137.533001.38660.6151
0.0196141.6734001.45130.5880
0.0218145.8335001.51000.5899
0.0196150.036001.49360.5999
0.0164154.1737001.50120.5701
0.0168158.3338001.56010.5919
0.0151162.539001.48910.5761
0.0137166.6740001.48390.5800
0.0143170.8341001.48260.5754
0.0114175.042001.49500.5708
0.0092179.1743001.50080.5694
0.0104183.3344001.47740.5728
0.0096187.545001.49480.5767
0.0105191.6746001.45570.5694
0.009195.8347001.46150.5628
0.0081200.048001.46380.5602

Framework versions

  • —Transformers 4.16.2
  • —Pytorch 1.10.0+cu111
  • —Datasets 1.18.3
  • —Tokenizers 0.11.0