Update ldkp10k.py
Browse files- 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
|
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 |
),
|