Commit
•
f7c5a8c
1
Parent(s):
a117afa
Fix source data URL
Browse files- 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/
|
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, "
|
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 [
|