Update files from the datasets library (from 1.5.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.5.0
- discovery.py +0 -3
discovery.py
CHANGED
@@ -273,7 +273,6 @@ class DiscoveryConfig(datasets.BuilderConfig):
|
|
273 |
|
274 |
|
275 |
class Discovery(datasets.GeneratorBasedBuilder):
|
276 |
-
|
277 |
"""Discourse marker prediction with 174 different markers"""
|
278 |
|
279 |
BUILDER_CONFIG_CLASS = DiscoveryConfig
|
@@ -332,10 +331,8 @@ class Discovery(datasets.GeneratorBasedBuilder):
|
|
332 |
]
|
333 |
|
334 |
def _generate_examples(self, data_file, split):
|
335 |
-
|
336 |
process_label = self.config.process_label
|
337 |
label_classes = self.config.label_classes
|
338 |
-
print(data_file)
|
339 |
with open(data_file, encoding="utf8") as f:
|
340 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
341 |
|
|
|
273 |
|
274 |
|
275 |
class Discovery(datasets.GeneratorBasedBuilder):
|
|
|
276 |
"""Discourse marker prediction with 174 different markers"""
|
277 |
|
278 |
BUILDER_CONFIG_CLASS = DiscoveryConfig
|
|
|
331 |
]
|
332 |
|
333 |
def _generate_examples(self, data_file, split):
|
|
|
334 |
process_label = self.config.process_label
|
335 |
label_classes = self.config.label_classes
|
|
|
336 |
with open(data_file, encoding="utf8") as f:
|
337 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
338 |
|