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

two more datasets #2301

Merged

Conversation

mikegarts
Copy link
Contributor

No description provided.

return train, validation


def load_open_ai_summarize_from_feedback():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe it's better to just make the split manually here and in load_open_ai_summarize_from_feedback ?
I'm not sure what's best, but the default split seems to be not balanced in terms of sizes...

assert split in ("train", "test")
if sep_token is None:
sep_token = " . "

if mode == "rm":
Copy link
Collaborator

Choose a reason for hiding this comment

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

This are changes in the reward/instructor folder. They are not used for the trainer_rm code. I suggest to remove these changes.

Copy link
Collaborator

@andreaskoepf andreaskoepf left a comment

Choose a reason for hiding this comment

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

thank!

@andreaskoepf andreaskoepf merged commit 9f2d19b into LAION-AI:main Apr 3, 2023
theblackcat102 pushed a commit that referenced this pull request Apr 4, 2023
Reverts unrelated changes in `model/reward/instructor/rank_datasets.py`
`AnthropicRLHF` class introduced by #2301.
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.

None yet

2 participants