Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- generics_kb.py +2 -2
generics_kb.py
CHANGED
@@ -52,7 +52,7 @@ _FILEPATHS = {
|
|
52 |
|
53 |
|
54 |
class GenericsKb(datasets.GeneratorBasedBuilder):
|
55 |
-
"""
|
56 |
|
57 |
VERSION = datasets.Version("1.0.0")
|
58 |
|
@@ -178,7 +178,7 @@ class GenericsKb(datasets.GeneratorBasedBuilder):
|
|
178 |
]
|
179 |
|
180 |
def _generate_examples(self, filepath):
|
181 |
-
"""
|
182 |
|
183 |
if self.config.name == "generics_kb_waterloo" or self.config.name == "generics_kb_simplewiki":
|
184 |
|
|
|
52 |
|
53 |
|
54 |
class GenericsKb(datasets.GeneratorBasedBuilder):
|
55 |
+
"""The GenericsKB is the first large-scale resource containing naturally occurring generic sentences, and is rich in high-quality, general, semantically complete statements."""
|
56 |
|
57 |
VERSION = datasets.Version("1.0.0")
|
58 |
|
|
|
178 |
]
|
179 |
|
180 |
def _generate_examples(self, filepath):
|
181 |
+
"""Yields examples."""
|
182 |
|
183 |
if self.config.name == "generics_kb_waterloo" or self.config.name == "generics_kb_simplewiki":
|
184 |
|