Sentence-similarity-classifier-for-pyTorch icon indicating copy to clipboard operation
Sentence-similarity-classifier-for-pyTorch copied to clipboard

Re-implementation of Mueller's et al., "Siamese Recurrent Architectures for Learning Sentence Similarity." (AAAI, 2016)

Results 3 Sentence-similarity-classifier-for-pyTorch issues
Sort by recently updated
recently updated
newest added

I think the code has a little issue in loss calculation: when " # Obtain similarity score predictions by calculating the Manhattan distance between sentence encoding" self.prediction = torch.exp(-torch.norm((self.encoding_a -...

If there is a word in testing set but not in training set, it will raise a 'keyerror'. But there are some situations that cannot avoid this. What can I...

Hi, I am not really sure how are you handling variable length sequences. It would be really helpful if you could help with this!