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

Load only hard examples on QuALITY #4

Open
yulonglin opened this issue Dec 16, 2022 · 2 comments
Open

Load only hard examples on QuALITY #4

yulonglin opened this issue Dec 16, 2022 · 2 comments

Comments

@yulonglin
Copy link

Is there a way to load only the hard examples for QuALITY?

@yulonglin
Copy link
Author

Looking through the HuggingFace datasets repo, it seems maybe I could branch off yours and add a "quality_hard" dataset with a QualityConfig that has hard_only=True: https://huggingface.co/datasets/tau/scrolls/blob/main/scrolls.py#L214

But parsing the QuALITY jsonl files I don't see an is_hard attribute/column as is also suggested in your code, so I may be way off the mark.

@UriSha
Copy link
Contributor

UriSha commented Dec 21, 2022

Hi,

You are not off the mark at all.

We do evaluate the hard subset of QuALITY (as shown in the leaderboard), but as you noticed we don't allow the user/model to know if an example is from the hard subset or not (our jsonl files don't hold this information).

However, I am pretty sure that you can get this information from the original QuALITY dataset if you want.

I hope that helps!

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