Datasets:
Size:
10K<n<100K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- para_pat.py +1 -1
para_pat.py
CHANGED
@@ -256,7 +256,7 @@ class ParaPat(datasets.GeneratorBasedBuilder):
|
|
256 |
]
|
257 |
|
258 |
def _generate_examples(self, filepath, split):
|
259 |
-
"""
|
260 |
source, target = self.config.language_pair
|
261 |
with open(filepath, encoding="utf-8") as f:
|
262 |
if self.config.name in type1_datasets_features:
|
|
|
256 |
]
|
257 |
|
258 |
def _generate_examples(self, filepath, split):
|
259 |
+
"""Yields examples."""
|
260 |
source, target = self.config.language_pair
|
261 |
with open(filepath, encoding="utf-8") as f:
|
262 |
if self.config.name in type1_datasets_features:
|