Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- deal_or_no_dialog.py +1 -1
deal_or_no_dialog.py
CHANGED
@@ -129,7 +129,7 @@ class DealOrNoDialog(datasets.GeneratorBasedBuilder):
|
|
129 |
]
|
130 |
|
131 |
def _generate_examples(self, filepath, split="train"):
|
132 |
-
"""
|
133 |
if self.config.name == "dialogues":
|
134 |
with open(filepath, encoding="utf-8") as f:
|
135 |
for idx, line in enumerate(f):
|
|
|
129 |
]
|
130 |
|
131 |
def _generate_examples(self, filepath, split="train"):
|
132 |
+
"""Yields examples."""
|
133 |
if self.config.name == "dialogues":
|
134 |
with open(filepath, encoding="utf-8") as f:
|
135 |
for idx, line in enumerate(f):
|