ValueError: Invalid pattern: '**' can only be an entire path component

#2
by jonathanjordan21 - opened

I get an error when trying to download the data.

from datasets import load_dataset

data = load_dataset('defog/wikisql_codellama_1000')
ValueError: Invalid pattern: '**' can only be an entire path component

Hi @jonathanjordan21 I tried running the commands above and it worked for me. Would you mind sharing what environment you ran it on and a reproducible example?

Hi @jp-defog , thanks for the response. Apparently, it was a bug in datasets version 2.1.0. It works after I updated the datasets to 2.1.1

jonathanjordan21 changed discussion status to closed

Sign up or log in to comment