Hi, i find that in your code the sim_score is defined as ‘1-arccos(cos<x1,x2>)=1-<x1,x2>’, which makes me confused.
Why not use cosine similarity? Is it because ‘1-<x1,x2>’ makes them more distinguishable?
This code is borrowed from the official code of "USE". I think it is just because it is closer to the mathematical definition of cosine similarity. I am not sure whether it is really better than cos<x1,x2>.
Hi, i find that in your code the sim_score is defined as ‘1-arccos(cos<x1,x2>)=1-<x1,x2>’, which makes me confused. Why not use cosine similarity? Is it because ‘1-<x1,x2>’ makes them more distinguishable?