Zipformer-CR-CTC ASR

Zipformer-CR-CTC v2 is a 20.15M-parameter Non-Streaming U-Net Zipformer Automatic Speech Recognition (ASR) checkpoint trained from scratch with Consistency-Regularized CTC at 50 Hz output resolution.

License GitHub Repo Parameters Status


Model Details

  • Model Architecture: NonStreamingZipformerCRCTC (20,147,892 parameters, 50 Hz multi-scale linear-interpolated fusion across 6 U-Net scales [1, 2, 4, 8, 4, 2], nn.MultiheadAttention + Non-Linear Attention weight reuse, FP32-guarded BiasNorm, SwooshL/SwooshR).
  • Training Objective: Consistency-Regularized CTC (0.5 * (CTC_1 + CTC_2) + 0.20 * symmetric KL) over two independent SpecAugment views.
  • Vocabulary: 29 ASCII character CTC tokens (vocab.json / tokenizer.py: <blank>=0, ' '=1, a-z=2..27, '=28).
  • Checkpoint Included: best_wer_model.pt (231.39 MB, saved at Step 76,000, 7,151.7h cumulative audio seen on RTX 3060 12 GB in BF16).
  • Source Repository: https://github.com/Jaya325/zipformer-asr

Evaluation Results (Unified Evaluation Across Full Splits)

Split Utterances v1 Greedy WER / CER v2 Greedy WER / CER v2 Beam-25 + Lex WER / CER
LibriSpeech dev-clean 2,513 29.47% / 9.38% 12.83% / 3.90% 12.23% / 3.75%
LibriSpeech test-clean 2,382 29.42% / 9.33% 12.79% / 3.93% 12.27% / 3.78%
LibriSpeech dev-other 2,718 49.00% / 20.00% 24.73% / 9.27% 23.78% / 8.96%
LibriSpeech test-other 2,768 50.37% / 20.58% 25.68% / 9.60% 24.67% / 9.24%
WillHeld/india_accent_cv 250 59.52% / 23.21% 53.59% / 24.26% 52.91% / 23.46%

v1 vs v2 Training Curves and Unified Benchmarks v2 Training Curves


Usage

git clone https://github.com/Jaya325/zipformer-asr.git
cd zipformer-asr
pip install -r requirements.txt

python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download('JaiJaya/zipformer-asr', 'best_wer_model.pt', local_dir='weights')"
python3 infer.py --audio path/to/speech.wav --checkpoint weights/best_wer_model.pt --device cpu

Limitations & Why We Pivoted to Whisper

This checkpoint is archived as an experimental milestone:

  1. Noisy & Accented Ceilings: Real test-other sits at 24.67% WER and WillHeld/india_accent_cv at 52.91% WER (driven by an empty data/noise_rir folder during training, LibriSpeech shard duplication, and missing explicit positional encoding inside v2's ZipformerEncoderLayer).
  2. Pure CTC Homophones: Without an autoregressive language model, unigram CTC cannot disambiguate context homophones (e.g., "gilt" β†’ "guilt").
  3. English-Only Vocabulary: The 29-class ASCII alphabet cannot represent Indic scripts (Telugu/Hindi), motivating our subsequent pivot to Whisper-Tiny (51,865 multilingual BPE).
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Datasets used to train JaiJaya/zipformer-asr

Evaluation results