For Titan embedding model which distance metric to use

0

As per best practice to choose distance metric "Use the distance metric that matches the model that you're using". For Titan embedding model which distance metric to use.

AWS
Sudip
feita há 4 meses406 visualizações
2 Respostas
1
Resposta aceita

Hello ,

Sudip

The Titan models are trained using cosine similarity, so the cosine distance metric would be the most appropriate choice.

Thanks,

Abhinav

respondido há 4 meses
0

Hi,

Your choice of distance metric is fairly open: the engines will return you embedding vectors and you choose which one you apply.

You have a wide choice well detailled at https://weaviate.io/blog/distance-metrics-in-vector-search

Cosine similarity is a frequent choice: it is normalized so always between 0 and 1. If you choose a non-normlized distance, you become dependent on embeddings vector length, which may become an issue if you want to compare distance across embeddings engines.

Best,

Didier

profile pictureAWS
ESPECIALISTA
respondido há 4 meses
profile picture
ESPECIALISTA
avaliado há 4 meses
  • Hi, thanks for having accepted my answer!

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas