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

About blankIdx #21

Closed
anhtuanluu opened this issue Dec 31, 2020 · 2 comments
Closed

About blankIdx #21

anhtuanluu opened this issue Dec 31, 2020 · 2 comments

Comments

@anhtuanluu
Copy link

I have a question
How can I use blankIdx value is zero?
Thank you so much in advance

@githubharald
Copy link
Owner

with the current implementation, there is no option for this, blank is always assumed to be the last index.
So either move the blank in the input tensor to the last position before feeding it into the decoder, or change the code to handle the blank at index zero.

@githubharald
Copy link
Owner

closing because of inactivity

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

No branches or pull requests

2 participants