Datasets:
Fix: code clean up
Browse files
utcd.py
CHANGED
|
@@ -53,10 +53,8 @@ class UtcdConfig(datasets.BuilderConfig):
|
|
| 53 |
config_fnm = hf_hub_download(
|
| 54 |
repo_id='claritylab/utcd', filename='_utcd_info.json', cache_dir=os.path.dirname(__file__), repo_type='dataset'
|
| 55 |
)
|
| 56 |
-
print('file name: ', config_fnm)
|
| 57 |
with open(config_fnm) as f:
|
| 58 |
_config = json.load(f)
|
| 59 |
-
print(_config)
|
| 60 |
_split2hf_split = dict(train=datasets.Split.TRAIN, eval=datasets.Split.VALIDATION, test=datasets.Split.TEST)
|
| 61 |
|
| 62 |
|
|
|
|
| 53 |
config_fnm = hf_hub_download(
|
| 54 |
repo_id='claritylab/utcd', filename='_utcd_info.json', cache_dir=os.path.dirname(__file__), repo_type='dataset'
|
| 55 |
)
|
|
|
|
| 56 |
with open(config_fnm) as f:
|
| 57 |
_config = json.load(f)
|
|
|
|
| 58 |
_split2hf_split = dict(train=datasets.Split.TRAIN, eval=datasets.Split.VALIDATION, test=datasets.Split.TEST)
|
| 59 |
|
| 60 |
|