Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
parquet
Sub-tasks:
text-simplification
Languages:
English
Size:
1K - 10K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
turk.py
CHANGED
@@ -107,7 +107,7 @@ class Turk(datasets.GeneratorBasedBuilder):
|
|
107 |
]
|
108 |
|
109 |
def _generate_examples(self, filepaths, split):
|
110 |
-
"""
|
111 |
if split == "valid":
|
112 |
split = "tune"
|
113 |
files = [open(filepaths[f"{split}.8turkers.tok.norm"], encoding="utf-8")] + [
|
|
|
107 |
]
|
108 |
|
109 |
def _generate_examples(self, filepaths, split):
|
110 |
+
"""Yields examples."""
|
111 |
if split == "valid":
|
112 |
split = "tune"
|
113 |
files = [open(filepaths[f"{split}.8turkers.tok.norm"], encoding="utf-8")] + [
|