3 ms·
maybe the normalize_embeddings flag on encode?
by ilaksh 3y ago
maybe the normalize_embeddings flag on encode?
- Clueed 3y agoNot sure about the specific implementation here but the very definition of cosine similarity includes normalization. [0] [0] https://en.wikipedia.org/wiki/Cosine_similarity https://en.wikipedia.org/wiki/Cosine_similarity