Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datasets.utils.info_utils.NonMatchingSplitsSizesError: #1311

Closed
muzi0111 opened this issue Jan 18, 2024 · 1 comment · Fixed by #1314
Closed

datasets.utils.info_utils.NonMatchingSplitsSizesError: #1311

muzi0111 opened this issue Jan 18, 2024 · 1 comment · Fixed by #1314

Comments

@muzi0111
Copy link

when I try use 'python main.py opt-1.3b --wbits 4 --abits 4 --eval_ppl --tasks lambada_openai,piqa,arc_easy,arc_challenge,openbookqa,boolq’ to get the result,it return the error as follows:
datasets.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='test', num_bytes=1305088, num_examples=4358, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='test', num_bytes=5176698, num_examples=17432, shard_lengths=None, dataset_name='parquet')}, {'expected': SplitInfo(name='train', num_bytes=546500949, num_examples=1801350, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=1113622699, num_examples=3676136, shard_lengths=[1650675, 1661350, 364111], dataset_name='parquet')}, {'expected': SplitInfo(name='validation', num_bytes=1159288, num_examples=3760, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='validation', num_bytes=4607450, num_examples=15040, shard_lengths=None, dataset_name='parquet')}]
in all process I only change the dir because of perssion deny,How to solve the error?

@lhoestq
Copy link
Contributor

lhoestq commented Jan 18, 2024

It seems you are using an old version of datasets, can you try to update datasets and try again ?

I just tried and I'm able to load all these tasks without errors with the latest datasets 2.16.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants