Automatic Speech Recognition
Transformers
PyTorch
wav2vec2
Generated from Trainer
Eval Results (legacy)
Instructions to use Jana1994/wav2vec2-large-xls-r-300m-jana-colab_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jana1994/wav2vec2-large-xls-r-300m-jana-colab_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Jana1994/wav2vec2-large-xls-r-300m-jana-colab_2")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Jana1994/wav2vec2-large-xls-r-300m-jana-colab_2") model = AutoModelForCTC.from_pretrained("Jana1994/wav2vec2-large-xls-r-300m-jana-colab_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| base_model: facebook/wav2vec2-xls-r-300m | |
| tags: | |
| - generated_from_trainer | |
| datasets: | |
| - common_voice | |
| metrics: | |
| - wer | |
| model-index: | |
| - name: wav2vec2-large-xls-r-300m-jana-colab_2 | |
| results: | |
| - task: | |
| name: Automatic Speech Recognition | |
| type: automatic-speech-recognition | |
| dataset: | |
| name: common_voice | |
| type: common_voice | |
| config: cy | |
| split: test | |
| args: cy | |
| metrics: | |
| - name: Wer | |
| type: wer | |
| value: 0.7388294814303783 | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # wav2vec2-large-xls-r-300m-jana-colab_2 | |
| This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the common_voice dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.8550 | |
| - Wer: 0.7388 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 0.0003 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 2 | |
| - total_train_batch_size: 16 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 300 | |
| - num_epochs: 5 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Wer | | |
| |:-------------:|:-----:|:----:|:---------------:|:------:| | |
| | 5.5597 | 1.67 | 200 | 2.9421 | 1.0 | | |
| | 2.78 | 3.33 | 400 | 1.9877 | 0.9990 | | |
| | 1.1387 | 5.0 | 600 | 0.8550 | 0.7388 | | |
| ### Framework versions | |
| - Transformers 4.32.1 | |
| - Pytorch 2.0.1+cu118 | |
| - Datasets 2.14.4 | |
| - Tokenizers 0.13.3 | |