Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
48 unmodified lines49505152535455224 unmodified lines28028128228328428528648 unmodified linesclass SOFCMaterialsArticles(datasets.GeneratorBasedBuilder):""""""VERSION = datasets.Version("1.1.0")224 unmodified lines]def _generate_examples(self, names, data_dir, split):""" Yields examples. """# The dataset consists of the original article text as well as annotationstextfile_base_path = os.path.join(data_dir, "texts")annotations_base_path = os.path.join(data_dir, "annotations")48 unmodified lines49505152535455224 unmodified lines28028128228328428528648 unmodified linesclass SOFCMaterialsArticles(datasets.GeneratorBasedBuilder):""" """VERSION = datasets.Version("1.1.0")224 unmodified lines]def _generate_examples(self, names, data_dir, split):"""Yields examples."""# The dataset consists of the original article text as well as annotationstextfile_base_path = os.path.join(data_dir, "texts")annotations_base_path = os.path.join(data_dir, "annotations")
sofc_materials_articles.py+2-2