-
Notifications
You must be signed in to change notification settings - Fork 11
debug code (WIP) #177
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
base: master
Are you sure you want to change the base?
debug code (WIP) #177
Conversation
bsmetadata/evaluation.py
Outdated
| normal_ppl = get_ppl(normal_batch, save_data=args.save_data, idx=idx) | ||
| # total_normal_ppl += float(normal_ppl) * normal_example_len | ||
| metadata_ppl = get_ppl(metadata_batch, save_data=args.save_data, idx=idx) | ||
| # total_metadata_ppl += float(metadata_ppl) * metadata_example_len |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you comment it out? Same above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, I don't remember. I think I just wanted to see the ppl of the first example, but I don't know why I commented it out.
* Update evaluation.py * Add prompting baseline * fixed ppl * Update metadata_utils.py * Update evaluation.py --------- Co-authored-by: Paul Pommer <pommer.paul@gmail.com> Co-authored-by: Jonathan Chang <31893406+cccntu@users.noreply.github.com>
this PR is for visibility only, it's not intended to be merged.