load_dataset from local squad.py, raise error: TypeError: 'NoneType' object is not callable 
{'login': 'xixiaoyao', 'id': 24541791, 'node_id': 'MDQ6VXNlcjI0NTQxNzkx', 'avatar_url': 'https://avatars.githubusercontent.com/u/24541791?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/xixiaoyao', 'html_url': 'https://github.com/xixiaoyao', 'followers_url': 'https://api.github.com/users/xixiaoyao/followers', 'following_url': 'https://api.github.com/users/xixiaoyao/following{/other_user}', 'gists_url': 'https://api.github.com/users/xixiaoyao/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/xixiaoyao/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/xixiaoyao/subscriptions', 'organizations_url': 'https://api.github.com/users/xixiaoyao/orgs', 'repos_url': 'https://api.github.com/users/xixiaoyao/repos', 'events_url': 'https://api.github.com/users/xixiaoyao/events{/privacy}', 'received_events_url': 'https://api.github.com/users/xixiaoyao/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Hi !
Thanks for reporting.
It looks like no object inherits from `datasets.GeneratorBasedBuilder` (or more generally from `datasets.DatasetBuilder`) in your script.

Could you check that there exist at least one dataset builder class ? Hi @xixiaoyao did you manage to fix your issue ? No activity, closing

version: 1.0.2

```
train_dataset  = datasets.load_dataset('squad') 
```

The above code can works. However, when I download the squad.py from your server, and saved as `my_squad.py` to local. I run followings raise errors.
```
train_dataset  = datasets.load_dataset('./my_squad.py')                                                                                                
```
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-28-25a84b4d1581> in <module>
----> 1 train_dataset  = nlp.load_dataset('./my_squad.py')

/opt/conda/lib/python3.7/site-packages/datasets/load.py in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, save_infos, script_version, **config_kwargs)
    602         hash=hash,
    603         features=features,
--> 604         **config_kwargs,
    605     )
    606 

TypeError: 'NoneType' object is not callable

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/664/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}