Update negation_twitter_mexican_spanish.py
Browse files
negation_twitter_mexican_spanish.py
CHANGED
@@ -62,22 +62,4 @@ class negation_twitter_spanish(datasets.GeneratorBasedBuilder):
|
|
62 |
homepage="http://????????",
|
63 |
citation=_CITATION,
|
64 |
task_templates=[TextClassification(text_column="text", label_column="label")],
|
65 |
-
)
|
66 |
-
|
67 |
-
def _split_generators(self, dl_manager):
|
68 |
-
""""Downloads Spanish Paraphrase Corpora Sentences."""
|
69 |
-
archive = dl_manager.download(_DOWNLOAD_URL)
|
70 |
-
return [
|
71 |
-
datasets.SplitGenerator(
|
72 |
-
name=datasets.Split.TRAIN,
|
73 |
-
gen_kwargs={"split_key": "train", "files": dl_manager.iter_archive(archive)},
|
74 |
-
),
|
75 |
-
datasets.SplitGenerator(
|
76 |
-
name=datasets.Split.VALIDATION,
|
77 |
-
gen_kwargs={"split_key": "validation", "files": dl_manager.iter_archive(archive)},
|
78 |
-
),
|
79 |
-
datasets.SplitGenerator(
|
80 |
-
name=datasets.Split.TEST,
|
81 |
-
gen_kwargs={"split_key": "test", "files": dl_manager.iter_archive(archive)},
|
82 |
-
),
|
83 |
-
]
|
|
|
62 |
homepage="http://????????",
|
63 |
citation=_CITATION,
|
64 |
task_templates=[TextClassification(text_column="text", label_column="label")],
|
65 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|