Repository navigation
Add Haas Japanese ASR using the shared Parakeet runtime - #1191
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Japanese Haas-ja-v1.0 as the dedicated
haas_asrfamily. 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:
Validation
After adapting to #1189, the Debug Parakeet model target built successfully and
model_spec_system_testpassed. Metadata-only re-emission of both Haas GGUFs preserved all 729 tensor hashes, types, and shapes per package, and their embedded specs matchhaas_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:
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.
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_tdtcontract must have their embedded spec updated tohaas_asr.