orsharir commited on
Commit
563edc8
1 Parent(s): e990675

The URL for the validation set was previously pointed toward to the training set. Fixed to correct URL.

Browse files

See 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.

Files changed (1) hide show
  1. hyperpartisan_news_detection.py +2 -2
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-training-" + self.config.name + "-20181122.zip?download=1",
111
- "labels_file": _URL_BASE + "ground-truth-training-" + self.config.name + "-20181122.zip?download=1",
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 = {}