benny-lightweight-cantonese-to-text-model
This model is fine-tuned as lightweight cantonese ASR model with ~73.71% of total train dataset of MDCC cantonese corpus based on OpenAI Whisper Base (openai/whisper-base) with LORA and merged with original model.
(How to Use)
from transformers import pipeline
pipe = pipeline(
"automatic-speech-recognition",
model="chunwmak9/benny-lightweight-cantonese-to-text-model",
generate_kwargs={{"language": "cantonese"}}
)
result = pipe("your_cantonese_audio.mp3")
print(result["text"])
Fine-tuned Performance
with a same testing audio clip(.mp3) Before fine-tuning:
帮我买东西吗?
After fine-tuning:
幫我買嘢啊
Cantonese corpus have increased the capability of the model to recognize cantonese wordings like "嘢","啊" and etc.