Bengali (Bangla) speech recognition, Whisper medium fine-tuned by OmiKhan on about 300 hours of Bengali, converted to ONNX for in-browser inference with Transformers.js on WebGPU (used by SubtitleKing).
onnx/encoder_model_fp16.onnx), 4-bit merged decoder with past key values
(onnx/decoder_model_merged_q4.onnx), tokenizer and configs from the source.tools/convert-whisper/ in
the SubtitleKing repository.tokenizer.json, vocab.json and merges.txt hold that
vocabulary and its merges in stock Whisper's file layout, with stock Whisper's special and timestamp tokens
(same ids as the source's); the source's tokenizer files use a newer layout that Transformers.js doesn't read.
Decoding with the stock Whisper tokenizer instead gives gibberish.generation_config.json: suppress_tokens is stock Whisper's (the source sets none), minus the 17 ids that
are Bengali sub-words in this vocabulary (stock Whisper's symbols such as { or @ at those ids).All credit for the model goes to OmiKhan; please cite their work. This repository only changes the file format.
onnx/encoder_model_fp16.onnx 615 MBonnx/decoder_model_merged_q4.onnx 469 MBOmiKhan/bangla-asr-whisper-medium