Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- iwslt2017.py +2 -2
iwslt2017.py
CHANGED
@@ -44,7 +44,7 @@ MULTI_URL = "https://wit3.fbk.eu/archive/2017-01-trnmted//texts/DeEnItNlRo/DeEnI
|
|
44 |
|
45 |
|
46 |
class IWSLT2017Config(datasets.BuilderConfig):
|
47 |
-
"""
|
48 |
|
49 |
def __init__(self, pair, is_multilingual, **kwargs):
|
50 |
"""
|
@@ -185,7 +185,7 @@ class IWSLT217(datasets.GeneratorBasedBuilder):
|
|
185 |
]
|
186 |
|
187 |
def _generate_examples(self, source_files, target_files, split):
|
188 |
-
"""
|
189 |
id_ = 0
|
190 |
source, target = self.config.pair.split("-")
|
191 |
for source_file, target_file in zip(source_files, target_files):
|
|
|
44 |
|
45 |
|
46 |
class IWSLT2017Config(datasets.BuilderConfig):
|
47 |
+
"""BuilderConfig for NewDataset"""
|
48 |
|
49 |
def __init__(self, pair, is_multilingual, **kwargs):
|
50 |
"""
|
|
|
185 |
]
|
186 |
|
187 |
def _generate_examples(self, source_files, target_files, split):
|
188 |
+
"""Yields examples."""
|
189 |
id_ = 0
|
190 |
source, target = self.config.pair.split("-")
|
191 |
for source_file, target_file in zip(source_files, target_files):
|