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

Expand Finetuning Dataset Registry to Match One-Shot #1940

Merged
merged 5 commits into from
Jan 8, 2024
Merged

Conversation

Satrat
Copy link
Contributor

@Satrat Satrat commented Jan 5, 2024

Adding 4 new datasets to the TextGenerationDataset registry: gsm8k, ptb, ultrachat_200k, evolcodealpaca. These datasets can now be used for finetuning.

Testing

Added a unit test for each dataset load

Note that evolcodealpaca seems to be broken on the hugging face side, this command fails, so I've skipped the test for now

from datasets import load_dataset

dataset = load_dataset("theblackcat102/evol-codealpaca-v1")

Note: In a future PR, I will deprecate the one-shot specific TransformersDataset, so both finetuning and oneshot use the same registry

Copy link
Member

@rahul-tuli rahul-tuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Satrat Satrat merged commit 8683a06 into main Jan 8, 2024
12 checks passed
@Satrat Satrat deleted the update_ft_datasets branch January 8, 2024 22:50
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.

None yet

3 participants