cw1521 commited on
Commit
7f9f936
1 Parent(s): 4a2c5b9

Upload build_dataset.py

Browse files
Files changed (1) hide show
  1. build_dataset.py +2 -2
build_dataset.py CHANGED
@@ -104,7 +104,7 @@ class EMBERConfig(datasets.GeneratorBasedBuilder):
104
  datasets.SplitGenerator(
105
  name=datasets.Split.TRAIN,
106
  gen_kwargs={
107
- "filepaths": os.path.join(data_dir, "*_train_*.jsonl"),
108
  "split": "train",
109
  },
110
  ),
@@ -118,7 +118,7 @@ class EMBERConfig(datasets.GeneratorBasedBuilder):
118
  datasets.SplitGenerator(
119
  name=datasets.Split.TEST,
120
  gen_kwargs={
121
- "filepaths": os.path.join(data_dir, "*_test_*.jsonl"),
122
  "split": "test"
123
  },
124
  )
 
104
  datasets.SplitGenerator(
105
  name=datasets.Split.TRAIN,
106
  gen_kwargs={
107
+ "filepaths": os.path.join(data_dir, "ember2018_train_*.jsonl"),
108
  "split": "train",
109
  },
110
  ),
 
118
  datasets.SplitGenerator(
119
  name=datasets.Split.TEST,
120
  gen_kwargs={
121
+ "filepaths": os.path.join(data_dir, "ember2018_test_*.jsonl"),
122
  "split": "test"
123
  },
124
  )