wav2vec2-xls-r-1b-ca-lm
This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the MOZILLA-FOUNDATION/COMMON_VOICE_8_0 - CA, the tv3_parla and parlament_parla datasets.
Model description
Please check the original facebook/wav2vec2-xls-r-1b Model card. This is just a finetuned version of that model.
Intended uses & limitations
As any model trained on crowdsourced data, this model can show the biases and particularities of the data and model used to train this model. Moreover, since this is a speech recognition model, it may underperform for some lower-resourced dialects for the catalan language.
Training and evaluation data
Training procedure
The data is preprocessed to remove characters not on the catalan alphabet. Moreover, numbers are verbalized using code provided by @ccoreilly, which can be found on the text/ folder or here.
Training results
Check the Tensorboard tab to check the training profile and evaluation results along training. The model was evaluated on the test splits for each of the datasets used during training.
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 2000
- num_epochs: 10.0
- mixed_precision_training: Native AMP
Framework versions
- Transformers 4.17.0.dev0
- Pytorch 1.10.2+cu102
- Datasets 1.18.3
- Tokenizers 0.11.0
Thanks
Want to thank both @ccoreilly and @gullabi who have contributed with their own resources and knowledge into making this model possible.
- Downloads last month
- 3,795
Datasets used to train PereLluis13/wav2vec2-xls-r-1b-ca-lm
Evaluation results
- Test WER on mozilla-foundation/common_voice_8_0 caself-reported6.072
- Test CER on mozilla-foundation/common_voice_8_0 caself-reported1.918
- Test WER on projecte-aina/parlament_parla caself-reported5.140
- Test CER on projecte-aina/parlament_parla caself-reported2.016
- Test WER on collectivat/tv3_parla caself-reported11.208
- Test CER on collectivat/tv3_parla caself-reported7.321
- Test WER on Robust Speech Event - Catalan Dev Dataself-reported22.870
- Test CER on Robust Speech Event - Catalan Dev Dataself-reported13.590
- Test WER on Robust Speech Event - Test Dataself-reported15.410