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 trust_remote_code=True to load_datasets() for math and legalbench #2597

Merged
merged 1 commit into from
May 2, 2024

Conversation

yifanmai
Copy link
Collaborator

@yifanmai yifanmai commented May 1, 2024

This is required to avoid a breakage in the future:

FutureWarning: The repository for nguha/legalbench contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at https://hf.co/datasets/nguha/legalbench
You can avoid this message in future by passing the argument `trust_remote_code=True`.
Passing `trust_remote_code=True` will be mandatory to load this dataset from the next major release of `datasets`.

Copy link
Collaborator

@neelguha neelguha left a comment

Choose a reason for hiding this comment

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

lgtm!

@yifanmai yifanmai merged commit 9ea45ca into main May 2, 2024
6 checks passed
@yifanmai yifanmai deleted the yifanmai/fix-trust-remote-code branch May 2, 2024 16:04
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.

2 participants