Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/parakeet.js
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ export class ParakeetModel {
_logitsTensor?.dispose?.();

if (maxId !== this.blankId) {
// CRITICAL FIX: Only update decoder state on non-blank token emission
// CRITICAL: Only update decoder state on non-blank token emission
// This matches the Python reference in onnx-asr/src/onnx_asr/asr.py line 212
this._disposeDecoderState(decoderState, newState); // free old state tensors
decoderState = newState;
Expand Down
Loading