shivangibithel commited on
Commit
e3bbe00
·
1 Parent(s): 4d22557

Update SOTAB.py

Browse files
Files changed (1) hide show
  1. SOTAB.py +3 -3
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, "Train", train_file), "root_dir": 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, "Test", test_file), "root_dir": CTA_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, "Validation", dev_file), "root_dir": CTA_Validation},
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