CoolFace
Modelpublic

sammy786/wav2vec2-xlsr-romansh_vallader

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

sammy786/wav2vec2-xlsr-romansh_vallader

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

  • —Loss: 30.31
  • —Wer: 26.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 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
2005.8951003.1366240.999713
4001.5457000.4450690.471584
6000.6939000.3407000.363088
8000.5106000.2954320.289610
10000.3188000.2867950.281860
12000.1940000.3074680.274110
14000.1518000.3048490.264351
16000.1483000.3031120.263203

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-romansh_vallader --dataset mozilla-foundation/common_voice_8_0 --config rm-vallader --split test