Datasets:
Modalities:
Text
Formats:
parquet
Sub-tasks:
semantic-similarity-classification
Size:
1M - 10M
Tags:
paraphrase-generation
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
tapaco.py
CHANGED
|
@@ -199,7 +199,7 @@ class Tapaco(datasets.GeneratorBasedBuilder):
|
|
| 199 |
]
|
| 200 |
|
| 201 |
def _generate_examples(self, data_dir):
|
| 202 |
-
"""
|
| 203 |
base_path = os.path.join(data_dir, "tapaco_v1.0")
|
| 204 |
file_dict = {lang: os.path.join(base_path, lang + ".txt") for lang in self.config.languages}
|
| 205 |
id_ = -1
|
|
|
|
| 199 |
]
|
| 200 |
|
| 201 |
def _generate_examples(self, data_dir):
|
| 202 |
+
"""Yields examples."""
|
| 203 |
base_path = os.path.join(data_dir, "tapaco_v1.0")
|
| 204 |
file_dict = {lang: os.path.join(base_path, lang + ".txt") for lang in self.config.languages}
|
| 205 |
id_ = -1
|