How to implement Siamese for text similarity(not Images)?

Hey,

I understand the architecture of Siamese model, but I’m facing a problem of implementing it using pytorch.

Thanks!