Skip to content

Add Haas Japanese ASR using the shared Parakeet runtime - #1191

Merged
0xShug0 merged 1 commit into
mainfrom
feature/haas-ja-v1.0
Nov 3, 2026
Merged

0xShug0 merged 1 commit into
mainfrom
feature/haas-ja-v1.0

Conversation

@0xShug0

@0xShug0 0xShug0 commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Adds Japanese Haas-ja-v1.0 as the dedicated haas_asr family. It shares Parakeet's FastConformer encoder, TDT joint, and offline/buffered-streaming runtime, replacing the LSTM predictor with two Kimi Delta Attention blocks.

The family registers a KDA predictor factory through the registration table introduced in #1189. KDA configuration, weights, recurrent state geometry, and graph construction stay in the model-local predictor implementation. The shared asset parser and weight loader remain unchanged, and no predictor-type branches are added to the decoder. No framework or GGML changes are included.

Also includes:

  • Official NeMo checkpoint conversion to the existing encoder/joint tensor layout, using framework modules for the KDA graph. Conversion retains the trained tokenizer normalization and corrects the batch-normalization scale for the shared encoder's variance convention.
  • F16 and Q8_0 GGUF package entries, model-manager defaults, usage documentation, model table/routing entries, and license attribution.
  • Published package locations for the dedicated Phonon-2 and Bark Standard families from Separate Parakeet, Phonon-2, and Bark ASR family routing #1189.
  • A shared timestamp-text correction: decode each word's token IDs together instead of concatenating raw vocabulary pieces, so byte-fallback pieces reconstruct valid UTF-8. Timestamp boundary calculations are unchanged; the existing token-duration formatting path is unchanged.
  • Family registration checks, Haas CLI offline/streaming cases, and family selection in the existing parity utility.

Validation

After adapting to #1189, the Debug Parakeet model target built successfully and model_spec_system_test passed. Metadata-only re-emission of both Haas GGUFs preserved all 729 tensor hashes, types, and shapes per package, and their embedded specs match haas_asr.

Runtime measurements and reference comparisons below were collected before the registration refactor/rebase; full-model inference has not been rerun on the current rebased tip:

  • All 24 Japanese official-reference comparisons matched transcript token IDs and emission-frame indices.
  • CUDA, Vulkan, Metal, and CPU transcription checks and offline/buffered-streaming lifecycle checks were collected.
  • The ordinary Parakeet fixture retained identical text and word timestamps against main baseline 7108a6e8.

Recorded CUDA performance: RTX 5090, Debug build, one short warmup followed by 24 distinct Japanese JSUT utterances totaling 97.91 seconds, one utterance per request. audio.cpp used Q8_0 weights and Q8_0 matmul projection storage; official Python used BF16. RTF excludes warmup; peak VRAM includes loading and inference.

Runtime RTF Peak VRAM
Official Python 0.00690 4,326 MiB
audio.cpp Q8_0 0.00379 1,335 MiB

This measured workload was 1.82× faster with 69% less peak VRAM. These are workload-specific measurements, not a full-corpus accuracy or performance claim.

Limits

The checkpoint is Japanese-only. Its encoder uses full-context attention; buffered streaming is not a native cache-aware encoder. Long-form processing uses the shared Parakeet scheduling policy rather than upstream's quiet-point splitting. Word spans follow tokenizer word markers and do not provide Japanese morphological segmentation.

Previously converted Haas GGUFs with a parakeet_tdt contract must have their embedded spec updated to haas_asr.

@0xShug0
0xShug0 merged commit 2aef50f into main Nov 3, 2026
7 checks passed
@0xShug0
0xShug0 deleted the feature/haas-ja-v1.0 branch November 3, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant