Automatic Speech Recognition
Transformers
PyTorch
TensorBoard
wav2vec2
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run Gemmar/wav2vec2LugandaASR on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Gemmar/wav2vec2LugandaASR. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Gemmar/wav2vec2LugandaASR on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Gemmar/wav2vec2LugandaASR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gemmar/wav2vec2LugandaASR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Gemmar/wav2vec2LugandaASR")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Gemmar/wav2vec2LugandaASR") model = AutoModelForCTC.from_pretrained("Gemmar/wav2vec2LugandaASR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
update model card README.md
Browse files1 unmodified line2345678910911121314151617181920212223242526271 unmodified line2930311732331920343536373813 unmodified lines525354405556574344585960614748626364656652535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811967686970717273747576777879808182838485868788899091929394959697981 unmodified linelicense: apache-2.0tags:- generated_from_trainerdatasets:- common_voice_13_0metrics:- wermodel-index:- name: wav2vec2LugandaASR results: [] results: - task: name: Automatic Speech Recognition type: automatic-speech-recognition dataset: name: common_voice_13_0 type: common_voice_13_0 config: lg split: validation args: lg metrics: - name: Wer type: wer value: 0.23959817157435953---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You1 unmodified line
# wav2vec2LugandaASR
This model is a fine-tuned version of [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the None dataset.This model is a fine-tuned version of [Gemmar/wav2vec2LugandaASR](https://huggingface.co/Gemmar/wav2vec2LugandaASR) on the common_voice_13_0 dataset.It achieves the following results on the evaluation set:- Loss: 0.6798- Wer: 0.5291- Loss: 0.2014- Wer: 0.2396
## Model description
13 unmodified lines
The following hyperparameters were used during training:- learning_rate: 0.0003- train_batch_size: 16- train_batch_size: 32- eval_batch_size: 8- seed: 42- gradient_accumulation_steps: 2- total_train_batch_size: 32- gradient_accumulation_steps: 4- total_train_batch_size: 128- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 500- num_epochs: 130- lr_scheduler_warmup_steps: 200- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss | Wer ||:-------------:|:------:|:----:|:---------------:|:------:|| 2.8406 | 1.94 | 100 | 2.8577 | 0.9993 || 2.7812 | 3.88 | 200 | 2.8315 | 0.9993 || 1.1352 | 5.83 | 300 | 1.0099 | 1.1813 || 0.5333 | 7.77 | 400 | 0.5782 | 0.7937 || 0.3341 | 9.71 | 500 | 0.5899 | 0.7265 || 0.2432 | 11.65 | 600 | 0.5352 | 0.7162 || 0.2146 | 13.59 | 700 | 0.5439 | 0.6466 || 0.1998 | 15.53 | 800 | 0.5865 | 0.6618 || 0.1576 | 17.48 | 900 | 0.5598 | 0.6309 || 0.1665 | 19.42 | 1000 | 0.5400 | 0.6135 || 0.1191 | 21.36 | 1100 | 0.5496 | 0.6004 || 0.1038 | 23.3 | 1200 | 0.6248 | 0.6084 || 0.104 | 25.24 | 1300 | 0.5517 | 0.5934 || 0.1025 | 27.18 | 1400 | 0.5933 | 0.6008 || 0.1024 | 29.13 | 1500 | 0.5693 | 0.5901 || 0.0935 | 31.07 | 1600 | 0.5842 | 0.5899 || 0.0851 | 33.01 | 1700 | 0.6291 | 0.6086 || 0.0773 | 34.95 | 1800 | 0.6138 | 0.5812 || 0.0873 | 36.89 | 1900 | 0.5944 | 0.5729 || 0.0634 | 38.83 | 2000 | 0.6180 | 0.5807 || 0.0631 | 40.78 | 2100 | 0.5904 | 0.5704 || 0.0709 | 42.72 | 2200 | 0.5855 | 0.5791 || 0.0576 | 44.66 | 2300 | 0.6096 | 0.5789 || 0.0605 | 46.6 | 2400 | 0.5749 | 0.5617 || 0.0795 | 48.54 | 2500 | 0.5974 | 0.5749 || 0.0543 | 50.49 | 2600 | 0.6386 | 0.5754 || 0.0531 | 52.43 | 2700 | 0.6469 | 0.5794 || 0.0554 | 54.37 | 2800 | 0.6340 | 0.5555 || 0.0515 | 56.31 | 2900 | 0.6500 | 0.5762 || 0.0439 | 58.25 | 3000 | 0.6376 | 0.5758 || 0.0461 | 60.19 | 3100 | 0.6265 | 0.5711 || 0.0479 | 62.14 | 3200 | 0.6230 | 0.5707 || 0.039 | 64.08 | 3300 | 0.6337 | 0.5584 || 0.0397 | 66.02 | 3400 | 0.6347 | 0.5736 || 0.0509 | 67.96 | 3500 | 0.5946 | 0.5483 || 0.0471 | 69.9 | 3600 | 0.6355 | 0.5584 || 0.0481 | 71.84 | 3700 | 0.6514 | 0.5559 || 0.0484 | 73.79 | 3800 | 0.6373 | 0.5566 || 0.041 | 75.73 | 3900 | 0.6736 | 0.5646 || 0.0349 | 77.67 | 4000 | 0.6375 | 0.5622 || 0.0349 | 79.61 | 4100 | 0.6158 | 0.5506 || 0.0273 | 81.55 | 4200 | 0.6914 | 0.5666 || 0.029 | 83.5 | 4300 | 0.6361 | 0.5399 || 0.0353 | 85.44 | 4400 | 0.6397 | 0.5584 || 0.0289 | 87.38 | 4500 | 0.6554 | 0.5499 || 0.0257 | 89.32 | 4600 | 0.6676 | 0.5557 || 0.0403 | 91.26 | 4700 | 0.6440 | 0.5584 || 0.0361 | 93.2 | 4800 | 0.6587 | 0.5521 || 0.0304 | 95.15 | 4900 | 0.6837 | 0.5454 || 0.0289 | 97.09 | 5000 | 0.6684 | 0.5370 || 0.0282 | 99.03 | 5100 | 0.6556 | 0.5296 || 0.0302 | 100.97 | 5200 | 0.6833 | 0.5394 || 0.0196 | 102.91 | 5300 | 0.6837 | 0.5291 || 0.0255 | 104.85 | 5400 | 0.6644 | 0.5374 || 0.0209 | 106.8 | 5500 | 0.6700 | 0.5289 || 0.0243 | 108.74 | 5600 | 0.6835 | 0.5338 || 0.0203 | 110.68 | 5700 | 0.6850 | 0.5410 || 0.0237 | 112.62 | 5800 | 0.6561 | 0.5349 || 0.0251 | 114.56 | 5900 | 0.6776 | 0.5298 || 0.0177 | 116.5 | 6000 | 0.6748 | 0.5282 || 0.0232 | 118.45 | 6100 | 0.6767 | 0.5296 || 0.0257 | 120.39 | 6200 | 0.6793 | 0.5320 || 0.0194 | 122.33 | 6300 | 0.6804 | 0.5303 || 0.0304 | 124.27 | 6400 | 0.6798 | 0.5287 || 0.0251 | 126.21 | 6500 | 0.6798 | 0.5291 || 0.0201 | 128.16 | 6600 | 0.6798 | 0.5291 || Training Loss | Epoch | Step | Validation Loss | Wer ||:-------------:|:-----:|:----:|:---------------:|:------:|| 5.8963 | 0.18 | 100 | 2.8825 | 1.0000 || 1.1814 | 0.36 | 200 | 0.3787 | 0.4585 || 0.3331 | 0.54 | 300 | 0.3166 | 0.3918 || 0.2939 | 0.72 | 400 | 0.2811 | 0.3483 || 0.2682 | 0.9 | 500 | 0.2652 | 0.3348 || 0.2389 | 1.08 | 600 | 0.2565 | 0.3207 || 0.2137 | 1.27 | 700 | 0.2452 | 0.3066 || 0.2062 | 1.45 | 800 | 0.2356 | 0.3092 || 0.2058 | 1.63 | 900 | 0.2346 | 0.2928 || 0.2055 | 1.81 | 1000 | 0.2252 | 0.2901 || 0.1979 | 1.99 | 1100 | 0.2215 | 0.2836 || 0.166 | 2.17 | 1200 | 0.2217 | 0.2811 || 0.1623 | 2.35 | 1300 | 0.2200 | 0.2685 || 0.1628 | 2.53 | 1400 | 0.2166 | 0.2707 || 0.1593 | 2.71 | 1500 | 0.2131 | 0.2634 || 0.1561 | 2.89 | 1600 | 0.2121 | 0.2661 || 0.146 | 3.07 | 1700 | 0.2128 | 0.2552 || 0.1339 | 3.25 | 1800 | 0.2119 | 0.2591 || 0.1314 | 3.43 | 1900 | 0.2090 | 0.2492 || 0.1296 | 3.62 | 2000 | 0.2058 | 0.2504 || 0.1304 | 3.8 | 2100 | 0.2057 | 0.2500 || 0.1276 | 3.98 | 2200 | 0.2028 | 0.2463 || 0.116 | 4.16 | 2300 | 0.2058 | 0.2461 || 0.1122 | 4.34 | 2400 | 0.2074 | 0.2443 || 0.1087 | 4.52 | 2500 | 0.2065 | 0.2411 || 0.1087 | 4.7 | 2600 | 0.2042 | 0.2412 || 0.11 | 4.88 | 2700 | 0.2014 | 0.2396 |
### Framework versionsREADME.md+53-77