Skip to content
THE AI WIREINTELLIGENCE THAT MATTERS
Research

How does one find top k embedding vectors such that they are similar to one particular vector and dissimilar to another?

AI Stack Exchange··Updated just now·34 sightings
AI brief

A question on AI Stack Exchange asks how to find the top k embedding vectors that are similar to one vector A and dissimilar to another vector B, proposing a scoring function that subtracts the cosine similarity to B from the cosine similarity to A.

Written by AI from AI Stack Exchange's published text. Read the original for full details.