Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Size:
10K - 100K
ArXiv:
Tags:
sentence-transformers
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- stsb_multi_mt.py +1 -1
stsb_multi_mt.py
CHANGED
@@ -165,7 +165,7 @@ class StsbMultiMt(datasets.GeneratorBasedBuilder):
|
|
165 |
self,
|
166 |
filepath, # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
167 |
):
|
168 |
-
"""
|
169 |
# This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
170 |
# The `key` is here for legacy reason (tfds) and is not important in itself.
|
171 |
with open(filepath, newline="", encoding="utf-8") as csvfile:
|
|
|
165 |
self,
|
166 |
filepath, # method parameters are unpacked from `gen_kwargs` as given in `_split_generators`
|
167 |
):
|
168 |
+
"""Yields examples as (key, example) tuples."""
|
169 |
# This method handles input defined in _split_generators to yield (key, example) tuples from the dataset.
|
170 |
# The `key` is here for legacy reason (tfds) and is not important in itself.
|
171 |
with open(filepath, newline="", encoding="utf-8") as csvfile:
|