IndicEAR
Embedding-Adapter Recognition: the training framework behind Vesper-IndicEAR
Part of the Vesper project · research release v0.1
Model · Benchmark · Training recipe · Quickstart
IndicEAR turns the frozen audio encoder of an embedding model, EmbeddingGemma 2, into a speech recogniser. Its first model, Vesper-IndicEAR, transcribes 11 Indian languages and English, including code-switched speech, writes each word in its own script, and identifies the language. The encoder is never modified; only 11.8M parameters (45 MB) of adapters, CTC heads and language-ID heads are trained.
| Languages | Bengali, English, Gujarati, Hindi, Kannada, Malayalam, Marathi, Odia, Punjabi, Tamil, Telugu, Urdu |
| Model | google/embeddinggemma-2 audio tower (frozen, 305M) + residual adapters on layers 7–12 + script-factored CTC over 11 scripts + utterance/frame language ID |
| Training | about 6 GPU-hours on one RTX PRO 6000, streaming 8,356 h of audio from the Hugging Face Hub, warm-started from a 4.3 A100-hour pilot |
| Status | Research release. It works, but at several times the error rate of dedicated Indic ASR models. Not yet integrated into the Vesper app |
Results
Script-normalised CER on held-out sets with unseen speakers; every system decodes the same 300 clips per language per set. Vesper-IndicEAR is several times behind IndicConformer and SraVaani, and ahead only on MUCS. The model card has the table.
Use
pip install indicear
indicear-transcribe --model rahulsharmavishwakarma/vesper-indicEAR talk.wav
indicear-transcribe --model rahulsharmavishwakarma/vesper-indicEAR --json call.m4a # words, times, language, spans
from indicear.transcribe import Transcriber
with Transcriber("rahulsharmavishwakarma/vesper-indicEAR") as model:
result = model.transcribe_file("talk.wav")
print(result["text"], result["language"]["top"])
The model package (627 MiB) includes the encoder's audio tower with its tensor values unchanged from Google's checkpoint, so nothing else is downloaded. Device auto picks CUDA, then Apple MPS, then the CPU.
Train
The framework streams training audio from the Hugging Face Hub (no corpus download), keeps the GPU saturated with per-stream read-ahead and GPU-side augmentation, resumes exactly from any checkpoint, and evaluates every system on identical clips.
- Training recipe: architecture, data, hyperparameters, hardware and cost, exact commands, and how the framework handles streaming, batching, GPU utilisation and resumable training.
- Colab notebook: the full recipe (pilot, then the 12-language run) on one Colab GPU.
- Framework and code guide.
Benchmark
Vesper Indic Bench publishes the clips (by source dataset and id), references where their licences allow, and every system's per-clip transcript and scores: Vesper-IndicEAR in three decoding modes, IndicConformer 600M and SraVaani-1.0. benchmark/build_bench.py builds it from the evaluation outputs; benchmark/vesper_slice.py and benchmark/score_vesper.py score the model on Vesper's public ASR benchmark clips.
Repository
| Path | Contents |
|---|---|
indicear/ |
The package: model, staged encoder, streaming data, trainer, evaluation, decoding, export, transcription |
indicear/runtime/ |
Model-agnostic training infrastructure: batching, checkpoints, sharded caches, GPU sampling |
benchmark/ |
Benchmark dataset builder and the Vesper ASR benchmark scorer |
scripts/ |
Stage scripts for a GPU VM and helpers for pulling runs to a workstation |
notebooks/ |
Quickstart, Colab training, and the first ablation |
docs/ |
Model card, recipe, run reports, design, data licences; docs/figures/make_figures.py regenerates every figure |
results/ |
Run configs, training curves, logs and evaluation summaries |
tests/ |
CPU test suite (uv run --locked pytest) |
Documentation
- Model card · Training recipe · Full run · Pilot · Experiments log
- Architecture · Framework / code guide · Original plan
- Data licences · Loanword normaliser
- Contributing · Security · Citation
The project was called Sangam until 25 October 2026; run logs and records under results/ and the model package's training/ files keep that name.
Licence
Code and trained weights: Apache-2.0. The bundled EmbeddingGemma 2 audio tower is Google's, under Apache-2.0: its tensors are extracted from the checkpoint with values unchanged (see NOTICE). Figures use Bricolage Grotesque (SIL Open Font License, docs/figures/fonts/). Training data are CC BY (2.0–4.0) and CC0 sources; see NOTICE and docs/data-licenses.md.
Metadata
Release files for indicear 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| indicear-0.1.0.tar.gz | 857.9 kB | With provenance | Details for indicear-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| indicear-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for indicear-0.1.0-py3-none-any.whl |
Total release size: 1.7 MB
Release files / indicear-0.1.0.tar.gz
| Download URL | indicear-0.1.0.tar.gz |
|---|---|
| Size | 857.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2564b453a2eaa271e4a2deb4497672601bdad79222d3275f6cf089a503de734f
|
|
BLAKE2b-256 checksum How to use checksums |
10a9ccc548ce439d9c738e4690db25e70d3e782367a7f1eca472a6dbe81d76f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logRelease files / indicear-0.1.0-py3-none-any.whl
| Download URL | indicear-0.1.0-py3-none-any.whl |
|---|---|
| Size | 813.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ce485ad1d27482dd22b0d8ca30eb3bd01903e0e25d73eaf4d1dfde6008a3585
|
|
BLAKE2b-256 checksum How to use checksums |
42db271ab95c86e8774ba9c99083014fab385c47b4ded0b87aec61dba9eec91c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logSecurity for indicear 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for indicear-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.