Update rebel-dataset.py
#5
by
minhdang
- opened
- rebel-dataset.py +2 -2
rebel-dataset.py
CHANGED
@@ -82,9 +82,9 @@ class Rebel(datasets.GeneratorBasedBuilder):
|
|
82 |
data_dir = dl_manager.download_and_extract(_URL)
|
83 |
|
84 |
return [
|
85 |
-
datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": os.path.join(data_dir, "en_train.jsonl")}),
|
86 |
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": os.path.join(data_dir,"en_val.jsonl")}),
|
87 |
-
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": os.path.join(data_dir,"en_test.jsonl")}),
|
88 |
]
|
89 |
|
90 |
def _generate_examples(self, filepath):
|
|
|
82 |
data_dir = dl_manager.download_and_extract(_URL)
|
83 |
|
84 |
return [
|
85 |
+
# datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": os.path.join(data_dir, "en_train.jsonl")}),
|
86 |
datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": os.path.join(data_dir,"en_val.jsonl")}),
|
87 |
+
# datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": os.path.join(data_dir,"en_test.jsonl")}),
|
88 |
]
|
89 |
|
90 |
def _generate_examples(self, filepath):
|