Downloads · 30 days
139
0% of all-time downloads
jensenlwt/whisper-small-singlish-122k
whisper-small-singlish-122k is a automatic speech recognition model from jensenlwt. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as mit.
This model is a openai/whisper-small, fine-tuned on a subset (122k samples) of the National Speech Corpus.
Downloads · 30 days
139
0% of all-time downloads
All-time downloads
245K
Public
Parameters
242M
967 MB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors967 MB · 100%
From the Hugging Face model README
This model is a openai/whisper-small, fine-tuned on a subset (122k samples) of the National Speech Corpus.
The following results on the evaluation set (43,788k samples) are reported:
The model is intended as exploration exercise to develop better ASR model for Singapore English (singlish).
The recommended audio usage for testing should be:
To use the model in an application, you can make use of transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="jensenlwt/whisper-small-singlish-122k")
We made use of the National Speech Corpus for training. In specific, we made use of Part 2 – which is a series of audio samples of prompted read speech recordings that involves local named entities, slang, and dialect.
To train, I make used of the first 300 transcripts in the corpus, which is around 122k samples from ~161 speakers.
The model is fine-tuned with occasional interruptions to adjust batch size to maximise GPU utilisation. In addition, I also end training early if eval_loss does not decrease in two evaluation steps as per previous training experience.
The following hyperparameters are used:
| Steps | Epoch | Train Loss | Eval Loss | WER |
|---|---|---|---|---|
| 500 | 0.654450 | 0.7418 | 0.3889 | 17.968250 |
| 1000 | 1.308901 | 0.2831 | 0.2519 | 11.880948 |
| 1500 | 1.963351 | 0.1960 | 0.2038 | 9.948440 |
| 2000 | 2.617801 | 0.1236 | 0.1872 | 9.420248 |
| 2500 | 3.272251 | 0.0970 | 0.1791 | 8.539280 |
| 3000 | 3.926702 | 0.0728 | 0.1714 | 8.207827 |
| 3500 | 4.581152 | 0.0484 | 0.1741 | 8.145801 |
| 4000 | 5.235602 | 0.0401 | 0.1773 | 8.138047 |
The model with the lowest evaluation loss is used as the final checkpoint.
To test the model, I made use of the last 100 transcripts (held-out test set) in the corpus, which is around 43k samples.
| Model | WER |
|---|---|
| fine-tuned-122k-whisper-small | 9.69% |
The overall model is not perfect, but if audio is spoken clearly, the model is able to transcribe Singaporean terms and slang accurately.
Trained on VM instance provisioned on jarvislabs.ai.
[More Information Needed]