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!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南