Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
StefanH commited on
Commit
f2dc51d
1 Parent(s): a5dbb5f

Fix: config json path

Browse files
Files changed (1) hide show
  1. utcd.py +1 -1
utcd.py CHANGED
@@ -49,7 +49,7 @@ class UtcdConfig(datasets.BuilderConfig):
49
  return f'{prefix}{domain_str}'
50
 
51
 
52
- with open('config.json', 'r') as f:
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