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

token的时候create_one_batch方法中获取bow和eow的id的时候为什么互换了两个id的位置 #105

Open
ydwasd opened this issue Apr 4, 2023 · 0 comments

Comments

@ydwasd
Copy link

ydwasd commented Apr 4, 2023

bow_id, eow_id, oov_id, pad_id = [char2id.get(key, None) for key in ('', '', oov, pad)]

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

1 participant