Datasets:
Tasks:
Text Classification
Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
found
Annotations Creators:
expert-generated
Source Datasets:
original
ArXiv:
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- peer_read.py +1 -1
peer_read.py
CHANGED
@@ -235,7 +235,7 @@ class PeerRead(datasets.GeneratorBasedBuilder):
|
|
235 |
]
|
236 |
|
237 |
def _generate_examples(self, filepaths, split):
|
238 |
-
"""
|
239 |
for id_, filepath in enumerate(sorted(filepaths)):
|
240 |
with open(filepath, encoding="utf-8", errors="replace") as f:
|
241 |
data = json.load(f)
|
235 |
]
|
236 |
|
237 |
def _generate_examples(self, filepaths, split):
|
238 |
+
"""Yields examples."""
|
239 |
for id_, filepath in enumerate(sorted(filepaths)):
|
240 |
with open(filepath, encoding="utf-8", errors="replace") as f:
|
241 |
data = json.load(f)
|