how to fix DatasetGenerationError?

#10
by speiqin - opened
ds = load_dataset("bigcode/starcoderdata")

There is a DatasetGenerationError: An error occurred while generating the dataset
More details is:

ValueError: Couldn't cast
max_stars_repo_path: string
max_stars_repo_name: string
max_stars_count: int64
id: string
content: string
-- schema metadata --
huggingface: '{"info": {"features": {"max_stars_repo_path": {"dtype": "st' + 241
to
{'id': Value(dtype='string', id=None), 'content': Value(dtype='string', id=None)}
because column names don't match

How can I fix it?

Hi, do you find a fix for this? I have the same error.

BigCode org

Hi, see this answer https://huggingface.co/bigcode/starcoder/discussions/92#651e8086b6b55f8e30066468 you shouldn't load all subsets once as explained in the readme

loubnabnl changed discussion status to closed

Sign up or log in to comment