albertvillanova HF staff commited on
Commit
cc00451
1 Parent(s): a117afa

Fix source data URL (#4)

Browse files

- Fix source data URL (f7c5a8c08d74c570422947bbf29ef2065114d889)

Files changed (1) hide show
  1. irc_disentangle.py +2 -2
irc_disentangle.py CHANGED
@@ -63,7 +63,7 @@ _HOMEPAGE = "https://jkk.name/irc-disentanglement/"
63
 
64
  _LICENSE = "Creative Commons Attribution 4.0 International Public License"
65
 
66
- _URL = "https://github.com/jkkummerfeld/irc-disentanglement/tarball/master"
67
 
68
 
69
  class IRCDisentangle(datasets.GeneratorBasedBuilder):
@@ -120,7 +120,7 @@ class IRCDisentangle(datasets.GeneratorBasedBuilder):
120
  def _split_generators(self, dl_manager):
121
  """Returns SplitGenerators."""
122
  dl_dir = dl_manager.download_and_extract(_URL)
123
- filepath = os.path.join(dl_dir, "jkkummerfeld-irc-disentanglement-35f0a40", "data")
124
  split_names = {datasets.Split.TRAIN: "train", datasets.Split.VALIDATION: "dev", datasets.Split.TEST: "test"}
125
  if self.config.name == "ubuntu":
126
  return [
 
63
 
64
  _LICENSE = "Creative Commons Attribution 4.0 International Public License"
65
 
66
+ _URL = "https://github.com/jkkummerfeld/irc-disentanglement/archive/refs/heads/master.zip"
67
 
68
 
69
  class IRCDisentangle(datasets.GeneratorBasedBuilder):
 
120
  def _split_generators(self, dl_manager):
121
  """Returns SplitGenerators."""
122
  dl_dir = dl_manager.download_and_extract(_URL)
123
+ filepath = os.path.join(dl_dir, "irc-disentanglement-master", "data")
124
  split_names = {datasets.Split.TRAIN: "train", datasets.Split.VALIDATION: "dev", datasets.Split.TEST: "test"}
125
  if self.config.name == "ubuntu":
126
  return [