CoolFace
Modelpublic

sammy786/wav2vec2-xlsr-czech

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
0likes60downloads
Model Card

sammy786/wav2vec2-xlsr-czech

This model is a fine-tuned version of facebook/wav2vec2-xls-r-1b on the MOZILLA-FOUNDATION/COMMONVOICE8_0 - cs dataset. It achieves the following results on evaluation set (which is 10 percent of train data set merged with other and dev datasets):

  • Loss: 7.26
  • Wer: 19.32

Model description

"facebook/wav2vec2-xls-r-1b" was finetuned.

Intended uses & limitations

More information needed

Training and evaluation data

Training data - Common voice Finnish train.tsv, dev.tsv, invalidated.tsv and other.tsv

Training procedure

For creating the train dataset, all possible datasets were appended and 90-10 split was used.

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.000045637994662983496
  • trainbatchsize: 8
  • evalbatchsize: 16
  • seed: 13
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosinewithrestarts
  • lrschedulerwarmup_steps: 500
  • num_epochs: 7
  • mixedprecisiontraining: Native AMP

Training results

StepTraining LossValidation LossWer
2006.6546003.3294861.000000
4001.7006000.3172660.409446
6000.7674000.2113710.313981
8000.7186000.1677710.280676
10000.6617000.1422290.258938
12000.5944000.1373210.256275
14000.5839000.1329220.248418
16000.5651000.1172140.238640
18000.3696000.1169540.238291
20000.2928000.1099730.227509
22000.2554000.1049550.228120
24000.2668000.0972680.220525
26000.2327000.0960550.213584
28000.2137000.0977700.218866
30000.2099000.0916330.210485
32000.1968000.0903420.208739
34000.2005000.0823260.204767
36000.1768000.0854910.204068
38000.1700000.0812890.201231
40000.1662000.0807620.200227
42000.1617000.0766710.198001
44000.1470000.0773830.196997
46000.1419000.0760570.195862
48000.1448000.0746120.195120
50000.1389000.0731380.193985
52000.1439000.0728020.192894
54000.1311000.0727640.193723
56000.1370000.0726970.193679
58000.1333000.0726510.193286

Framework versions

  • Transformers 4.16.0.dev0
  • Pytorch 1.10.0+cu102
  • Datasets 1.17.1.dev0
  • Tokenizers 0.10.3
Evaluation Commands
  1. 1.To evaluate on mozilla-foundation/common_voice_8_0 with split test
bash
python eval.py --model_id sammy786/wav2vec2-xlsr-czech --dataset mozilla-foundation/common_voice_8_0 --config cs --split test