MNLI hypothesis-only loading fix
* Rename namespaces to suppress warnings.
* Revert "Rename namespaces to suppress warnings."
This reverts commit
* Initial attempt.
* MNLI column index fix
* Update defaults.conf
@@ -1232,7 +1232,7 @@ class MultiNLIHypothesisOnlyTask(SingleClassificationTask):
self._tokenizer_name,
os.path.join(self.path, "train.tsv"),
max_seq_len=self.max_seq_len,
- s1_idx=8,
+ s1_idx=9,
s2_idx=None,
label_idx=11,
label_fn=targ_map.__getitem__,
@@ -1247,7 +1247,7 @@ class MultiNLIHypothesisOnlyTask(SingleClassificationTask):
self._tokenizer_name,
os.path.join(self.path, "dev_matched.tsv"),
max_seq_len=self.max_seq_len,
- s1_idx=8,
+ s1_idx=9,
s2_idx=None,
label_idx=15,
label_fn=targ_map.__getitem__,
@@ -1259,7 +1259,7 @@ class MultiNLIHypothesisOnlyTask(SingleClassificationTask):
self._tokenizer_name,
os.path.join(self.path, "dev_mismatched.tsv"),
max_seq_len=self.max_seq_len,
- s1_idx=8,
+ s1_idx=9,
s2_idx=None,
label_idx=15,
label_fn=targ_map.__getitem__,
@@ -1274,7 +1274,7 @@ class MultiNLIHypothesisOnlyTask(SingleClassificationTask):
self._tokenizer_name,
os.path.join(self.path, "test_matched.tsv"),
max_seq_len=self.max_seq_len,
- s1_idx=8,
+ s1_idx=9,
s2_idx=None,
has_labels=False,
return_indices=True,
@@ -1286,7 +1286,7 @@ class MultiNLIHypothesisOnlyTask(SingleClassificationTask):
self._tokenizer_name,
os.path.join(self.path, "test_mismatched.tsv"),
max_seq_len=self.max_seq_len,
- s1_idx=8,
+ s1_idx=9,
s2_idx=None,
has_labels=False,
return_indices=True,
