metadata
task_categories:
- automatic-speech-recognition
language:
- ms
- en
- zh
- ta
- id
Malaysian STT Whisper format
Up to 15k hours annotated, we done heavy postprocessing and post-translation to improve pseudolabeled Whisper Large V3.
Also include word level timestamp.
Postprocessing
- Check repetitive trigrams.
- Verify Voice Activity using Silero-VAD.
- Verify scores using Force Alignment.
Post-translation
We use mesolitica/nanot5-base-malaysian-translation-v2.1.
Dataset involved
- Malaysian context v1
- Malaysian context v2
- Malay audiobook
- Singaporean context
- Indonesian context
- Mandarin audio
- Tamil audio
- Science context
- Malay sarawak
- Scripted Malay Daily Use Speech Corpus
- Malay Conversational Speech Corpus
- Iban
- Malay dialects
Word level timestamp
- Malaysian context v1, 658.54 hours.
{"audio_filename": "prepared-pseudolabel-malaya-chunks/2-0.mp3", "new_text": "<|startoftranscript|><|ms|><|transcribeprecise|><|0.00|> luar<|0.34|><|0.42|> kan<|0.60|><|1.78|> sebab<|2.06|><|2.24|> benda<|2.42|><|2.52|> ni<|2.58|><|2.70|> berlaku<|3.08|><|3.20|> contoh<|3.50|><|3.56|> kita<|3.72|><|3.80|> pergi<|3.98|><|4.10|> ke<|4.16|><|4.40|> ATM<|4.76|><|5.70|> yang<|5.80|><|5.84|> bukan<|6.02|><|6.10|> Islam,<|6.34|><|6.96|> siang<|7.12|><|7.18|> hari<|7.42|><|endoftext|>"}
- Malaysian context v2, 8058.17 hours.
- Singaporean context
- Science context
how to prepare the dataset
wget https://www.7-zip.org/a/7z2301-linux-x64.tar.xz
tar -xf 7z2301-linux-x64.tar.xz
# Malaysian context
wget https://huggingface.co/datasets/mesolitica/Malaysian-STT-Whisper/resolve/main/malaysian-stt.jsonl
huggingface-cli download --repo-type dataset \
--include 'output-audio-malaya.z*' \
--local-dir './' \
mesolitica/pseudolabel-malaya-speech-stt-train-whisper-large-v3-timestamp
./7zz x output-audio-malaya.zip -y -mmt40
huggingface-cli download --repo-type dataset \
--include 'output-audio.z*' \
--local-dir './' \
mesolitica/pseudolabel-malaysian-youtube-whisper-large-v3-timestamp
./7zz x output-audio.zip -y -mmt40
# Malay audiobook
wget https://huggingface.co/datasets/mesolitica/pseudolabel-nusantara-large-v3-timestamp/resolve/main/split-nusantara.zip
wget https://huggingface.co/datasets/mesolitica/pseudolabel-nusantara-large-v3-timestamp/resolve/main/prepared-nusantara.jsonl
unzip split-nusantara.zip
# Singaporean context
wget https://huggingface.co/datasets/mesolitica/pseudolabel-imda-large-v3-timestamp/resolve/main/prepared-imda.jsonl
wget https://huggingface.co/datasets/mesolitica/pseudolabel-imda-large-v3-timestamp/resolve/main/prepared-imda-ms.jsonl
huggingface-cli download --repo-type dataset \
--include '*.7z*' \
--local-dir './' \
mesolitica/IMDA-STT
./7zz x part1-mp3.7z.001 -y -mmt40
./7zz x part2-mp3.7z.001 -y -mmt40
./7zz x part3-same-audio-mp3.7z.001 -y -mmt40
./7zz x part3-separate-audio-mp3.7z.001 -y -mmt40
./7zz x part4-same-audio-mp3.7z.001 -y -mmt40
./7zz x part4-separate-audio-mp3.7z.001 -y -mmt40
./7zz x part5-same-audio-mp3.7z.001 -y -mmt40
./7zz x part5-separate-audio-mp3.7z.001 -y -mmt40
./7zz x part6-1-audio-mp3.7z.001 -y -mmt40
./7zz x part6-2-audio-mp3.7z.001 -y -mmt40
./7zz x part6-3-audio-mp3.7z.001 -y -mmt40
# Indonesian context
huggingface-cli download --repo-type dataset \
--include 'split-indonesian.z*' \
--local-dir './' \
mesolitica/pseudolabel-indonesian-large-v3-timestamp
./7zz x split-indonesian.zip -y -mmt40
# Science context
wget https://huggingface.co/datasets/mesolitica/Malaysian-STT-Whisper/resolve/main/science-en-stt.jsonl
wget https://huggingface.co/datasets/mesolitica/Malaysian-STT-Whisper/resolve/main/science-ms-stt.jsonl
huggingface-cli download --repo-type dataset \
--include 'audio-chunk.z*' \
--local-dir './' \
mesolitica/pseudolabel-science-large-v3-timestamp
./7zz x audio-chunk.zip -y -mmt40
# Malay sarawak
wget https://huggingface.co/datasets/malaysia-ai/sarawakmalay-whisper-format/resolve/main/sarawakmalay.zip
wget https://huggingface.co/datasets/malaysia-ai/sarawakmalay-whisper-format/resolve/main/dataset.json -O sarawakmalay.json
unzip sarawakmalay.zip
# for Scripted Malay Daily Use Speech Corpus
wget https://huggingface.co/datasets/malaysia-ai/scripted-malay-daily-use-speech-corpus-whisper-format/resolve/main/scripted-malay-daily-use-speech-corpus-whisper-format.zip
wget https://huggingface.co/datasets/malaysia-ai/scripted-malay-daily-use-speech-corpus-whisper-format/resolve/main/scripted-malay-daily-use-speech-corpus-whisper-format.json
unzip scripted-malay-daily-use-speech-corpus-whisper-format.zip
# Malay Conversational Speech Corpus
wget https://huggingface.co/datasets/malaysia-ai/malay-conversational-speech-corpus-whisper-format/resolve/main/malay-conversational-speech-corpus-whisper-format.zip
wget https://huggingface.co/datasets/malaysia-ai/malay-conversational-speech-corpus-whisper-format/resolve/main/malay-conversational-speech-corpus-whisper-format.json
unzip malay-conversational-speech-corpus-whisper-format.zip
# Iban
wget https://huggingface.co/datasets/malaysia-ai/iban-whisper-format/resolve/main/iban-wav.zip
wget https://huggingface.co/datasets/malaysia-ai/iban-whisper-format/resolve/main/iban-dataset.json
unzip iban-wav.zip
Source code
Source code at https://github.com/mesolitica/malaysian-dataset/tree/master/speech-to-text-semisupervised/distilled-malaysian-whisper