HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ilaksh | Hacker News Reader
Parent
Full thread
ilaksh
·
maybe the normalize_embeddings flag on encode?
View on HN
Clueed
·
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
Reply on news.ycombinator.com