AI · ASRPythonWhisperOffline

Offline speech recognition that can recover, fall back, and be audited.

The pipeline targets Sichuan–Chongqing navigation speech. Normal samples use one decode; anomalous output triggers constrained retry, then legacy-model fallback if needed, followed by deterministic normalization and quality gates.

Overview & context

Without reference transcripts, “sounds plausible” is not evidence.

Navigation dialect ASR must handle accents and place names while avoiding loops, sentence repetition, abnormal length, and invalid characters.

Problem

Long GPU jobs may lose progress when a process exits. A single decoding strategy is not robust enough for anomalies, and retry or post-processing rules must not become an untraceable black box.

Architecture

Robustness is part of the production inference path.

Each stage has a defined input, failure path, and persistent evidence.

01 · SHARDFixed shards

Split audio deterministically for resume.

02 · INFERPrimary model

One greedy decode for normal samples.

03 · GUARDAnomaly detection

Detect repetition, length, and character anomalies.

04 · RETRYRetry / fallback

Constrained retry, then legacy model as needed.

05 · BUILDNormalize & validate

Build JSONL, audit records, and SHA-256.

Technical decisions

Controlled variables matter more than adding models blindly.

01

Freeze the model route

No further training in the current phase, preventing test output from feeding back into model or rules.

02

Load fallback on demand

The legacy model is loaded only after retries fail, avoiding permanent dual-model GPU use.

03

Deterministic post-processing

Safe rules cover known navigation terms; experimental place-name rules remain isolated.

04

Validate again at build time

Final output is checked for UTF-8, JSONL, IDs, fields, and obvious generation anomalies.

Results

The result demonstrates a robust pipeline, not unverified accuracy.

5 anomaliesSevere cases in the current README were diagnosed on a real GPU run
4 + 1Four recovered by constrained retry; one used the legacy model
Recoverable shardsValidated work is saved immediately and skipped after interruption
Accuracy boundary: no CER is reported for the unlabeled test set, and fluency is not presented as accuracy evidence.
PROJECT BOUNDARY

The source repository is not public yet.

This page contains only facts verified from the local project documentation and code structure.

Discuss the project