Model reference · open weights
wav2vec2-xls-r-ca-lm is an open-weight audio or speech model from PereLluis13. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | PereLluis13 |
|---|---|
| Type | Audio & music |
| Task | Speech→text |
| Runs with | transformers |
| Released | 2022-03-02 |
| Popularity | 3k downloads / month |
| Licence | Open weights |
About
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.
Please check the original facebook/wav2vec2-xls-r-1b Model card. This is just a finetuned version of that model.
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.
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.
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.
The following hyperparameters were used during training:
Want to thank both @ccoreilly and @gullabi who have contributed with their own resources and knowledge into making this model possible.
From the published model card. Full card on the HuggingFace links in the sidebar.
Benchmarks
As published on the model card — the maker's own numbers, not measured by AxForge.
| Task | Dataset | Metric | Score |
|---|---|---|---|
| Speech Recognition | mozilla-foundation/common_voice_8_0 ca | Test WER | 6.072 |
| Speech Recognition | mozilla-foundation/common_voice_8_0 ca | Test CER | 1.918 |
| Speech Recognition | projecte-aina/parlament_parla ca | Test WER | 5.140 |
| Speech Recognition | projecte-aina/parlament_parla ca | Test CER | 2.016 |
| Speech Recognition | collectivat/tv3_parla ca | Test WER | 11.208 |
| Speech Recognition | collectivat/tv3_parla ca | Test CER | 7.321 |
| Speech Recognition | Robust Speech Event - Catalan Dev Data | Test WER | 22.870 |
| Speech Recognition | Robust Speech Event - Catalan Dev Data | Test CER | 13.590 |
| Automatic Speech Recognition | Robust Speech Event - Test Data | Test WER | 15.410 |
Using it via the API
Once AxForge deploys wav2vec2-xls-r-ca-lm for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (wav2vec2-xls-r-ca-lm below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/audio/transcriptions \ -H "Authorization: Bearer $AXFORGE_API_KEY" \ -F model="wav2vec2-xls-r-ca-lm" -F file=@audio.mp3
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.