Datasets:
Tasks:
Text Classification
Sub-tasks:
text-scoring
Languages:
English
Size:
10K<n<100K
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
- newspop.py +1 -1
newspop.py
CHANGED
|
@@ -85,7 +85,7 @@ class Newspop(datasets.GeneratorBasedBuilder):
|
|
| 85 |
]
|
| 86 |
|
| 87 |
def _generate_examples(self, filepath):
|
| 88 |
-
"""
|
| 89 |
with open(filepath, encoding="utf-8") as f:
|
| 90 |
csv_reader = csv.reader(
|
| 91 |
f,
|
|
|
|
| 85 |
]
|
| 86 |
|
| 87 |
def _generate_examples(self, filepath):
|
| 88 |
+
"""Yields examples."""
|
| 89 |
with open(filepath, encoding="utf-8") as f:
|
| 90 |
csv_reader = csv.reader(
|
| 91 |
f,
|