Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
parquet
Sub-tasks:
open-domain-qa
Languages:
Polish
Size:
1K - 10K
License:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
dyk.py
CHANGED
@@ -81,7 +81,7 @@ class DYK(datasets.GeneratorBasedBuilder):
|
|
81 |
]
|
82 |
|
83 |
def _generate_examples(self, filepath, split):
|
84 |
-
"""
|
85 |
with open(filepath, encoding="utf-8") as f:
|
86 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
87 |
for id_, row in enumerate(reader):
|
|
|
81 |
]
|
82 |
|
83 |
def _generate_examples(self, filepath, split):
|
84 |
+
"""Yields examples."""
|
85 |
with open(filepath, encoding="utf-8") as f:
|
86 |
reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
|
87 |
for id_, row in enumerate(reader):
|