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

Fixing sequence_id =-1 bug, adding tests #1324

Conversation

ShashankMosaicML
Copy link
Contributor

If there is padding in the input sequences, the LossPerpVLen metric throws an error. This PR fixes it. Thanks @dakinggg for reporting this and helping debug.

@ShashankMosaicML ShashankMosaicML marked this pull request as ready for review July 1, 2024 02:22
@ShashankMosaicML ShashankMosaicML requested a review from a team as a code owner July 1, 2024 02:22
@ShashankMosaicML ShashankMosaicML merged commit f398db1 into mosaicml:main Jul 1, 2024
9 checks passed
@ShashankMosaicML ShashankMosaicML deleted the shashank/fix_loss_v_len_callback branch July 1, 2024 18:37
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.

2 participants