-
Notifications
You must be signed in to change notification settings - Fork 3
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
error from load_dataset() #8
Comments
@jinz2014 Hi, could you plz try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Can you reproduce the error ?
/home/user/miniconda3/envs/trustllm/lib/python3.9/site-packages/datasets/load.py:1486: FutureWarning: The repository for McGill-NLP/feedbackQA contains custom code which must be executed to correctly load the dataset. You can inspect the repository content at https://hf.co/datasets/McGill-NLP/feedbackQA
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 ofdatasets
.warnings.warn(
/home/user/.cache/huggingface/datasets/downloads/8c4cae661a2aae10dee7ff50c9a5c5cd83aff73715f7520ecaeab3cf555dd2f2/feedback_test.json
Generating train split: 0%| | 0/5660 [00:00<?, ? examples/s]
Traceback (most recent call last):
File "/home/user/miniconda3/envs/trustllm/lib/python3.9/site-packages/datasets/builder.py", line 1748, in _prepare_split_single
for key, record in generator:
File "/home/user/.cache/huggingface/modules/datasets_modules/datasets/McGill-NLP--feedbackQA/20c8f938f417c88303bb7041cea9554c1d14667686d7d7c5dda83dd4f39e5dc4/feedbackQA.py", line 109, in _generate_examples
with open(filepath, encoding="utf-8") as f:
File "/home/user/miniconda3/envs/trustllm/lib/python3.9/site-packages/datasets/streaming.py", line 75, in wrapper
return function(*args, download_config=download_config, **kwargs)
File "/home/user/miniconda3/envs/trustllm/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 1219, in xopen
return open(main_hop, mode, *args, **kwargs)
NotADirectoryError: [Errno 20] Not a directory: '/home/user/.cache/huggingface/datasets/downloads/8c4cae661a2aae10dee7ff50c9a5c5cd83aff73715f7520ecaeab3cf555dd2f2/feedback_train.json'
The text was updated successfully, but these errors were encountered: