Skip to content

Commit 57ea962

Browse files
authored
Re-order mirrored pair input (#1031)
1 parent 23de5fc commit 57ea962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jiant/tasks/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def _make_instance(input1, input2, labels, idx):
115115
model_preprocessing_interface.model_flags["uses_mirrored_pair"]
116116
and is_symmetrical_pair
117117
):
118-
inp_m = model_preprocessing_interface.boundary_token_fn(input1, input2)
118+
inp_m = model_preprocessing_interface.boundary_token_fn(input2, input1)
119119
d["inputs_m"] = sentence_to_text_field(inp_m, indexers)
120120
else:
121121
d["input1"] = sentence_to_text_field(

0 commit comments

Comments
 (0)