What is the best metric choice when retrieve code snippets based on the embeddings L2 or IP or Cosine similarity?

#4
by YalunHu - opened

hey I tried to use the
codet5p-110m-embedding as the embedding model of my vector database, I'd like to know what is the best distance/similarity measure metric between the embedding vectors? L2 or IP or Cosine similarity?

Sign up or log in to comment