Nemotron-3.5 0.6B Streaming Hinglish (Candidate v2)
This repository contains the fine-tuned Nemotron-3.5 0.6B Cache-Aware Streaming RNN-T model optimized for conversational Hindi, English, and code-switched Hinglish under challenging acoustic noise environments.
The model is provided in two decoupled formats:
- Production INT8 Streaming ONNX Bundle (
model/onnx/): Fully quantized, optimized for CPU inference viasherpa-onnx(the runtime engine of Vox). - Full NeMo Checkpoint (
model/nemo/candidate_v2.nemo): Complete 2.4 GB NeMo 3.0.0 checkpoint for continued fine-tuning, adaptation, or export.
1. Golden v1 Benchmark Comparison (vs Baseline base-v1)
Evaluated under strict production parity (sherpa-onnx ONNX Runtime, provider=cpu, 12 parallel workers, 2 intra-op threads) across all 11 splits (3,556 clips, 5.994 hours) of the frozen Golden v1 Evaluation Corpus (addyo07/noisy-hinglish-asr).
Statistical significance was evaluated using paired bootstrap resampling ($N = 5,000$ draws, 95% confidence intervals):
| Split ID | Domain / Language | Clips | Baseline WER (%) | Candidate v2 WER (%) | $\Delta$ WER (pp) | 95% Bootstrap CI | Outcome |
|---|---|---|---|---|---|---|---|
en_conv_noisy | Conversational English (Noisy) | 486 | 34.69% | 31.20% | -3.49 | [-5.82, -1.48] | WIN (Priority 1) |
hinglish_clean | Conversational Hinglish (Clean) | 277 | 42.09% | 35.83% | -6.26 | [-9.38, -3.30] | WIN (Priority 2) |
hinglish_noisy | Conversational Hinglish (Noisy) | 277 | 44.28% | 40.64% | -3.65 | [-6.30, -1.26] | WIN (Priority 3) |
en_conv_clean | Conversational English (Clean) | 486 | 23.96% | 20.86% | -3.10 | [-4.60, -1.66] | WIN |
read_en | Read English (CommonVoice) | 280 | 18.32% | 16.84% | -1.48 | [-2.83, -0.17] | WIN |
en_real_noisy_chime6 | Real Far-Field Kitchen Noise (CHiME-6) | 240 | 49.33% | 49.38% | +0.05 | [-1.76, +1.86] | Neutral (Noise floor) |
hi_conv_clean | Conversational Hindi (Clean) | 390 | 25.10% | 25.29% | +0.19 | [-1.12, +1.48] | Neutral (Noise floor) |
hi_conv_noisy | Conversational Hindi (Noisy) | 390 | 44.40% | 44.54% | +0.14 | [-1.10, +1.40] | Neutral (Noise floor) |
read_hi | Read Hindi (CommonVoice) | 390 | 18.42% | 18.47% | +0.05 | [-0.71, +0.81] | Neutral (Noise floor) |
negatives | Pure Noise / Non-Speech (DNS/ESC-50) | 200 | 0.00% | 0.00% | 0.00 | [0.00, 0.00] | PASS (100% Rejection) |
read_en_ls | Read English (LibriSpeech Test-Clean) | 140 | 18.32% | 19.05% | +0.73 | [+0.05, +1.44] | REGRESSION |
- Inference Speed: Mean Real-Time Factor (RTF) improved by ~25% across all splits (from 0.65 to 0.46) on 32-core x86_64 CPU.
- False Trigger Rate (FTR): 100% rejection on pure noise negatives (zero hallucination).
2. Independent QA Audit Verdict
An independent QA audit was conducted in accordance with vox/.agents/rules/qa-engineer.md and AGENTS.md §6.
- Audit Scope: All 3,556 clips across all 11 splits; independent re-calculation of WER/CER directly from raw hypothesis lines in
results/hyps/; decontamination verification against training manifests. - Findings:
- Priority 1, 2, and 3 targets achieved statistically significant double-digit relative improvements.
- Zero decontamination leakage (0 training clips overlap with Golden v1).
read_en_lsexperienced a +0.73 pp regression (18.32% -> 19.05%, 95% CI[+0.05, +1.44]), strictly exceeding the 0.33 pp noise threshold.hinglish_noisyempty-output rate increased by +2.67 pp (0.89% -> 3.56%).
- Official Verdict: REJECTED (FAIL) for production default deployment under the mechanical zero-regression SLA (
AGENTS.md §2: "A win on one split never offsets a loss on another. 'Better on average' is a rejection"). - Signed Attestation:
attestations/QA-1_candidate-v2_20261113.md.
3. Candidate v3 Remediation Roadmap
To resolve the two identified defects and pass the production gate, Candidate v3 will implement the following measures (full specification in docs/improvement_plan.md):
- Clean LibriSpeech Anchoring: Add 1.5h of clean LibriSpeech audio to the training mixture to provide an explicit anchor for standard American read speech, preventing encoder representation shift.
- Selective Joint-Only Adaptation: Restrict gradient updates to the RNN-T Joint Network (
joint.matmul_z,joint.bias) and freeze or heavily decay the Predictor/Decoder (lr_decoder = 0.1 * lr_joint), preserving the pre-trained acoustic and language priors. - Blank Penalty & FastEmit Tuning: Introduce a small negative blank penalty ($\lambda = -0.05$) during decoding to penalize premature blank emissions on noisy Hinglish audio, eliminating the +2.67 pp empty output defect.
- IndicVoices Hindi Expansion: Ingest 15h of conversational Hindi from IndicVoices to unlock Hindi WER improvements.
4. Repository Structure & Artifact Catalog
| Path | Description | Format | Size |
|---|---|---|---|
model/nemo/candidate_v2.nemo | Fine-tuned NeMo 3.0.0 RNN-T Checkpoint | NeMo Archive (Tar) | 2.4 GB |
model/onnx/encoder.int8.onnx | Quantized FastConformer Streaming Encoder | ONNX (INT8 dynamic) | 628 MB |
model/onnx/decoder.int8.onnx | Quantized RNN-T Predictor / Decoder | ONNX (INT8 dynamic) | 15 MB |
model/onnx/joiner.int8.onnx | Quantized Joint Network | ONNX (INT8 dynamic) | 9.1 MB |
model/onnx/tokens.txt | BPE Tokenizer Vocabulary (1024 tokens) | Text | 129 KB |
model/onnx/CARD.md | Model Card with SHA256 Checksums | Markdown | 4.4 KB |
scripts/training/ | Training scripts (speech_to_text_finetune.py, run_finetune_v2.sh) | Python / Bash | ~50 KB |
scripts/export/ | Quantization & ONNX export pipeline | Python / Bash | ~20 KB |
scripts/eval/ | Production eval harness & paired bootstrap engine | Python / Bash | ~35 KB |
results/ | Complete 11-split JSON reports and paired bootstrap diff | JSON | ~10 MB |
results/hyps/ | All 3,556 raw hypothesis records for full auditability | JSONL (Git LFS) | ~250 KB |
attestations/ | Signed independent QA attestation reports | Markdown | ~15 KB |
docs/ | Engineering worklog, learnings, and Candidate v3 plan | Markdown | ~50 KB |
5. Streaming Inference Quickstart (Python / sherpa-onnx)
Install runtime dependencies:
pip install sherpa-onnx soundfile
Run streaming speech recognition on a WAV file:
import sherpa_onnx
import soundfile as sf
# 1. Initialize Online (Streaming) Recognizer with INT8 models
recognizer = sherpa_onnx.OnlineRecognizer.from_transducer(
encoder="model/onnx/encoder.int8.onnx",
decoder="model/onnx/decoder.int8.onnx",
joiner="model/onnx/joiner.int8.onnx",
tokens="model/onnx/tokens.txt",
num_threads=2,
provider="cpu",
decoding_method="greedy_search",
)
# 2. Create an online stream
stream = recognizer.create_stream()
# 3. Stream audio in 160ms chunks (2560 samples @ 16kHz)
audio, sample_rate = sf.read("sample.wav", dtype="float32")
assert sample_rate == 16000, "Audio must be 16kHz"
chunk_size = 2560
for i in range(0, len(audio), chunk_size):
chunk = audio[i : i + chunk_size]
stream.accept_waveform(sample_rate, chunk)
while recognizer.is_ready(stream):
recognizer.decode_stream(stream)
result = recognizer.get_result(stream)
if result:
print(f"\rPartial: {result}", end="", flush=True)
# 4. Finalize
stream.input_finished()
while recognizer.is_ready(stream):
recognizer.decode_stream(stream)
print(f"\nFinal: {recognizer.get_result(stream)}")