'datasets.features' is not a package
MEMBER
Hi @Arij-Aladel,

You are using a very old version of our library `datasets`: 1.8.0
Current version is 2.0.0 (and the previous one was 1.18.4)

Please, try to update `datasets` library and check if the problem persists:
```shell
/env/bin/pip install -U datasets
2022-03-16T08:06:37Z
https://github.com/huggingface/datasets/issues/3920#issuecomment-1068842879
https://api.github.com/repos/huggingface/datasets/issues/3920
IC_kwDODunzps4_tT9_
https://api.github.com/repos/huggingface/datasets/issues/comments/1068842879/reactions
2022-03-16T08:06:37Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1068842879
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
NONE
The problem I can no I have build my project on this version and old version on transformers. I have preprocessed the data again to use it. Thank for your reply
2022-03-16T09:17:12Z
https://github.com/huggingface/datasets/issues/3920#issuecomment-1068901548
https://api.github.com/repos/huggingface/datasets/issues/3920
IC_kwDODunzps4_tiSs
https://api.github.com/repos/huggingface/datasets/issues/comments/1068901548/reactions
2022-03-16T09:17:12Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1068901548
https://avatars.githubusercontent.com/u/68355048?v=4
https://api.github.com/users/Arij-Aladel/events{/privacy}
https://api.github.com/users/Arij-Aladel/followers
https://api.github.com/users/Arij-Aladel/following{/other_user}
https://api.github.com/users/Arij-Aladel/gists{/gist_id}
https://github.com/Arij-Aladel
Arij-Aladel
MDQ6VXNlcjY4MzU1MDQ4
https://api.github.com/users/Arij-Aladel/orgs
https://api.github.com/users/Arij-Aladel/received_events
https://api.github.com/users/Arij-Aladel/repos
https://api.github.com/users/Arij-Aladel/starred{/owner}{/repo}
https://api.github.com/users/Arij-Aladel/subscriptions
User
https://api.github.com/users/Arij-Aladel
public
@albertvillanova 
python 3.9
os: ubuntu 20.04

In conda environment

torch installed by


```/env/bin/pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html```
datasets package is installed by 
```
/env/bin/pip  install datasets==1.8.0

```
During runing the code I have this error 


```
[6]<stderr>:  File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class
[6]<stderr>:    return super().find_class(mod_name, name)
[6]<stderr>:ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package

```
precisely this error appears when 

torch.load('data_file.pt')
```

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 607, in load
    return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
  File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 882, in _load
    result = unpickler.load()
  File "/home/arij/Memory-transformer-with-hierarchical-attention_MLM/env/lib/python3.9/site-packages/torch/serialization.py", line 875, in find_class
    return super().find_class(mod_name, name)
ModuleNotFoundError: No module named 'datasets.features.features'; 'datasets.features' is not a package
```

Why I am getting this error?
