Datasets:

Sub-tasks:
extractive-qa
Languages:
English
ArXiv:
License:
mbartolo commited on
Commit
6f92c19
·
verified ·
1 Parent(s): 0ee079e

Add test set

Browse files

Since 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.

Files changed (1) hide show
  1. sharc.py +6 -2
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.0")
49
  BUILDER_CONFIGS = [
50
- datasets.BuilderConfig(name="sharc", version=datasets.Version("1.0.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):