Whisper small Bangla (ONNX, 8-bit)
ONNX version of arif11/bangla-ASR-v5 (Whisper small fine-tuned for Bangla), converted for use in the browser with Transformers.js. The encoder and decoder are 8-bit (dynamic) quantized, about 290 MB in total.
Used by the AI Transcript feature of HTML5 Audio Player Pro (bPlugins).
Credits and license
- Fine-tuned model: arif11/bangla-ASR-v5, Apache-2.0.
- Base model: openai/whisper-small, Apache-2.0.
- Conversion: Hugging Face Optimum (ONNX export) and ONNX Runtime dynamic quantization. No further training.
This repository is released under the Apache-2.0 license.
Usage (Transformers.js)
import { pipeline } from '@huggingface/transformers';
const asr = await pipeline('automatic-speech-recognition', 'OWNER/whisper-small-bangla-onnx', { dtype: 'q8' });
const { text } = await asr(audio16kMono, { language: 'bengali', task: 'transcribe' });
The model does not output timestamps; split long audio into short pieces (for example at quiet moments) and transcribe each piece.