Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ilaksh
· 2y ago · 0 comments
maybe the normalize_embeddings flag on encode?
Comments
[–]
Clueed
2y ago
Not sure about the specific implementation here but the very definition of cosine similarity includes normalization. [0]
[0]
https://en.wikipedia.org/wiki/Cosine_similarity