Datasets:

Modalities:
Text
Libraries:
Datasets
ad6398 commited on
Commit
a564cc8
1 Parent(s): 6efa868

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": data_dir['train'],
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_'+self.config.name+'.jsonl')
87
  "split": "train",
88
  },
89
  ),