CoolFace
Modelpublic

sammy786/wav2vec2-xlsr-sakha

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

sammy786/wav2vec2-xlsr-sakha

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

  • —Loss: 21.39
  • —Wer: 30.99

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

Training results

StepTraining LossValidation LossWer
2004.5416001.0447110.926395
4001.0137000.2903680.401758
6000.6450000.2322610.346555
8000.4678000.2141200.318340
10000.5023000.2139950.309957

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