Commit 581b1a55 by Andrea Mancini

bug fixing

parent 905196be
...@@ -139,6 +139,6 @@ class DomainSpanESM(nn.Module): ...@@ -139,6 +139,6 @@ class DomainSpanESM(nn.Module):
outputs = logits, span_loss, (start_pred_pos, end_pred_pos) outputs = logits, span_loss, (start_pred_pos, end_pred_pos)
if return_span_logits: if return_span_logits:
outputs += (start_logits, end_logits) outputs += ((start_logits, end_logits),)
return outputs return outputs
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment