Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
oclar.py
CHANGED
@@ -88,7 +88,7 @@ class Oclar(datasets.GeneratorBasedBuilder):
|
|
88 |
]
|
89 |
|
90 |
def _generate_examples(self, filepath, split):
|
91 |
-
"""
|
92 |
with open(filepath, encoding="utf-8") as csv_file:
|
93 |
csv_reader = csv.reader(csv_file, delimiter=",", skipinitialspace=True)
|
94 |
next(csv_reader, None) # skipping headers
|
|
|
88 |
]
|
89 |
|
90 |
def _generate_examples(self, filepath, split):
|
91 |
+
"""Yields examples."""
|
92 |
with open(filepath, encoding="utf-8") as csv_file:
|
93 |
csv_reader = csv.reader(csv_file, delimiter=",", skipinitialspace=True)
|
94 |
next(csv_reader, None) # skipping headers
|