Hacker News new | ask | show | jobs
by gpderetta 717 days ago
You can use cosine similarity with embedding vectors of different lengths (or better, the vectors have all the same length, but they are sparse with most components being 0).