CoolFace
Modelpublic

sammy786/wav2vec2-xlsr-finnish

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

sammy786/wav2vec2-xlsr-finnish

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

  • —Loss: 8.7555
  • —Wer: 23.0231

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: 30
  • —mixedprecisiontraining: Native AMP

Training results

StepTraining LossValidation LossWer
2004.2537000.8817330.967007
4000.8648000.2269770.420836
6000.6070000.1574730.343375
8000.3802000.1456400.302672
10000.3184000.1280280.293886
12000.2611000.1214140.289941
14000.2323000.1134510.279182
16000.2166000.1136490.282948
18000.2025000.1123750.276134
20000.1900000.1057250.273803
22000.1710000.1097150.270755
24000.1565000.1050420.264300
26000.1556000.1083370.260714
28000.1491000.1124350.263583
30000.1451000.1061930.261969
32000.1317000.1028600.251210
34000.1291000.0960580.246907
36000.1216000.0999320.246369
38000.1120000.0990410.244397
40000.1141000.1015660.242604
42000.1115000.0894980.239197
44000.0998000.0928350.240990
46000.0953000.0935180.238121
48000.0943000.0907830.240631
50000.0890000.0940460.238479
52000.0880000.0893420.235252
54000.0836000.0877700.234535
56000.0836000.0888040.234355
58000.0803000.0901680.231307
60000.0781000.0901630.230949
62000.0756000.0888760.232383
64000.0787000.0872350.232024
66000.0748000.0868250.231486
68000.0764000.0873080.231845
70000.0707000.0876950.230769
72000.0755000.0875550.230231

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