The URL for the validation set was previously pointed toward to the training set. Fixed to correct URL.
Browse filesSee here for the list of URLs: https://zenodo.org/record/1489920
Previously both validation and training pointed to the same training url. Corrected to use the right URL.
hyperpartisan_news_detection.py
CHANGED
|
@@ -107,8 +107,8 @@ class HyperpartisanNewsDetection(datasets.GeneratorBasedBuilder):
|
|
| 107 |
}
|
| 108 |
if self.config.name == "bypublisher":
|
| 109 |
urls[datasets.Split.VALIDATION] = {
|
| 110 |
-
"articles_file": _URL_BASE + "articles-
|
| 111 |
-
"labels_file": _URL_BASE + "ground-truth-
|
| 112 |
}
|
| 113 |
|
| 114 |
data_dir = {}
|
|
|
|
| 107 |
}
|
| 108 |
if self.config.name == "bypublisher":
|
| 109 |
urls[datasets.Split.VALIDATION] = {
|
| 110 |
+
"articles_file": _URL_BASE + "articles-validation-" + self.config.name + "-20181122.zip?download=1",
|
| 111 |
+
"labels_file": _URL_BASE + "ground-truth-validation-" + self.config.name + "-20181122.zip?download=1",
|
| 112 |
}
|
| 113 |
|
| 114 |
data_dir = {}
|