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

Add HF Dataset to PIE Dataset class conversion to methods of Dataset #189

Open
ChristophAlt opened this issue Jul 17, 2022 · 0 comments
Open
Labels

Comments

@ChristophAlt
Copy link
Collaborator

For instance dataset.train_test_split(...) returns a HF Dataset, which then breaks serialization, deserialization logic.
Not sure if there's a better solution but the quick fix would be to wrap the methods (train_test_split, filter, select, sort, etc.) with Dataset.from_hf_dataset(...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants