Datasets:
Tasks:
Question Answering
Sub-tasks:
extractive-qa
Languages:
English
Size:
10K<n<100K
ArXiv:
Tags:
conversational-qa
License:
Add test set
Browse filesSince the official Codalab competition is now closed (please refer to https://sharc-data.github.io/index.html), we are releasing the test set publicly to facilitate research and continued use of this resource.
sharc.py
CHANGED
@@ -45,9 +45,9 @@ _URL = "https://sharc-data.github.io/data/sharc1-official.zip"
|
|
45 |
class Sharc(datasets.GeneratorBasedBuilder):
|
46 |
"""ShARC: A Conversational Question Answering dataset focussing on question answering from texts containing rules."""
|
47 |
|
48 |
-
VERSION = datasets.Version("1.0.
|
49 |
BUILDER_CONFIGS = [
|
50 |
-
datasets.BuilderConfig(name="sharc", version=datasets.Version("1.0.
|
51 |
]
|
52 |
|
53 |
def _info(self):
|
@@ -88,6 +88,10 @@ class Sharc(datasets.GeneratorBasedBuilder):
|
|
88 |
name=datasets.Split.VALIDATION,
|
89 |
gen_kwargs={"data_dir": os.path.join(extracted_path, "sharc1-official"), "split": "dev"},
|
90 |
),
|
|
|
|
|
|
|
|
|
91 |
]
|
92 |
|
93 |
def _generate_examples(self, data_dir, split):
|
|
|
45 |
class Sharc(datasets.GeneratorBasedBuilder):
|
46 |
"""ShARC: A Conversational Question Answering dataset focussing on question answering from texts containing rules."""
|
47 |
|
48 |
+
VERSION = datasets.Version("1.0.1")
|
49 |
BUILDER_CONFIGS = [
|
50 |
+
datasets.BuilderConfig(name="sharc", version=datasets.Version("1.0.1")),
|
51 |
]
|
52 |
|
53 |
def _info(self):
|
|
|
88 |
name=datasets.Split.VALIDATION,
|
89 |
gen_kwargs={"data_dir": os.path.join(extracted_path, "sharc1-official"), "split": "dev"},
|
90 |
),
|
91 |
+
datasets.SplitGenerator(
|
92 |
+
name=datasets.Split.TEST,
|
93 |
+
gen_kwargs={"data_dir": os.path.join(extracted_path, "sharc1-official"), "split": "test"},
|
94 |
+
),
|
95 |
]
|
96 |
|
97 |
def _generate_examples(self, data_dir, split):
|