Skip to content
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

predict EOS(CODEBOOK_PAD_TOKEN_ID) in fast transformer. #876

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bfs18
Copy link
Contributor

@bfs18 bfs18 commented Feb 8, 2025

This modification increases the likelihood of the model predicting EOS at appropriate points, improving generation termination. Since only padded acoustic tokens are 0 in labels, 0s can be repurposed as acoustic EOS without introducing new tokens, ensuring compatibility with existing trained models.

Is this PR adding new feature or fix a BUG?

Fix BUG.

Is this pull request related to any issue? If yes, please link the issue.

No

…tion increases the likelihood of the model predicting EOS at appropriate points, improving generation termination.
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.

2 participants