pip install -U datasets
This error stems from a breaking change in fsspec. It has been fixed in the latest datasets release (2.14.6). Updating the installation with pip install -U datasets should fix the issue.
这个错误源于fsspec中的一个重大变化。它已经在最新的datasets发布版(2.14.6)中修复。使用pip install -U datasets更新安装应该可以解决这个问题。
git link : https://github.com/huggingface/datasets/issues/6352