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

ReFT + DPO Tutorial #76

Merged
merged 11 commits into from
May 5, 2024
Merged

ReFT + DPO Tutorial #76

merged 11 commits into from
May 5, 2024

Conversation

AmirZur
Copy link
Collaborator

@AmirZur AmirZur commented May 5, 2024

Introduced tutorial for ReFT + DPO in examples/dpo folder.

Files:

  • examples/dpo/dpo_trainer.py - adapting DPOTrainer from trl library to ReFT models.
  • examples/dpo/dpo.ipynb - tutorial notebook for ReFT + DPO on TruthfulQA dataset.
  • examples/dpo/README.md - overview file for tutorial.

@frankaging frankaging merged commit 56bd279 into main May 5, 2024
@frankaging
Copy link
Collaborator

Thanks!

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