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
google_wellformed_query.py
CHANGED
|
@@ -76,7 +76,7 @@ class GoogleWellformedQuery(datasets.GeneratorBasedBuilder):
|
|
| 76 |
]
|
| 77 |
|
| 78 |
def _generate_examples(self, filepath):
|
| 79 |
-
"""
|
| 80 |
with open(filepath, "r", encoding="utf-8") as file:
|
| 81 |
reader = file.read().split("\n")
|
| 82 |
for idx, row in enumerate(reader):
|
|
|
|
| 76 |
]
|
| 77 |
|
| 78 |
def _generate_examples(self, filepath):
|
| 79 |
+
"""Yields examples."""
|
| 80 |
with open(filepath, "r", encoding="utf-8") as file:
|
| 81 |
reader = file.read().split("\n")
|
| 82 |
for idx, row in enumerate(reader):
|