Yukang commited on
Commit
af2b3da
1 Parent(s): 01cf774

Update Pile-subset.py

Browse files
Files changed (1) hide show
  1. Pile-subset.py +1 -1
Pile-subset.py CHANGED
@@ -195,7 +195,7 @@ class ThePile(datasets.GeneratorBasedBuilder):
195
  datasets.SplitGenerator(
196
  name=split,
197
  gen_kwargs={
198
- "files": data_dir[split],
199
  },
200
  )
201
  for split in [datasets.Split.TRAIN, datasets.Split.VALIDATION, datasets.Split.TEST]
 
195
  datasets.SplitGenerator(
196
  name=split,
197
  gen_kwargs={
198
+ "files": data_dir,
199
  },
200
  )
201
  for split in [datasets.Split.TRAIN, datasets.Split.VALIDATION, datasets.Split.TEST]