No matter what combination of packages versions I use, I get ValueError: Invalid pattern: ‘**’ can only be an entire path component
error on the line ----> 4 ds_train = load_dataset(path=ds_name, split=“train”)
tried updating and downgrading fsspec, datasets, huggingface_hub
but nothing seems to work
I used kaggle notebook
4 Likes
Yes same issue from local jupyter notebook. However it is loading from google colab.
1 Like
you can fix this using
pip install -U datasets huggingface_hub fsspec
and restarting your notebook kernel
17 Likes
Works perfectly! Thank you!
1 Like
Worked for me thanks
1 Like
I encountered this problem when I was using Google Colab and jupyter notebook. Your solution worked for me, thx
2 Likes