--- language: - bn license: cc-by-sa-4.0 base_model: google/embeddinggemma-2 pipeline_tag: automatic-speech-recognition library_name: pytorch tags: - automatic-speech-recognition - bangla - bengali - embeddinggemma - ctc - kenlm datasets: - google/fleurs - SUST-CSE-Speech/SUBAK.KO - ai4bharat/Kathbath - ai4bharat/Shrutilipi - SPRINGLab/IndicTTS_Bengali metrics: - wer - cer model-index: - name: KothaGemma (variant a) results: - task: type: automatic-speech-recognition dataset: type: google/fleurs name: FLEURS bn_in (test) config: bn_in split: test metrics: - type: wer value: 15.12 name: WER, KenLM 4-gram - task: type: automatic-speech-recognition dataset: type: ai4bharat/Kathbath name: Kathbath Bengali (test-unknown) split: test_unknown metrics: - type: wer value: 11.70 name: WER, KenLM 4-gram --- # KothaGemma: Bangla speech recognition from EmbeddingGemma 2 > **v0.1 research preview (October 2026).** A technical report is in preparation. Results and benchmarks below are > preliminary. *Kotha* (কথা) means speech, or words, in Bangla. KothaGemma turns the audio tower of Google's multimodal embedding model [EmbeddingGemma 2](https://huggingface.co/google/embeddinggemma-2) into a Bangla speech recognizer by training a small CTC reader on top of it. To our knowledge, it is the first such model for Bangla. - **Small trained part:** 28M trained parameters (variant a) on top of the 305M-parameter EmbeddingGemma 2 audio tower. - **One consumer GPU:** trained on 362 h of open Bangla speech on one RTX 4090. - **Fast:** CTC with a single forward pass, no autoregressive decoder. ## Two variants | | **variant a** (default) | **variant b** | | --- | --- | --- | | EmbeddingGemma 2 audio tower | frozen; 24 parallel residual adapters (rank 128, 2.1% of the tower) beside the feed-forward modules | layers 1–10 frozen, **layers 11–12 fine-tuned** (as in [QUAN-Transcribe](https://huggingface.co/qnguyen3/QUAN-Transcribe-1.0)) | | Layers read | learned mix of layers 9–12 | learned mix of all 13 outputs | | Reader | 6-layer Conformer, d 384 (21.4M) | 6-layer Transformer, d 768 (44.5M) | | Trained parameters | 27.8M | 94.9M | The two variants were trained as a matched comparison. On our development sets they are **statistically tied** (variant b − variant a = +0.11 WER points, 95% CI −0.22 to +0.43). ## Quick start ```bash git lfs install && git clone https://huggingface.co/nehsan/KothaGemma && cd KothaGemma pip install -r requirements.txt # kenlm is only needed for language-model decoding python transcribe.py audio.wav # variant a + language model python transcribe.py audio.wav --variant b --no-lm --procs 4 ``` ```python from bangla_asr import BanglaASR asr = BanglaASR.from_pretrained(".", variant="a") # downloads google/embeddinggemma-2 (Apache 2.0) print(asr.transcribe(["audio.wav"])) # list of strings; use_lm=False for greedy ``` ## Results (preliminary) Word error rate (%), all models run by us with the same text normalizer on the same test utterances; speed on one RTX 4090. KothaGemma rows use the 4-gram language model. | Model | Parameters | Training data (hours) | FLEURS test | Kathbath test-unknown | Speed (× real time) | | --- | --- | --- | --- | --- | --- | | hishab Conformer-L | 122M | 4,426 (Bangla) | 14.21 | 9.00 | 1,008 | | **KothaGemma, variant b** | 349M | **362** (Bangla) | 14.93 | 11.64 | 1,917 | | **KothaGemma, variant a** | 333M | **362** (Bangla) | 15.12 | 11.70 | 1,915 | | Bengali.AI Whisper-medium | 764M | not stated | 16.08 | 9.92 | 114 | | MMS-1B-all | 965M | not stated (1,162 languages) | 27.91 | 38.28 | 770 | | Whisper large-v3 | 1,543M | 5,000,000 (multilingual) | 77.30 | 85.34 | 35 | Training hours are as stated on each model's card. ## In progress A technical report and further experiments are in progress. ## Licence - **Model weights and language model:** [CC BY-SA 4.0](LICENSE). Some training data and the language-model text are share-alike. - **Code** (`bangla_asr.py`, `transcribe.py`): [Apache 2.0](LICENSE-CODE). - **EmbeddingGemma 2** (downloaded separately, not included): Apache 2.0, © Google DeepMind. - Please also respect the licences of the training corpora (see Acknowledgements). ## Citation ```bibtex @misc{kothagemma2026, title = {KothaGemma: Bangla Speech Recognition from the EmbeddingGemma 2 Audio Tower}, author = {Nahin Ehsan Nilav}, year = {2026}, howpublished = {\url{https://huggingface.co/nehsan/KothaGemma}}, note = {Version 0.1, research preview} } ``` ## Acknowledgements - Built on [EmbeddingGemma 2](https://huggingface.co/google/embeddinggemma-2) (Google DeepMind). - Variant b follows the recipe of [QUAN-Transcribe](https://huggingface.co/qnguyen3/QUAN-Transcribe-1.0) (Vietnamese). - Trained on open Bangla speech corpora: OpenSLR-53, SUBAK.KO, Kathbath, Shrutilipi, IndicTTS, FLEURS and OpenSLR-37. Thanks to their creators.