Views
No views yet
| Parameter | Value |
|---|---|
| Base Model | openai/whisper-small |
| Dataset | SPRINGLab/IndicVoices-R_Hindi |
| Train Samples | 25,002 |
| Eval Samples | 1,316 |
| Training Epochs | 3 |
| Training Steps | 2,346 |
| Best Checkpoint | checkpoint-2346 |
| Best Eval Loss | 0.2637 |
| Best Eval WER | 26.52 |
| 20-sample Base WER | 59.44 |
| 20-sample FT WER | 20.85 |
| LoRA Rank | 16 |
| LoRA Alpha | 32 |
| LoRA Dropout | 0.05 |
| LoRA Targets | q_proj, v_proj |
| Learning Rate | 5e-5 |
| Train Batch Size | 8 |
| Grad Accumulation | 4 |
| Effective Batch | 32 |
| Precision | bfloat16 |
| Hardware | Google Colab A100 |
| Method | LoRA fine-tuning with PEFT |
1from transformers import pipeline
2
3asr = pipeline(
4 task='automatic-speech-recognition',
5 model='Sa1Krishna/sema-whisper-small-springlab-hindi-finetuned',
6 device=0
7)
8
9result = asr(
10 'hindi_audio.wav',
11 generate_kwargs={
12 'language': 'hindi',
13 'task': 'transcribe'
14 }
15)
16
17print(result['text'])