Skip to content

Preserve more context after endpointing in transducer #2061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 2, 2025

Conversation

vsd-vector
Copy link
Contributor

@vsd-vector vsd-vector commented Mar 27, 2025

This PR proposes to modify Reset() and save all active hypotheses (not only one most probable) as context for decoding after endpointing. This should mitigate deletion issues after endpointing.

Tested on file from #1629 and seems to work perfectly.

Copy link
Collaborator

@csukuangfj csukuangfj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

@csukuangfj csukuangfj merged commit 18a6ed5 into k2-fsa:master Apr 2, 2025
180 of 217 checks passed
@vsd-vector vsd-vector deleted the better_context_after_ep branch April 3, 2025 14:41
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.

6 participants