Update qa_srl2018.py
Browse files- 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
|
|
|
60 |
dataset_version: str = "v2_1"
|
61 |
|
62 |
-
domains: Union[str, Iterable[str]] = "all" #
|
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
|