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

add mask for pad token #14

Merged
merged 1 commit into from
Jun 7, 2023
Merged

add mask for pad token #14

merged 1 commit into from
Jun 7, 2023

Conversation

floatingbigcat
Copy link
Collaborator

mask the pad token to 0.0 in the loss_mask.

@floatingbigcat floatingbigcat mentioned this pull request Jun 7, 2023
@kshitijkg kshitijkg changed the base branch from magma to fix-tokenizer June 7, 2023 16:45
@kshitijkg kshitijkg changed the base branch from fix-tokenizer to magma June 7, 2023 16:45
@kshitijkg kshitijkg merged commit 48ceea8 into magma Jun 7, 2023
@kshitijkg kshitijkg deleted the fix-maskpad branch September 22, 2023 13:45
@kshitijkg kshitijkg restored the fix-maskpad branch September 22, 2023 13:46
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.

None yet

2 participants