This model is a fine-tuned version of
openai/whisper-medium on the
Indonesian mozilla-foundation/common_voice_11_0, magic_data, titml and google/fleurs dataset. It achieves the following
results:
1from transformers import pipeline
2transcriber = pipeline(
3 "automatic-speech-recognition",
4 model="cahya/whisper-medium-id"
5)
6transcriber.model.config.forced_decoder_ids = (
7 transcriber.tokenizer.get_decoder_prompt_ids(
8 language="id"
9 task="transcribe"
10 )
11)
12transcription = transcriber("my_audio_file.mp3")
We evaluated the model using the test split of two datasets, the
Common Voice 11
and the
Google Fleurs.
As Whisper can transcribe casing and punctuation, we also evaluate its performance using raw and normalized text.
(lowercase + removal of punctuations). The results are as follows: