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

Why Does ExpectedMoreSplits Error Occur? #71

Open
cleverchloe opened this issue Oct 17, 2024 · 2 comments
Open

Why Does ExpectedMoreSplits Error Occur? #71

cleverchloe opened this issue Oct 17, 2024 · 2 comments

Comments

@cleverchloe
Copy link

Hi, I'm trying to sparsify my model using your code, but I'm encountering the "ExpectedMoreSplits Error" shown below.

The error arises from this line when loading the training data.

Could you help me understand the reason for this error and suggest how I might fix it?

image
    raise ExpectedMoreSplits(str(set(expected_splits) - set(recorded_splits)))
datasets.utils.info_utils.ExpectedMoreSplits: {'validation'}
@TagoreZhao
Copy link

I followed this post to resolve this issue: https://huggingface.co/datasets/allenai/c4/discussions/7

edit the two load_dataset function to look like this:
image

If this does not work(The error should change), try to install the newest huggingface dataset by running this:
conda install -c huggingface -c conda-forge datasets

@HaroldHuanrongLIU
Copy link

I followed this post to resolve this issue: https://huggingface.co/datasets/allenai/c4/discussions/7

edit the two load_dataset function to look like this: image

If this does not work(The error should change), try to install the newest huggingface dataset by running this: conda install -c huggingface -c conda-forge datasets

Hi, I try ti use your method, but still encounter this problem

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

No branches or pull requests

3 participants