Datasets:
Tasks:
Text Classification
Formats:
parquet
Sub-tasks:
multi-label-classification
Languages:
English
Size:
100K - 1M
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- ohsumed.py +1 -1
ohsumed.py
CHANGED
@@ -146,7 +146,7 @@ class Ohsumed(datasets.GeneratorBasedBuilder):
|
|
146 |
]
|
147 |
|
148 |
def _generate_examples(self, filepath, split):
|
149 |
-
"""
|
150 |
# TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
151 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
152 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
|
|
146 |
]
|
147 |
|
148 |
def _generate_examples(self, filepath, split):
|
149 |
+
"""Yields examples."""
|
150 |
# TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
151 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
152 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|