fedryanto commited on
Commit
16bcb2b
·
1 Parent(s): b4234ea

Update qas.py

Browse files
Files changed (1) hide show
  1. qas.py +3 -3
qas.py CHANGED
@@ -31,10 +31,10 @@ articles, where the answer to every question is a segment of text, or span, \
31
  from the corresponding reading passage, or the question might be unanswerable.
32
  """
33
 
34
- _URL = 'https://huggingface.co/datasets/fedryanto/qas/tree/main/'
35
  _URLS = {
36
  "train":"https://huggingface.co/datasets/fedryanto/qas/blob/main/train.json",
37
- "test": "https://huggingface.co/datasets/fedryanto/qas/blob/main/test.json",
38
  }
39
 
40
 
@@ -95,7 +95,7 @@ class Squad(datasets.GeneratorBasedBuilder):
95
 
96
  return [
97
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_path["train"]}),
98
- datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": data_path["test"]}),
99
  ]
100
 
101
  def _generate_examples(self, filepath):
 
31
  from the corresponding reading passage, or the question might be unanswerable.
32
  """
33
 
34
+ _URL = "https://huggingface.co/datasets/fedryanto/qas/tree/main/"
35
  _URLS = {
36
  "train":"https://huggingface.co/datasets/fedryanto/qas/blob/main/train.json",
37
+ "dev": "https://huggingface.co/datasets/fedryanto/qas/blob/main/test.json",
38
  }
39
 
40
 
 
95
 
96
  return [
97
  datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": data_path["train"]}),
98
+ datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"filepath": data_path["dev"]}),
99
  ]
100
 
101
  def _generate_examples(self, filepath):