Skip to content

Conversation

@changjonathanc
Copy link
Collaborator

@changjonathanc changjonathanc 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 <pommer.paul@gmail.com>
Co-authored-by: Jonathan Chang <31893406+cccntu@users.noreply.github.com>
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.

3 participants