Datasets:
Tasks:
Question Answering
Modalities:
Text
Formats:
parquet
Sub-tasks:
open-domain-qa
Languages:
English
Size:
100K - 1M
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
selqa.py
CHANGED
@@ -61,7 +61,7 @@ modes = {"analysis": "json", "experiments": "tsv"}
|
|
61 |
|
62 |
|
63 |
class SelqaConfig(datasets.BuilderConfig):
|
64 |
-
""""BuilderConfig for SelQA Dataset"""
|
65 |
|
66 |
def __init__(self, mode, type_, **kwargs):
|
67 |
super(SelqaConfig, self).__init__(**kwargs)
|
@@ -249,7 +249,7 @@ class Selqa(datasets.GeneratorBasedBuilder):
|
|
249 |
]
|
250 |
|
251 |
def _generate_examples(self, filepath, split):
|
252 |
-
"""
|
253 |
# TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
254 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
255 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|
|
|
61 |
|
62 |
|
63 |
class SelqaConfig(datasets.BuilderConfig):
|
64 |
+
""" "BuilderConfig for SelQA Dataset"""
|
65 |
|
66 |
def __init__(self, mode, type_, **kwargs):
|
67 |
super(SelqaConfig, self).__init__(**kwargs)
|
|
|
249 |
]
|
250 |
|
251 |
def _generate_examples(self, filepath, split):
|
252 |
+
"""Yields examples."""
|
253 |
# TODO: This method will receive as arguments the `gen_kwargs` defined in the previous `_split_generators` method.
|
254 |
# It is in charge of opening the given file and yielding (key, example) tuples from the dataset
|
255 |
# The key is not important, it's more here for legacy reason (legacy from tfds)
|