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

Use stratified sampling for few-shots #109

Closed
wants to merge 4 commits into from

Conversation

mrorii
Copy link

@mrorii mrorii commented Oct 20, 2023

Overview

This PR does the following:

  • adds an option to use stratified sampling for few-shots, as some of the datasets for tasks may have severe class imbalance (e.g. JNLI).
  • enable stratified sampling for JNLI and JCoLA (note that task versions have been updated, since the metric definition has changed)

@mrorii mrorii self-assigned this Oct 20, 2023
@mrorii mrorii closed this Oct 20, 2023
@mrorii mrorii deleted the stratified-sampling-few-shot branch October 20, 2023 07:56
@mrorii
Copy link
Author

mrorii commented Oct 20, 2023

Replaced by #111

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.

1 participant