NonMatchingSplitsSizesError error when reading the IMDB dataset
MEMBER
I just tried on my side and I didn't encounter your problem.
Apparently the script doesn't generate all the examples on your side.

Can you provide the version of `nlp` you're using ?
Can you try to clear your cache and re-run the code ?
2020-06-08T13:07:40Z
https://github.com/huggingface/datasets/issues/252#issuecomment-640591506
https://api.github.com/repos/huggingface/datasets/issues/252
MDEyOklzc3VlQ29tbWVudDY0MDU5MTUwNg==
https://api.github.com/repos/huggingface/datasets/issues/comments/640591506/reactions
2020-06-08T14:02:38Z
https://api.github.com/repos/huggingface/datasets/issues/comments/640591506
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
I updated it, that was it, thanks!
2020-06-08T14:01:26Z
https://github.com/huggingface/datasets/issues/252#issuecomment-640625750
https://api.github.com/repos/huggingface/datasets/issues/252
MDEyOklzc3VlQ29tbWVudDY0MDYyNTc1MA==
https://api.github.com/repos/huggingface/datasets/issues/comments/640625750/reactions
2020-06-08T14:01:26Z
https://api.github.com/repos/huggingface/datasets/issues/comments/640625750
https://avatars.githubusercontent.com/u/17463361?v=4
https://api.github.com/users/antmarakis/events{/privacy}
https://api.github.com/users/antmarakis/followers
https://api.github.com/users/antmarakis/following{/other_user}
https://api.github.com/users/antmarakis/gists{/gist_id}
https://github.com/antmarakis
antmarakis
MDQ6VXNlcjE3NDYzMzYx
https://api.github.com/users/antmarakis/orgs
https://api.github.com/users/antmarakis/received_events
https://api.github.com/users/antmarakis/repos
https://api.github.com/users/antmarakis/starred{/owner}{/repo}
https://api.github.com/users/antmarakis/subscriptions
User
https://api.github.com/users/antmarakis
public
NONE
Hello, I am facing the same problem... how do you clear the huggingface cache?
2021-08-09T19:58:45Z
https://github.com/huggingface/datasets/issues/252#issuecomment-895499814
https://api.github.com/repos/huggingface/datasets/issues/252
IC_kwDODunzps41YD4m
https://api.github.com/repos/huggingface/datasets/issues/comments/895499814/reactions
2021-08-09T19:58:45Z
https://api.github.com/repos/huggingface/datasets/issues/comments/895499814
https://avatars.githubusercontent.com/u/75277645?v=4
https://api.github.com/users/alauer67/events{/privacy}
https://api.github.com/users/alauer67/followers
https://api.github.com/users/alauer67/following{/other_user}
https://api.github.com/users/alauer67/gists{/gist_id}
https://github.com/alauer67
alauer67
MDQ6VXNlcjc1Mjc3NjQ1
https://api.github.com/users/alauer67/orgs
https://api.github.com/users/alauer67/received_events
https://api.github.com/users/alauer67/repos
https://api.github.com/users/alauer67/starred{/owner}{/repo}
https://api.github.com/users/alauer67/subscriptions
User
https://api.github.com/users/alauer67
public
MEMBER
Hi ! The cache is at ~/.cache/huggingface
You can just delete this folder if needed :)
2021-08-27T15:20:58Z
https://github.com/huggingface/datasets/issues/252#issuecomment-907281183
https://api.github.com/repos/huggingface/datasets/issues/252
IC_kwDODunzps42FAMf
https://api.github.com/repos/huggingface/datasets/issues/comments/907281183/reactions
2021-08-27T15:20:58Z
https://api.github.com/repos/huggingface/datasets/issues/comments/907281183
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
Hi!

I am trying to load the `imdb` dataset with this line:

`dataset = nlp.load_dataset('imdb', data_dir='/A/PATH', cache_dir='/A/PATH')`

but I am getting the following error:

```
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/mounts/Users/cisintern/antmarakis/anaconda3/lib/python3.7/site-packages/nlp/load.py", line 517, in load_dataset
    save_infos=save_infos,
  File "/mounts/Users/cisintern/antmarakis/anaconda3/lib/python3.7/site-packages/nlp/builder.py", line 363, in download_and_prepare
    dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
  File "/mounts/Users/cisintern/antmarakis/anaconda3/lib/python3.7/site-packages/nlp/builder.py", line 421, in _download_and_prepare
    verify_splits(self.info.splits, split_dict)
  File "/mounts/Users/cisintern/antmarakis/anaconda3/lib/python3.7/site-packages/nlp/utils/info_utils.py", line 70, in verify_splits
    raise NonMatchingSplitsSizesError(str(bad_splits))
nlp.utils.info_utils.NonMatchingSplitsSizesError: [{'expected': SplitInfo(name='train', num_bytes=33442202, num_examples=25000, dataset_name='imdb'), 'recorded': SplitInfo(name='train', num_bytes=5929447, num_examples=4537, dataset_name='imdb')}, {'expected': SplitInfo(name='unsupervised', num_bytes=67125548, num_examples=50000, dataset_name='imdb'), 'recorded': SplitInfo(name='unsupervised', num_bytes=0, num_examples=0, dataset_name='imdb')}]
```

Am I overlooking something? Thanks!