Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
paws-x.py
CHANGED
@@ -156,7 +156,7 @@ class PAWSX(datasets.GeneratorBasedBuilder):
|
|
156 |
]
|
157 |
|
158 |
def _generate_examples(self, filepath, split):
|
159 |
-
"""
|
160 |
|
161 |
with open(filepath, encoding="utf-8") as f:
|
162 |
data = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
|
|
156 |
]
|
157 |
|
158 |
def _generate_examples(self, filepath, split):
|
159 |
+
"""Yields examples."""
|
160 |
|
161 |
with open(filepath, encoding="utf-8") as f:
|
162 |
data = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|