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

update collate mask_value #485

Merged
merged 1 commit into from
Dec 1, 2024
Merged

Conversation

pstjohn
Copy link
Collaborator

@pstjohn pstjohn commented Nov 27, 2024

We use a mask value of -100 elsewhere for these masked tokens, so we should be consistent in the collate function. This will be especially important if we use torchmetrics, which only wants a single value to ignore (rather than all negative values)

@pstjohn
Copy link
Collaborator Author

pstjohn commented Nov 27, 2024

/build-ci

@pstjohn pstjohn enabled auto-merge (squash) November 27, 2024 15:48
Copy link
Collaborator

@jstjohn jstjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice default.

@pstjohn pstjohn force-pushed the pstjohn/collate-mask-value branch from 5e85de1 to 872700f Compare December 1, 2024 14:46
@pstjohn
Copy link
Collaborator Author

pstjohn commented Dec 1, 2024

/build-ci

@pstjohn pstjohn merged commit f781043 into NVIDIA:main Dec 1, 2024
4 checks passed
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.

3 participants