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

Enable per sample val loss reduction with validation_drop_last=False #8801

Merged
merged 11 commits into from Apr 4, 2024

Conversation

michal2409
Copy link
Collaborator

What does this PR do ?

Enable per sample val loss reduction with validation_drop_last=False.
Fixes seeding for Packed dataset

Collection: [Note which collection this PR will affect]
nlp

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

Jenkins CI

To run Jenkins, a NeMo User with write access must comment jenkins on the PR.

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>
@github-actions github-actions bot added the NLP label Apr 3, 2024
@michal2409
Copy link
Collaborator Author

jenkins

@michal2409
Copy link
Collaborator Author

jenkins

@cuichenx cuichenx self-requested a review April 4, 2024 14:24
@michal2409
Copy link
Collaborator Author

jenkins

@cuichenx cuichenx merged commit 27d8b20 into main Apr 4, 2024
19 of 127 checks passed
@cuichenx cuichenx deleted the mfutrega/loss_drop_last branch April 4, 2024 20:56
minitu pushed a commit to minitu/NeMo that referenced this pull request Apr 4, 2024
…VIDIA#8801)

* Enable per sample val loss reduction with validation_drop_last=False

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>

* Enable per sample val loss reduction with validation_drop_last=False

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update megatron_gpt_model.py

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>

---------

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
suiyoubi pushed a commit that referenced this pull request May 2, 2024
…8801)

* Enable per sample val loss reduction with validation_drop_last=False

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>

* Enable per sample val loss reduction with validation_drop_last=False

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update megatron_gpt_model.py

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>

---------

Signed-off-by: Michal Futrega <mfutrega@nvidia.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Ao Tang <aot@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants