We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After training a reward model according to the instructions, I tried to run BoN sampling via the following command:
python src/bon/run_bon_pipeline.py models/rm-pythia-44m_seed0 --seeds 0
However, I got the following traceback: bon.log.
I was able to fix this error using a workaround in this issue. In run_bon_pipeline.py, I changed
run_bon_pipeline.py
gold_labelled_generations = gold_labelled_generations.map(_truncate_answers)
to
gold_labelled_generations = gold_labelled_generations.map( _truncate_answers, writer_batch_size=8, )
It might be good to update the code based on this since others could have the same issue.
The text was updated successfully, but these errors were encountered:
Thanks! That works for me too.
Sorry, something went wrong.
No branches or pull requests
After training a reward model according to the instructions, I tried to run BoN sampling via the following command:
However, I got the following traceback: bon.log.
I was able to fix this error using a workaround in this issue. In
run_bon_pipeline.py
, I changedto
It might be good to update the code based on this since others could have the same issue.
The text was updated successfully, but these errors were encountered: