Closed ruotianluo closed 3 years ago
Hi, I comment out using cosine_similarity by pytorch, what is the reason for that?
No specific reasons. They should be equivalent. I tried both but just left the one which is the same as the paper.
For some reason, I do think cosine_similarity is problematic, but I am using mixed precision.
Hi, I comment out using cosine_similarity by pytorch, what is the reason for that?