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 NeMo-Run DPO example #381

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add NeMo-Run DPO example #381

wants to merge 1 commit into from

Conversation

hemildesai
Copy link
Collaborator

What does this PR do ?

Adds the same DPO example in https://docs.nvidia.com/nemo-framework/user-guide/latest/modelalignment/dpo.html but using NeMo-Run

Changelog

  • Please update the CHANGELOG.md under next version with high level changes in this PR.

Usage

  • The example can be run using python examples/nemo_run/dpo.py
# Add a code snippet demonstrating how to use this 

Before your PR is "Ready for review"

Pre checks:

Checklist when contributing a new algorithm

  • Does the trainer resume and restore model state all states?
  • Does the trainer support all parallelism techniques(PP, TP, DP)?
  • Does the trainer support max_steps=-1 and validation?
  • Does the trainer only call APIs defined in alignable_interface.py?
  • Does the trainer have proper logging?

Additional Information

  • Related to # (issue)

Signed-off-by: Hemil Desai <[email protected]>
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.

1 participant