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

debug code (WIP) #177

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

debug code (WIP) #177

wants to merge 13 commits into from

Conversation

cccntu
Copy link
Collaborator

@cccntu cccntu commented Jan 20, 2023

this PR is for visibility only, it's not intended to be merged.

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
Copy link
Contributor

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

Copy link
Collaborator Author

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.

Muennighoff and others added 2 commits March 31, 2023 10:45
* Update evaluation.py

* Add prompting baseline

* fixed ppl

* Update metadata_utils.py

* Update evaluation.py

---------

Co-authored-by: Paul Pommer <[email protected]>
Co-authored-by: Jonathan Chang <[email protected]>
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