nlp re-creates already-there caches when using a script, but not within a shell
MEMBER
Couln't reproduce on my side :/ 
let me know if you manage to reproduce on another env (colab for example)
2020-09-07T12:33:49Z
https://github.com/huggingface/datasets/issues/580#issuecomment-688295627
https://api.github.com/repos/huggingface/datasets/issues/580
MDEyOklzc3VlQ29tbWVudDY4ODI5NTYyNw==
https://api.github.com/repos/huggingface/datasets/issues/comments/688295627/reactions
2020-09-07T12:33:49Z
https://api.github.com/repos/huggingface/datasets/issues/comments/688295627
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
CONTRIBUTOR
Fixed with a clean re-install!
2020-09-07T15:19:08Z
https://github.com/huggingface/datasets/issues/580#issuecomment-688388898
https://api.github.com/repos/huggingface/datasets/issues/580
MDEyOklzc3VlQ29tbWVudDY4ODM4ODg5OA==
https://api.github.com/repos/huggingface/datasets/issues/comments/688388898/reactions
2020-09-07T15:19:08Z
https://api.github.com/repos/huggingface/datasets/issues/comments/688388898
https://avatars.githubusercontent.com/u/26709476?v=4
https://api.github.com/users/TevenLeScao/events{/privacy}
https://api.github.com/users/TevenLeScao/followers
https://api.github.com/users/TevenLeScao/following{/other_user}
https://api.github.com/users/TevenLeScao/gists{/gist_id}
https://github.com/TevenLeScao
TevenLeScao
MDQ6VXNlcjI2NzA5NDc2
https://api.github.com/users/TevenLeScao/orgs
https://api.github.com/users/TevenLeScao/received_events
https://api.github.com/users/TevenLeScao/repos
https://api.github.com/users/TevenLeScao/starred{/owner}{/repo}
https://api.github.com/users/TevenLeScao/subscriptions
User
https://api.github.com/users/TevenLeScao
public
`nlp` keeps creating new caches for the same file when launching `filter` from a script, and behaves correctly from within the shell.

Example: try running

```
import nlp

hans_easy_data = nlp.load_dataset('hans', split="validation").filter(lambda x: x['label'] == 0)
hans_hard_data = nlp.load_dataset('hans', split="validation").filter(lambda x: x['label'] == 1)
```

twice. If launched from a `file.py` script, the cache will be re-created the second time. If launched as 3 shell/`ipython` commands, `nlp` will correctly re-use the cache.
As observed with @lhoestq.