Update files from the datasets library (from 1.5.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.5.0
bprec.py
CHANGED
@@ -185,7 +185,6 @@ class Bprec(datasets.GeneratorBasedBuilder):
|
|
185 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
186 |
cats = [cat for cat in self.config.categories]
|
187 |
for cat, filepath in zip(cats, filedirs):
|
188 |
-
# print(cat, filepath)
|
189 |
with open(filepath, "r", encoding="utf-8") as f:
|
190 |
data = json.load(f)
|
191 |
for key in data.keys():
|
|
|
185 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
186 |
cats = [cat for cat in self.config.categories]
|
187 |
for cat, filepath in zip(cats, filedirs):
|
|
|
188 |
with open(filepath, "r", encoding="utf-8") as f:
|
189 |
data = json.load(f)
|
190 |
for key in data.keys():
|