Added validation split.
Browse files- ERRnews.py +3 -3
ERRnews.py
CHANGED
@@ -101,9 +101,9 @@ class ERRNews(datasets.GeneratorBasedBuilder):
|
|
101 |
|
102 |
def _split_generators(self, dl_manager):
|
103 |
"""Returns SplitGenerators."""
|
104 |
-
train = "train.csv"
|
105 |
-
test = "test.csv"
|
106 |
-
val = "val.csv"
|
107 |
|
108 |
data_archive = dl_manager.download_and_extract(self.config.data_url)
|
109 |
|
|
|
101 |
|
102 |
def _split_generators(self, dl_manager):
|
103 |
"""Returns SplitGenerators."""
|
104 |
+
train = "data/train.csv"
|
105 |
+
test = "data/test.csv"
|
106 |
+
val = "data/val.csv"
|
107 |
|
108 |
data_archive = dl_manager.download_and_extract(self.config.data_url)
|
109 |
|