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

Couldn't find a directory or a dataset named 'story_cloze' #492

Closed
bwang482 opened this issue Oct 3, 2021 · 4 comments
Closed

Couldn't find a directory or a dataset named 'story_cloze' #492

bwang482 opened this issue Oct 3, 2021 · 4 comments

Comments

@bwang482
Copy link
Contributor

bwang482 commented Oct 3, 2021

MacOS Big Sur 11.6
Python 3.7.11
Streamlit, version 0.88.0

Earlier I had issue #489 with the interface and I think it has been resolved now following #411

Now I get this error below while downloading:

FileNotFoundError: Couldn't find a directory or a dataset named 'story_cloze'. It doesn't exist locally at /Users/bowang/Code/promptsource/story_cloze or remotely at https://raw.githubusercontent.com/huggingface/datasets/1.12.1/datasets/story_cloze/story_cloze.py
Traceback:
File "/Users/bowang/opt/anaconda3/envs/hug/lib/python3.7/site-packages/streamlit/script_runner.py", line 354, in _run_script
    exec(code, module.__dict__)
File "/Users/bowang/Code/promptsource/promptsource/promptsource.py", line 120, in <module>
    infos = get_dataset_infos(dataset_name)
File "/Users/bowang/opt/anaconda3/envs/hug/lib/python3.7/site-packages/datasets/inspect.py", line 113, in get_dataset_infos
    module_path, _ = prepare_module(path)
File "/Users/bowang/opt/anaconda3/envs/hug/lib/python3.7/site-packages/datasets/load.py", line 528, in prepare_module
    f"Couldn't find a directory or a {resource_type} named '{path}'. "

Is this a known issue? Do I need to manually add something?

@tianjianjiang
Copy link
Contributor

Is this a known issue? Do I need to manually add something?

I'm not sure whether it is a well-known issue, but my guess is that you will have to manually download it because the remote feature isn't done according to huggingface/datasets#2907

+CC @zaidalyafeai

@bwang482
Copy link
Contributor Author

bwang482 commented Oct 4, 2021

Thanks @tianjianjiang

I am not sure I can download it since it's not in HF datasets. Why is it included in promptsource then? @zaidalyafeai

@zaidalyafeai
Copy link
Contributor

@bwang482, story_cloze was important for evaluation so we had to include it even though it is not originally in hfds (there is a PR for it). It is a special case because it is not public (acquired through email).

@tianjianjiang
Copy link
Contributor

tianjianjiang commented Oct 5, 2021

@bwang482:
As @zaidalyafeai aforementioned, story_cloze is crucial for the paper and I suppose that info was only announced during the meeting and probably somewhere in the slack channel.

IMO it is safe to ignore hat error for now, especially when the rest of streamlit should work, iirc.

@awebson awebson closed this as completed Oct 7, 2021
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

No branches or pull requests

4 participants