Update ldkp3k.py
Browse files
ldkp3k.py
CHANGED
@@ -49,7 +49,7 @@ class LDKP3k(datasets.GeneratorBasedBuilder):
|
|
49 |
|
50 |
def _info(self):
|
51 |
|
52 |
-
_URLS['train']=[os.path.join('
|
53 |
|
54 |
|
55 |
features = datasets.Features(
|
49 |
|
50 |
def _info(self):
|
51 |
|
52 |
+
_URLS['train']=[os.path.join('data/'+self.config.name,filename) for filename in os.listdir('data/'+self.config.name+"/") if filename.startswith('train') and filename.endswith('.jsonl')]
|
53 |
|
54 |
|
55 |
features = datasets.Features(
|