Datasets:
Modalities:
Text
Formats:
parquet
Sub-tasks:
semantic-similarity-classification
Size:
1M - 10M
Tags:
paraphrase-generation
License:
Update loading script
Browse files
tapaco.py
CHANGED
@@ -54,9 +54,8 @@ _HOMEPAGE = "https://zenodo.org/record/3707949#.X9Dh0cYza3I"
|
|
54 |
_LICENSE = "Creative Commons Attribution 2.0 Generic"
|
55 |
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
}
|
60 |
|
61 |
_VERSION = "1.0.0"
|
62 |
_LANGUAGES = {
|
@@ -190,11 +189,11 @@ class Tapaco(datasets.GeneratorBasedBuilder):
|
|
190 |
|
191 |
def _split_generators(self, dl_manager):
|
192 |
"""Returns SplitGenerators."""
|
193 |
-
data_dir = dl_manager.download_and_extract(
|
194 |
return [
|
195 |
datasets.SplitGenerator(
|
196 |
name=datasets.Split.TRAIN,
|
197 |
-
gen_kwargs={"data_dir": data_dir
|
198 |
),
|
199 |
]
|
200 |
|
|
|
54 |
_LICENSE = "Creative Commons Attribution 2.0 Generic"
|
55 |
|
56 |
|
57 |
+
# Original data: "https://zenodo.org/record/3707949/files/tapaco_v1.0.zip?download=1"
|
58 |
+
_URL = "data/tapaco_v1.0.zip"
|
|
|
59 |
|
60 |
_VERSION = "1.0.0"
|
61 |
_LANGUAGES = {
|
|
|
189 |
|
190 |
def _split_generators(self, dl_manager):
|
191 |
"""Returns SplitGenerators."""
|
192 |
+
data_dir = dl_manager.download_and_extract(_URL)
|
193 |
return [
|
194 |
datasets.SplitGenerator(
|
195 |
name=datasets.Split.TRAIN,
|
196 |
+
gen_kwargs={"data_dir": data_dir},
|
197 |
),
|
198 |
]
|
199 |
|