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ヶ月前409ビュー
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!

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ