Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
pubmed.py
CHANGED
@@ -366,7 +366,7 @@ class Pubmed(datasets.GeneratorBasedBuilder):
|
|
366 |
article["PubmedData"]["ReferenceList"] = citations
|
367 |
|
368 |
def _generate_examples(self, filenames):
|
369 |
-
"""
|
370 |
id_ = 0
|
371 |
for filename in filenames:
|
372 |
try:
|
|
|
366 |
article["PubmedData"]["ReferenceList"] = citations
|
367 |
|
368 |
def _generate_examples(self, filenames):
|
369 |
+
"""Yields examples."""
|
370 |
id_ = 0
|
371 |
for filename in filenames:
|
372 |
try:
|