DC-Match icon indicating copy to clipboard operation
DC-Match copied to clipboard

ACL-2022 paper: Divide and Conquer: Text Semantic Matching with Disentangled Keywords and Intents.

Results 2 DC-Match issues
Sort by recently updated
recently updated
newest added

`kw_con_logits = self.kw_con_classifier( self.dropout(torch.cat([all_kw, sep_kw, all_con, sep_con], 0)) )` `kw_con_labels = torch.cat([labels.new_ones(all_kw.size(0) * 2), labels.new_zeros(all_con.size(0) * 2)], 0).float()` `kw_con_loss = F.binary_cross_entropy_with_logits(kw_con_logits.view(-1), kw_con_labels.view(-1))`