Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- tuple_ie.py +1 -1
tuple_ie.py
CHANGED
|
@@ -105,7 +105,7 @@ class TupleIE(datasets.GeneratorBasedBuilder):
|
|
| 105 |
]
|
| 106 |
|
| 107 |
def _generate_examples(self, data_dir):
|
| 108 |
-
"""
|
| 109 |
id_ = -1
|
| 110 |
for domain in self.config.domains:
|
| 111 |
with open(os.path.join(data_dir, _DOMAIN_FILES[domain]), encoding="utf-8") as f:
|
|
|
|
| 105 |
]
|
| 106 |
|
| 107 |
def _generate_examples(self, data_dir):
|
| 108 |
+
"""Yields examples."""
|
| 109 |
id_ = -1
|
| 110 |
for domain in self.config.domains:
|
| 111 |
with open(os.path.join(data_dir, _DOMAIN_FILES[domain]), encoding="utf-8") as f:
|