kleinay commited on
Commit
50e0b9e
1 Parent(s): a1a9f81

Update qa_srl2018.py

Browse files
Files changed (1) hide show
  1. qa_srl2018.py +3 -4
qa_srl2018.py CHANGED
@@ -56,12 +56,11 @@ SUPPOERTED_DOMAINS = {"wikinews", "wikipedia", "TQA"}
56
 
57
  @dataclass
58
  class QASRL2018BuilderConfig(datasets.BuilderConfig):
59
- """ Allow the loader to re-distribute the original dev and test splits between train, dev and test. """
 
60
  dataset_version: str = "v2_1"
61
 
62
- domains: Union[str, Iterable[str]] = "all" # can provide also a subset of acceptable domains.
63
- # Acceptable domains are {"wikipedia", "wikinews"} for dev and test (qasrl-2020)
64
- # and {"wikipedia", "wikinews", "TQA"} for train (qasrl-2018)
65
 
66
 
67
  # Name of the dataset usually match the script name with CamelCase instead of snake_case
56
 
57
  @dataclass
58
  class QASRL2018BuilderConfig(datasets.BuilderConfig):
59
+ """ Allow the loader to provide a subset of acceptable domains. Acceptable domains are {"wikipedia", "wikinews", "TQA"}.
60
+ """
61
  dataset_version: str = "v2_1"
62
 
63
+ domains: Union[str, Iterable[str]] = "all" #
 
 
64
 
65
 
66
  # Name of the dataset usually match the script name with CamelCase instead of snake_case