CoolFace
Modelpublic

lucio/xls-r-uzbek-cv8

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
7likes695downloads
Model Card

XLS-R-300M Uzbek CV8

This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the MOZILLA-FOUNDATION/COMMONVOICE8_0 - UZ dataset. It achieves the following results on the validation set:

  • —Loss: 0.3063
  • —Wer: 0.3852
  • —Cer: 0.0777

Model description

For a description of the model architecture, see facebook/wav2vec2-xls-r-300m

The model vocabulary consists of the Modern Latin alphabet for Uzbek, with punctuation removed. Note that the characters <‘> and <’> do not count as punctuation, as <‘> modifies \<o\> and \<g\>, and <’> indicates the glottal stop or a long vowel.

The decoder uses a kenlm language model built on common_voice text.

Intended uses & limitations

This model is expected to be of some utility for low-fidelity use cases such as:

  • —Draft video captions
  • —Indexing of recorded broadcasts

The model is not reliable enough to use as a substitute for live captions for accessibility purposes, and it should not be used in a manner that would infringe the privacy of any of the contributors to the Common Voice dataset nor any other speakers.

Training and evaluation data

The 50% of the train common voice official split was used as training data. The 50% of the official dev split was used as validation data, and the full test set was used for final evaluation of the model without LM, while the model with LM was evaluated only on 500 examples from the test set.

The kenlm language model was compiled from the target sentences of the train + other dataset splits.

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 3e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 128
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 500
  • —num_epochs: 100.0
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossWerCer
3.14013.255003.11461.01.0
2.74846.4910002.28421.00650.7069
1.08999.7415000.54140.61250.1351
0.946512.9920000.45660.56350.1223
0.877116.2325000.42120.53660.1161
0.834619.4830000.39940.51440.1102
0.812722.7335000.38190.49440.1051
0.783325.9740000.37050.47980.1011
0.760329.2245000.36610.47040.0992
0.742432.4750000.35290.45770.0957
0.725135.7155000.34100.44730.0928
0.710638.9660000.34010.44280.0919
0.702742.2165000.33550.43530.0905
0.692745.4570000.33080.42960.0885
0.682848.775000.32460.42040.0863
0.670651.9580000.32500.42330.0868
0.662955.1985000.32640.41590.0849
0.655658.4490000.32130.41000.0835
0.648461.6995000.31820.41240.0837
0.640764.93100000.31710.40500.0825
0.637568.18105000.31500.40390.0822
0.636371.43110000.31290.39910.0810
0.630774.67115000.31140.39860.0807
0.623277.92120000.31030.38950.0790
0.621681.17125000.30860.38910.0790
0.617484.41130000.30820.38810.0785
0.619687.66135000.30590.38750.0782
0.617490.91140000.30840.38620.0780
0.616994.16145000.30700.38600.0779
0.616697.4150000.30660.38550.0778

Framework versions

  • —Transformers 4.16.2
  • —Pytorch 1.10.2+cu102
  • —Datasets 1.18.3
  • —Tokenizers 0.11.0