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
已提问 4 个月前406 查看次数
2 回答
1
已接受的回答

Hello ,

Sudip

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

Thanks,

Abhinav

已回答 4 个月前
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
专家
已回答 4 个月前
profile picture
专家
已审核 4 个月前
  • Hi, thanks for having accepted my answer!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则