Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- meta_woz.py +1 -1
meta_woz.py
CHANGED
|
@@ -118,7 +118,7 @@ class MetaWoz(datasets.GeneratorBasedBuilder):
|
|
| 118 |
]
|
| 119 |
|
| 120 |
def _generate_examples(self, data_dir):
|
| 121 |
-
"""
|
| 122 |
if self.config.name == "tasks":
|
| 123 |
filepath = os.path.join(data_dir, "tasks.txt")
|
| 124 |
with open(filepath, encoding="utf-8") as f:
|
|
|
|
| 118 |
]
|
| 119 |
|
| 120 |
def _generate_examples(self, data_dir):
|
| 121 |
+
"""Yields examples."""
|
| 122 |
if self.config.name == "tasks":
|
| 123 |
filepath = os.path.join(data_dir, "tasks.txt")
|
| 124 |
with open(filepath, encoding="utf-8") as f:
|