-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Getting Value Error while loading a dataset.. #5388
Comments
Hi! I can't reproduce this error locally (Mac) or in Colab. What version of |
Hi mariosasko, the datasets version is '2.8.0'. |
@valmetisrinivas you get that error because you imported Please, restart your Colab runtime and execute the install commands before importing !pip install datasets
!pip install zstandard
from datasets import load_dataset
ds = load_dataset(
"json",
data_files="https://the-eye.eu/public/AI/pile_preliminary_components/FreeLaw_Opinions.jsonl.zst",
split="train",
streaming=True,
)
next(iter(ds)) |
I guess that was the problem, importing datasets before the installation of zstandard. Thank you for the feedback. |
Describe the bug
I am trying to load a dataset using Hugging Face Datasets load_dataset method. I am getting the value error as show below. Can someone help with this? I am using Windows laptop and Google Colab notebook.
Steps to reproduce the bug
Expected behavior
I expect an iterable object as the output 'lds' to be created.
Environment info
Windows laptop with Google Colab notebook
The text was updated successfully, but these errors were encountered: