Closed JPonsa closed 6 months ago
I couldn't reproduce the issue on my side on MacOS, I guess the issue comes from the recent fsspec
on Windows.
Can you try downgrading to fsspec==2023.9.2
for now ? It would also be great to investigate this and see if we need a fix in datasets
or fsspec
I had the same issue!
Downgrading to fsspec from 2023.10.0 to 2023.9.2 solved it for me.
(env: python 3.11.7, datasets version: 2.15.0, Windows 10 22H2, Build 19045.4170)
Thanks a lot!
Ubuntu 20.04 had the same issue python 3.9
File "/home/delight-gpu/Workspace2/azuryl/FLAP/main.py", line 112, in
on ubuntu you just need to have the latest datasets
and fsspec
pip install -U datasets fsspec
The issue was caused by an incompatibility between the versions of datasets
, huggingface-hub
and fsspec
.
The issue was fixed in:
@albertvillanova, thank you for this solution. I encountered the same issue and had to use:
conda install -c conda-forge huggingface_hub=0.21.2 datasets=2.19.1
Cheers
Cheers!
Describe the bug
ValueError: Invalid pattern: '**' can only be an entire path component when loading any dataset
Steps to reproduce the bug
import datasets ds = datasets.load_dataset("TokenBender/code_instructions_122k_alpaca_style")
Expected behavior
loading the dataset successfully
Environment info
datasets
version: 2.18.0huggingface_hub
version: 0.20.3fsspec
version: 2023.12.2