legacy-datasets/common_voice
Updated • 949 • 147
How to use Jana0511/wav2vec2-large-xls-r-300m-welsh-colab with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="Jana0511/wav2vec2-large-xls-r-300m-welsh-colab") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("Jana0511/wav2vec2-large-xls-r-300m-welsh-colab")
model = AutoModelForCTC.from_pretrained("Jana0511/wav2vec2-large-xls-r-300m-welsh-colab", device_map="auto")# Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("Jana0511/wav2vec2-large-xls-r-300m-welsh-colab")
model = AutoModelForCTC.from_pretrained("Jana0511/wav2vec2-large-xls-r-300m-welsh-colab", device_map="auto")This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Wer |
|---|---|---|---|---|
| 4.6024 | 2.26 | 400 | 2.0522 | 0.9999 |
Base model
facebook/wav2vec2-xls-r-300m
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Jana0511/wav2vec2-large-xls-r-300m-welsh-colab")