Datasets:
Update SourceData.py
Browse files- SourceData.py +0 -9
SourceData.py
CHANGED
|
@@ -211,15 +211,6 @@ class SourceData(datasets.GeneratorBasedBuilder):
|
|
| 211 |
),
|
| 212 |
]
|
| 213 |
|
| 214 |
-
|
| 215 |
-
BUILDER_CONFIGS = [
|
| 216 |
-
datasets.BuilderConfig(name="NER", version=VERSION, description="Dataset for named-entity recognition."),
|
| 217 |
-
datasets.BuilderConfig(name="PANELIZATION", version=VERSION, description="Dataset to separate figure captions into panels."),
|
| 218 |
-
datasets.BuilderConfig(name="ROLES_GP", version=VERSION, description="Dataset for semantic roles of gene products."),
|
| 219 |
-
datasets.BuilderConfig(name="ROLES_SM", version=VERSION, description="Dataset for semantic roles of small molecules."),
|
| 220 |
-
datasets.BuilderConfig(name="ROLES_MULTI", version=VERSION, description="Dataset to train roles. ROLES_GP and ROLES_SM at once."),
|
| 221 |
-
]
|
| 222 |
-
|
| 223 |
def _generate_examples(self, filepath):
|
| 224 |
"""Yields examples. This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
| 225 |
It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
|
|
|
| 211 |
),
|
| 212 |
]
|
| 213 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 214 |
def _generate_examples(self, filepath):
|
| 215 |
"""Yields examples. This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
| 216 |
It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|