CoolFace
Modelpublic

sammy786/wav2vec2-xlsr-tatar

sourceHugging Faceapache-2.0updated 5y agoView on Hugging Face
1likes36downloads
Model Card

sammy786/wav2vec2-xlsr-tatar

This model is a fine-tuned version of facebook/wav2vec2-xls-r-1b on the MOZILLA-FOUNDATION/COMMONVOICE8_0 - tt 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.66
  • Wer: 7.08

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 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: 16
  • evalbatchsize: 16
  • seed: 13
  • gradientaccumulationsteps: 2
  • totaltrainbatch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosinewithrestarts
  • lrschedulerwarmup_steps: 500
  • num_epochs: 40
  • mixedprecisiontraining: Native AMP

Training results

StepTraining LossValidation LossWer
2004.8494001.8749080.995232
4001.1057000.2572920.367658
6000.7230000.1811500.250513
8000.6606000.1670090.226078
10000.5680000.1350900.177339
12000.7212000.1174690.166413
14000.4163000.1151420.153765
16000.3460000.1057820.153963
18000.2797000.1024520.146149
20000.2738000.0958180.128468
22000.2529000.1023020.133766
24000.2551000.0965920.121316
26000.2296000.0912630.124561
28000.2139000.0977480.125687
30000.2107000.0912440.125422
32000.2026000.0840760.106284
34000.2009000.0938090.113238
36000.1927000.0829180.108139
38000.1820000.0844870.103371
40000.1677000.0918470.104960
42000.1837000.0852230.103040
44000.1744000.0838620.100589
46000.1631000.0864930.099728
48000.1620000.0817340.097543
50000.1536000.0772230.092974
52000.1537000.0862170.090789
54000.1402000.0932560.100457
56000.1429000.0869030.097742
58000.1314000.0830680.095225
60000.1260000.0866420.091252
62000.1353000.0833870.091186
64000.1261000.0764790.086352
66000.1271000.0778680.086153
68000.1180000.0838780.087676
70000.1176000.0857790.091054
72000.1136000.0841970.084233
74000.1120000.0786880.081319
76000.1102000.0825340.086087
78000.1064000.0772450.080988
80000.1023000.0774970.079332
82000.1095000.0790830.088339
84000.0959000.0797210.077809
86000.0947000.0790780.079730
88000.0974000.0787850.079200
90000.0932000.0774450.077015
92000.0887000.0782070.076617
94000.0872000.0789820.076485
96000.0899000.0812090.076021
98000.0819000.0781580.075757
100000.0802000.0780740.074498
102000.0850000.0788300.073373
104000.0804000.0781440.073373
106000.0782000.0771630.073902
108000.0809000.0763940.072446
110000.0807000.0759550.071585
112000.0768000.0770310.072313
114000.0763000.0774010.072777
116000.0767000.0766130.071916
118000.0760000.0766720.071916
120000.0772000.0764900.070989
122000.0762000.0766880.070856
124000.0744000.0767800.071055
126000.0763000.0767680.071320
128000.0776000.0767270.071055
130000.0777000.0767140.071254

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-tatar --dataset mozilla-foundation/common_voice_8_0 --config tt --split test