ad6398 commited on
Commit
62db0d7
1 Parent(s): 33f532a

Update ldkp10k.py

Browse files
Files changed (1) hide show
  1. ldkp10k.py +1 -1
ldkp10k.py CHANGED
@@ -83,7 +83,7 @@ class LDKP10k(datasets.GeneratorBasedBuilder):
83
  name=datasets.Split.TRAIN,
84
  # These kwargs will be passed to _generate_examples
85
  gen_kwargs={
86
- "filepath": os.path.join(data_dir,'train_'+self.config.name+'.jsonl'),
87
  "split": "train",
88
  },
89
  ),
 
83
  name=datasets.Split.TRAIN,
84
  # These kwargs will be passed to _generate_examples
85
  gen_kwargs={
86
+ "filepath": os.path.join(data_dir['train'],'train_'+self.config.name+'.jsonl'),
87
  "split": "train",
88
  },
89
  ),