Downloads · 30 days
21
4% of all-time downloads
drmeeseeks/whisper-small-amet
whisper-small-amet is a automatic speech recognition model from drmeeseeks. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
21
4% of all-time downloads
All-time downloads
553
Public
Repo size
29 GB
Likes
0
Public
Click a slice to open those files.
.bin967 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-small on the google/fleurs am_et dataset. It achieves the following results on the evaluation set:
run.sh was run from the terminal to train bash run.sh, as described on the Whisper community events GITHUB page.The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Wer |
|---|---|---|---|---|
| 0.9013 | 100.0 | 100 | 2.7090 | 171.5753 |
| 0.0002 | 200.0 | 200 | 3.7303 | 298.6301 |
| 0.0001 | 300.0 | 300 | 3.8287 | 239.3836 |
| 0.0001 | 400.0 | 400 | 3.8877 | 234.9315 |
| 0.0001 | 500.0 | 500 | 4.0561 | 316.4384 |
| 0.0001 | 600.0 | 600 | 4.2706 | 189.0411 |
| 0.0 | 700.0 | 700 | 4.4524 | 229.4521 |
| 0.0 | 800.0 | 800 | 4.6250 | 308.5616 |
| 0.0 | 900.0 | 900 | 4.7844 | 429.4521 |
| 0.0405 | 1000.0 | 1000 | 4.6182 | 206.8493 |
| 0.0002 | 1100.0 | 1100 | 5.5423 | 159.9315 |
| 0.0002 | 1200.0 | 1200 | 6.0517 | 151.7123 |
| 0.0002 | 1300.0 | 1300 | 6.3493 | 154.7945 |
| 0.0002 | 1400.0 | 1400 | 6.5431 | 138.6986 |
| 0.0002 | 1500.0 | 1500 | 6.6699 | 158.5616 |
| 0.0001 | 1600.0 | 1600 | 6.7591 | 160.2740 |
| 0.0001 | 1700.0 | 1700 | 6.8209 | 103.0822 |
| 0.0001 | 1800.0 | 1800 | 6.8562 | 103.0822 |
| 0.0001 | 1900.0 | 1900 | 6.8758 | 103.0822 |
| 0.0001 | 2000.0 | 2000 | 6.8839 | 103.0822 |
Limit training duration for smaller datasets to ~ 2000 to 3000 steps to avoid overfitting. 5000 steps using the HuggingFace - Whisper Small takes ~ 5hrs on A100 GPUs (1hr/1000 steps). Encountered RuntimeError: The size of tensor a (504) must match the size of tensor b (448) at non-singleton dimension 1 which is related to Trainer RuntimeError as some languages datasets have input lengths that have non-standard lengths. The link did not resolve my issue, and appears elsewhere too Training languagemodel – RuntimeError the expanded size of the tensor (100) must match the existing size (64) at non singleton dimension 1. To circumvent this issue, run.sh paremeters are adjusted. Then run python run_eval_whisper_streaming.py --model_id="openai/whisper-small" --dataset="google/fleurs" --config="am_et" --batch_size=32 --max_eval_samples=64 --device=0 --language="am" to find the WER score manually. Otherwise, erroring out during evaluation prevents the trained model from loading to HugginFace. Based on the paper AXRIV and Benchmarking OpenAI Whisper for non-English ASR - Dan Shafer, there is a performance bias towards certain languages and curated datasets. The OpenAI fintuning community event provided ample free GPU time to help develop the model further and improve WER scores.
Carbon emissions were estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019). In total roughly 100 hours were used primarily in US East/Asia Pacific (80%/20%), with AWS as the reference. Additional resources are available at Our World in Data - CO2 Emissions
@misc{https://doi.org/10.48550/arxiv.2212.04356,
doi = {10.48550/ARXIV.2212.04356},
url = {https://arxiv.org/abs/2212.04356},
author = {Radford, Alec and Kim, Jong Wook and Xu, Tao and Brockman, Greg and McLeavey, Christine and Sutskever, Ilya},
keywords = {Audio and Speech Processing (eess.AS), Computation and Language (cs.CL), Machine Learning (cs.LG), Sound (cs.SD), FOS: Electrical engineering, electronic engineering, information engineering, FOS: Electrical engineering, electronic engineering, information engineering, FOS: Computer and information sciences, FOS: Computer and information sciences},
title = {Robust Speech Recognition via Large-Scale Weak Supervision},
publisher = {arXiv},
year = {2022},
copyright = {arXiv.org perpetual, non-exclusive license}
}
@article{owidco2andothergreenhousegasemissions,
author = {Hannah Ritchie and Max Roser and Pablo Rosado},
title = {CO₂ and Greenhouse Gas Emissions},
journal = {Our World in Data},
year = {2020},
note = {https://ourworldindata.org/co2-and-other-greenhouse-gas-emissions}
}