--- 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 1. Check repetitive trigrams. 2. Verify Voice Activity using Silero-VAD. 3. Verify scores using Force Alignment. ## Post-translation We use [mesolitica/nanot5-base-malaysian-translation-v2.1](https://huggingface.co/mesolitica/nanot5-base-malaysian-translation-v2.1). ## Dataset involved 1. [Malaysian context v1](https://huggingface.co/datasets/mesolitica/pseudolabel-malaya-speech-stt-train-whisper-large-v3-timestamp) 2. [Malaysian context v2](https://huggingface.co/datasets/mesolitica/pseudolabel-malaysian-youtube-whisper-large-v3-timestamp) 3. [Malay audiobook](https://huggingface.co/datasets/mesolitica/pseudolabel-nusantara-large-v3-timestamp) 4. [Singaporean context](https://huggingface.co/datasets/mesolitica/pseudolabel-imda-large-v3-timestamp) 5. [Indonesian context](https://huggingface.co/datasets/mesolitica/pseudolabel-indonesian-large-v3-timestamp) 6. [Mandarin audio](https://huggingface.co/datasets/mesolitica/pseudolabel-mandarin-large-v3-timestamp) 7. [Tamil audio](https://huggingface.co/datasets/mesolitica/pseudolabel-tamil-large-v3-timestamp) 8. [Science context](https://huggingface.co/datasets/mesolitica/pseudolabel-science-large-v3-timestamp) 9. [Malay sarawak](https://huggingface.co/datasets/malaysia-ai/sarawakmalay-whisper-format) 10. [Scripted Malay Daily Use Speech Corpus](https://huggingface.co/datasets/malaysia-ai/scripted-malay-daily-use-speech-corpus-whisper-format) 11. [Malay Conversational Speech Corpus](https://huggingface.co/datasets/malaysia-ai/malay-conversational-speech-corpus-whisper-format) 12. [Iban](https://huggingface.co/datasets/malaysia-ai/iban-whisper-format) 13. [Malay dialects](https://huggingface.co/datasets/mesolitica/pseudolabel-malay-dialects-large-v3-timestamp) ### Word level timestamp 1. 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|>"} ``` - [Label](pseudolabel-malaya-whisper-word-timestamp.jsonl) - [Audio](prepared-pseudolabel-malaya-chunks.zip) 2. Malaysian context v2, 8058.17 hours. - [Label](pseudolabel-whisper-word-timestamp.jsonl) - [Audio](#) 3. Singaporean context - [Label](#) - [Audio](#) 4. Science context - [Label](#) - [Audio](#) ## how to prepare the dataset ```bash 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