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

Mask_token_id and pad-token_id should be the same or different? #64

Open
bguo018 opened this issue Sep 4, 2024 · 0 comments
Open

Mask_token_id and pad-token_id should be the same or different? #64

bguo018 opened this issue Sep 4, 2024 · 0 comments

Comments

@bguo018
Copy link

bguo018 commented Sep 4, 2024

in pretrain.py lines 61 62:
MASK_TOKEN_ID = CLASS - 1
PAD_TOKEN_ID = CLASS - 1

In above mask_token_id is the same as pad_token_id. They are truly the same or an error?

Thanks

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