bug fix in recast task def
@@ -1180,11 +1180,11 @@ class RecastNLITask(PairClassificationTask):
def load_data(self, path, max_seq_len):
tr_data = load_tsv(os.path.join(path, 'train.tsv'), max_seq_len,
- s1_idx=1, s2_idx=2, targ_idx=None, targ_map=targ_map, skip_rows=0)
+ s1_idx=1, s2_idx=2, skip_rows=0)
val_data = load_tsv(os.path.join(path, 'dev.tsv'), max_seq_len,
- s1_idx=0, s2_idx=1, targ_idx=2, targ_map=targ_map, skip_rows=0)
+ s1_idx=0, s2_idx=1, skip_rows=0)
te_data = load_tsv(os.path.join(path, 'test.tsv'), max_seq_len,
- s1_idx=1, s2_idx=2, targ_idx=None, targ_map=targ_map, skip_rows=0)
+ s1_idx=1, s2_idx=2, skip_rows=0)
self.train_data_text = tr_data
self.val_data_text = val_data
