Commit
·
e3bbe00
1
Parent(s):
4d22557
Update SOTAB.py
Browse files
SOTAB.py
CHANGED
@@ -89,17 +89,17 @@ class WikiTableQuestions(datasets.GeneratorBasedBuilder):
|
|
89 |
datasets.SplitGenerator(
|
90 |
name=datasets.Split.TRAIN,
|
91 |
# These kwargs will be passed to _generate_examples
|
92 |
-
gen_kwargs={"main_filepath": os.path.join(CTA_Training,
|
93 |
),
|
94 |
datasets.SplitGenerator(
|
95 |
name=datasets.Split.TEST,
|
96 |
# These kwargs will be passed to _generate_examples
|
97 |
-
gen_kwargs={"main_filepath": os.path.join(CTA_Validation,
|
98 |
),
|
99 |
datasets.SplitGenerator(
|
100 |
name=datasets.Split.VALIDATION,
|
101 |
# These kwargs will be passed to _generate_examples
|
102 |
-
gen_kwargs={"main_filepath": os.path.join(CTA_Test,
|
103 |
),
|
104 |
]
|
105 |
|
|
|
89 |
datasets.SplitGenerator(
|
90 |
name=datasets.Split.TRAIN,
|
91 |
# These kwargs will be passed to _generate_examples
|
92 |
+
gen_kwargs={"main_filepath": os.path.join(CTA_Training, train_file), "root_dir": os.path.join(CTA_Training, "Train")},
|
93 |
),
|
94 |
datasets.SplitGenerator(
|
95 |
name=datasets.Split.TEST,
|
96 |
# These kwargs will be passed to _generate_examples
|
97 |
+
gen_kwargs={"main_filepath": os.path.join(CTA_Validation, test_file), "root_dir": os.path.join(CTA_Test, "Test")},
|
98 |
),
|
99 |
datasets.SplitGenerator(
|
100 |
name=datasets.Split.VALIDATION,
|
101 |
# These kwargs will be passed to _generate_examples
|
102 |
+
gen_kwargs={"main_filepath": os.path.join(CTA_Test, dev_file), "root_dir": os.path.join(CTA_Validation, "Validation")},
|
103 |
),
|
104 |
]
|
105 |
|