Datasets:
Fix: config json path
Browse files
utcd.py
CHANGED
@@ -49,7 +49,7 @@ class UtcdConfig(datasets.BuilderConfig):
|
|
49 |
return f'{prefix}{domain_str}'
|
50 |
|
51 |
|
52 |
-
with open('config.json'
|
53 |
_config = json.load(f)
|
54 |
_split2hf_split = dict(train=datasets.Split.TRAIN, eval=datasets.Split.VALIDATION, test=datasets.Split.TEST)
|
55 |
|
|
|
49 |
return f'{prefix}{domain_str}'
|
50 |
|
51 |
|
52 |
+
with open(os_join(os.path.dirname(__file__), 'config.json')) as f:
|
53 |
_config = json.load(f)
|
54 |
_split2hf_split = dict(train=datasets.Split.TRAIN, eval=datasets.Split.VALIDATION, test=datasets.Split.TEST)
|
55 |
|