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

Pass trust_remote_code to fix test_token_classification_parity #633

Closed
wants to merge 1 commit into from

Conversation

albertvillanova
Copy link
Member

Pass trust_remote_code to fix test_token_classification_parity.

After investigation, the test was not passing due to the following error:

ValueError: Loading conll2003 requires you to execute the dataset script in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set the option `trust_remote_code=True` to remove this error.

Fix #632.

@lhoestq
Copy link
Member

lhoestq commented Sep 13, 2024

Maybe we can have the conll2003 dataset in an HF repo than trusting remote code from a user's repo ?

line in huggingface-internal-testing or something like that ?

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.

CI parity test is broken due to FileNotFoundError
2 participants