Downloads · 30 days
0
Abhisingh-18/hindi-data2vec-aqc-gemma3-4b-it-lora
hindi-data2vec-aqc-gemma3-4b-it-lora is a machine learning model from Abhisingh-18. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A Hindi Automatic Speech Recognition (ASR) model built using the SLAM-LLM framework. It combines a frozen Data2Vec-AQC speech encoder with a Gemma-3-4B-IT language model fine-tuned via LoRA.
Downloads · 30 days
0
Access
Public
Updated Jul 15, 2026
Repo size
4.2 GB
Likes
1
Public
Click a slice to open those files.
.pt3.8 GB · 91%
From the Hugging Face model README
A Hindi Automatic Speech Recognition (ASR) model built using the SLAM-LLM framework.
It combines a frozen Data2Vec-AQC speech encoder with a Gemma-3-4B-IT language model fine-tuned via LoRA.
| Component | Details |
|---|---|
| Framework | SLAM-LLM |
| Speech Encoder | Data2Vec-AQC Hindi (SPRING_INX_data2vec_aqc_Hindi.pt) |
| Encoder Params | 313.27 M (frozen ❄️) |
| Projector | Linear (concat + 2-layer MLP) |
| Projector Params | 15.73 M (trainable 🔥) |
| LLM | google/gemma-3-4b-it |
| LLM Params | 3880.26 M |
| LoRA Trainable Params | 14.90 M 🔥 |
| Total Trainable Params | ~30.63 M |
| Parameter | Value |
|---|---|
| Method | LoRA |
| Rank (r) | 8 |
| Alpha | 32 |
| Dropout | 0.05 |
| Target Modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Task Type | CAUSAL_LM |
| Parameter | Value |
|---|---|
| Dataset | Hindi 4000 Hours (ESPnet chunked) |
| Train Utterances | 1,924,281 |
| GPUs | 4 × NVIDIA RTX 6000 Ada (48GB each) |
| World Size | 4 |
| Batch Size (per GPU) | 4 |
| Gradient Accumulation | 2 |
| Effective Batch Size | 32 |
| Learning Rate | 1e-4 |
| Warmup Steps | 1000 |
| Optimizer | AdamW (DeepSpeed ZeRO Stage 2, CPU offload) |
| Precision | bf16 |
| Prompt Style | gemma2 |
| Prompt | "Transcribe speech to Hindi text. " |
| Checkpoint | Epoch 1, Step 115000 |
Evaluated on 6 standard Hindi ASR test sets using greedy decoding.
| Test Set | Sentences | WER (%) |
|---|---|---|
| KathBath (clean) | 1929 | 4.79 |
| IndicTTS | 100 | 5.48 |
| KathBath (noisy) | 1929 | 5.70 |
| FLEURS | 418 | 6.52 |
| CommonVoice | 1727 | 7.41 |
| MUCS | 3897 | 7.46 |
This repository contains only the LoRA adapter weights (pytorch_model.bin).
To run inference, you need:
google/gemma-3-4b-itSPRING_INX_data2vec_aqc_Hindi.pt# Clone SLAM-LLM
git clone https://github.com/X-LANCE/SLAM-LLM
# Run inference
python examples/asr_librispeech/inference_asr_batch.py \
++model_config.llm_name=gemma-3-4b-it \
++model_config.llm_dim=2560 \
++model_config.encoder_name=data2vec_aqc \
++model_config.encoder_dim=1024 \
++model_config.encoder_projector=linear \
++model_config.encoder_projector_ds_rate=5 \
++dataset_config.prompt_style=gemma2 \
++ckpt_path=/path/to/pytorch_model.bin
If you use this model, please cite the SLAM-LLM framework:
@article{ma2024embarrassingly,
title={An Embarrassingly Simple Approach for LLM with Strong ASR Capacity},
author={Ma, Ziyang and others},
journal={arXiv preprint},
year={2024}
}