Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
semantic-similarity-classification
Languages:
English
Size:
1K - 10K
ArXiv:
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
medical_questions_pairs.py
CHANGED
@@ -71,7 +71,7 @@ class MedicalQuestionsPairs(datasets.GeneratorBasedBuilder):
|
|
71 |
return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_file})]
|
72 |
|
73 |
def _generate_examples(self, filepath):
|
74 |
-
"""
|
75 |
with open(filepath, encoding="utf-8") as f:
|
76 |
data = csv.reader(f)
|
77 |
for id_, row in enumerate(data):
|
|
|
71 |
return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_file})]
|
72 |
|
73 |
def _generate_examples(self, filepath):
|
74 |
+
"""Yields examples."""
|
75 |
with open(filepath, encoding="utf-8") as f:
|
76 |
data = csv.reader(f)
|
77 |
for id_, row in enumerate(data):
|