Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
cbt.py
CHANGED
@@ -154,7 +154,7 @@ class Cbt(datasets.GeneratorBasedBuilder):
|
|
154 |
def _generate_examples(
|
155 |
self, filepath # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
156 |
):
|
157 |
-
"""
|
158 |
# This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
159 |
# The `key` is here for legacy reason (tfds) and is not important in itself.
|
160 |
|
|
|
154 |
def _generate_examples(
|
155 |
self, filepath # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
156 |
):
|
157 |
+
"""Yields examples as (key, example) tuples."""
|
158 |
# This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
159 |
# The `key` is here for legacy reason (tfds) and is not important in itself.
|
160 |
|