Automatic Speech Recognition
Transformers
PyTorch
Portuguese
wav2vec2
robust-speech-event
mozilla-foundation/common_voice_8_0
Generated from Trainer
hf-asr-leaderboard
Eval Results (legacy)
Instructions to use AlexN/xls-r-300m-pt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlexN/xls-r-300m-pt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="AlexN/xls-r-300m-pt")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("AlexN/xls-r-300m-pt") model = AutoModelForCTC.from_pretrained("AlexN/xls-r-300m-pt") - Notebooks
- Google Colab
- Kaggle
| python eval.py --model_id="./" --dataset="mozilla-foundation/common_voice_8_0" --config="pt" --split="test" --log_outputs | |
| python eval.py --model_id="./" --dataset="speech-recognition-community-v2/dev_data" --config="pt" \ | |
| --split="validation" --chunk_length_s="5.0" --stride_length_s="1.0" --log_outputs --device="-1" |