Datasets:
Tasks:
Question Answering
Sub-tasks:
extractive-qa
Languages:
English
Size:
10K<n<100K
ArXiv:
License:
Update qas.py
Browse files
qas.py
CHANGED
|
@@ -98,7 +98,7 @@ class Squad(datasets.GeneratorBasedBuilder):
|
|
| 98 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": data_path["test"]}),
|
| 99 |
]
|
| 100 |
|
| 101 |
-
def _generate_examples(self, filepath
|
| 102 |
"""This function returns the examples in the raw (text) form."""
|
| 103 |
logger.info("generating examples from = %s", filepath)
|
| 104 |
key = 0
|
|
|
|
| 98 |
datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"filepath": data_path["test"]}),
|
| 99 |
]
|
| 100 |
|
| 101 |
+
def _generate_examples(self, filepath):
|
| 102 |
"""This function returns the examples in the raw (text) form."""
|
| 103 |
logger.info("generating examples from = %s", filepath)
|
| 104 |
key = 0
|