Keep loading old file even I specify a new file in load_dataset
CONTRIBUTOR
Same here !
2020-07-28T12:53:36Z
https://github.com/huggingface/datasets/issues/444#issuecomment-665021519
https://api.github.com/repos/huggingface/datasets/issues/444
MDEyOklzc3VlQ29tbWVudDY2NTAyMTUxOQ==
https://api.github.com/repos/huggingface/datasets/issues/comments/665021519/reactions
2020-07-28T12:53:36Z
https://api.github.com/repos/huggingface/datasets/issues/comments/665021519
https://avatars.githubusercontent.com/u/25091538?v=4
https://api.github.com/users/ghazi-f/events{/privacy}
https://api.github.com/users/ghazi-f/followers
https://api.github.com/users/ghazi-f/following{/other_user}
https://api.github.com/users/ghazi-f/gists{/gist_id}
https://github.com/ghazi-f
ghazi-f
MDQ6VXNlcjI1MDkxNTM4
https://api.github.com/users/ghazi-f/orgs
https://api.github.com/users/ghazi-f/received_events
https://api.github.com/users/ghazi-f/repos
https://api.github.com/users/ghazi-f/starred{/owner}{/repo}
https://api.github.com/users/ghazi-f/subscriptions
User
https://api.github.com/users/ghazi-f
public
CONTRIBUTOR
This is the only fix I could come up with without touching the repo's code.
```python
from nlp.builder import FORCE_REDOWNLOAD
dataset = load_dataset('csv', data_file='./a.csv', download_mode=FORCE_REDOWNLOAD, version='0.0.1')
```
You'll have to change the version each time you want to load a different csv file.
If you're willing to add a ```print```, you can go to ```nlp.load``` and add ```print(builder_instance.cache_dir)``` right before the ```return ds``` in the ```load_dataset``` method. It'll print the cache folder, and you'll just have to erase it (and then you won't need the change here above).
2020-07-28T13:39:29Z
https://github.com/huggingface/datasets/issues/444#issuecomment-665046227
https://api.github.com/repos/huggingface/datasets/issues/444
MDEyOklzc3VlQ29tbWVudDY2NTA0NjIyNw==
https://api.github.com/repos/huggingface/datasets/issues/comments/665046227/reactions
2020-07-28T13:39:29Z
https://api.github.com/repos/huggingface/datasets/issues/comments/665046227
https://avatars.githubusercontent.com/u/25091538?v=4
https://api.github.com/users/ghazi-f/events{/privacy}
https://api.github.com/users/ghazi-f/followers
https://api.github.com/users/ghazi-f/following{/other_user}
https://api.github.com/users/ghazi-f/gists{/gist_id}
https://github.com/ghazi-f
ghazi-f
MDQ6VXNlcjI1MDkxNTM4
https://api.github.com/users/ghazi-f/orgs
https://api.github.com/users/ghazi-f/received_events
https://api.github.com/users/ghazi-f/repos
https://api.github.com/users/ghazi-f/starred{/owner}{/repo}
https://api.github.com/users/ghazi-f/subscriptions
User
https://api.github.com/users/ghazi-f
public
I used load a file called 'a.csv' by 
```
dataset = load_dataset('csv', data_file='./a.csv')
```
And after a while, I tried to load another csv called 'b.csv'
```
dataset = load_dataset('csv', data_file='./b.csv')
```
However, the new dataset seems to remain the old 'a.csv' and not loading new csv file.

Even worse, after I load a.csv, the load_dataset function keeps loading the 'a.csv' afterward. 

Is this a cache problem?
