CoolFace
Modelpublic

DrishtiSharma/wav2vec2-xls-r-myv-a1

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
0likes124downloads
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 - MYV dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.0356
  • —Wer: 0.6524

Evaluation Commands

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

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

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

Erzya language not found in speech-recognition-community-v2/dev_data

Training hyperparameters

The following hyperparameters were used during training:

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

Training results

Training LossEpochStepValidation LossWer
5.6499.625003.00381.0
1.627219.2310000.73620.7819
1.135428.8515000.64100.7111
1.042438.4620000.69070.7431
0.929348.0825000.72490.7102
0.824657.6930000.74220.6966
0.783767.3135000.74130.6813
0.714776.9240000.78730.6930
0.627686.5445000.80380.6677
0.604196.1550000.82400.6831
0.5336105.7755000.87480.6749
0.4705115.3860000.90060.6497
0.43125.065000.89540.6551
0.3859134.6270000.90740.6614
0.3342144.2375000.96930.6560
0.3155153.8580001.00730.6691
0.2673163.4685001.01700.6632
0.2409173.0890001.03040.6709
0.2189182.6995000.99650.6546
0.1973192.31100001.03600.6551

Framework versions

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

Evaluation Command

!python eval.py \ --modelid DrishtiSharma/wav2vec2-large-xls-r-300m-myv-v1 \ --dataset mozilla-foundation/commonvoice80 --config myv --split test --log_outputs