CoolFace
Modelpublic

sammy786/wav2vec2-xlsr-interlingua

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

sammy786/wav2vec2-xlsr-interlingua

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

  • —Loss: 5.44
  • —Wer: 19.78

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

Training results

StepTraining LossValidation LossWer
2004.6492000.4833390.511322
4000.7647000.1334280.251288
6000.5637000.0992920.227745
8000.4388000.0875450.217445
10000.4068000.0723130.213848
12000.2375000.0669650.213766
14000.1778000.0644190.208126
16000.1571000.0659620.214011
18000.1466000.0594770.202076
20000.1328000.0550150.201831
22000.1220000.0554210.201749
24000.1157000.0544620.197826

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