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

About dataset generation #1

Open
ratthachat opened this issue Nov 6, 2024 · 2 comments
Open

About dataset generation #1

ratthachat opened this issue Nov 6, 2024 · 2 comments

Comments

@ratthachat
Copy link

Hi, thanks so much for this great work!

I may be missing someting but in the training pipeline, I could not find any codes on generate_dataset, generate_GPT_MistralRS and the temp dataset.

trainer =PRefLexORDPOTrainer(
    ...
    train_dataset=temp,                        # Temporary training dataset
    ...
    generate_dataset=generate_dataset,
    generate=generate_GPT_MistralRS,          # Function for generating datasets
    ...)

It would be great if your repository will release or clarify the details on this dynamic data generation mentioned in the paper later.

Thanks so much again,
Jung

@lamm-mit
Copy link
Owner

lamm-mit commented Nov 9, 2024

I added a complete training script for both training phases, Phase I and II, to show how this can be constructed. You can use it to adapt to your use case.

Please see here: https://github.com/lamm-mit/PRefLexOR/blob/main/PRefLexOR_train_Phase-I-and-II.ipynb

@ratthachat
Copy link
Author

Thanks so much! It's really helpful!

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

No branches or pull requests

2 participants