Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
sofc_materials_articles.py
CHANGED
@@ -49,7 +49,7 @@ _URL = "https://github.com/boschresearch/sofc-exp_textmining_resources/archive/m
|
|
49 |
|
50 |
|
51 |
class SOFCMaterialsArticles(datasets.GeneratorBasedBuilder):
|
52 |
-
""""""
|
53 |
|
54 |
VERSION = datasets.Version("1.1.0")
|
55 |
|
@@ -280,7 +280,7 @@ class SOFCMaterialsArticles(datasets.GeneratorBasedBuilder):
|
|
280 |
]
|
281 |
|
282 |
def _generate_examples(self, names, data_dir, split):
|
283 |
-
"""
|
284 |
# The dataset consists of the original article text as well as annotations
|
285 |
textfile_base_path = os.path.join(data_dir, "texts")
|
286 |
annotations_base_path = os.path.join(data_dir, "annotations")
|
|
|
49 |
|
50 |
|
51 |
class SOFCMaterialsArticles(datasets.GeneratorBasedBuilder):
|
52 |
+
""" """
|
53 |
|
54 |
VERSION = datasets.Version("1.1.0")
|
55 |
|
|
|
280 |
]
|
281 |
|
282 |
def _generate_examples(self, names, data_dir, split):
|
283 |
+
"""Yields examples."""
|
284 |
# The dataset consists of the original article text as well as annotations
|
285 |
textfile_base_path = os.path.join(data_dir, "texts")
|
286 |
annotations_base_path = os.path.join(data_dir, "annotations")
|