Datasets:
Upload build_dataset.py
Browse files- 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, "
|
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, "
|
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 |
)
|