原书出处
Designing Large Language Model Applications
Similarity Measures Commonly used similarity measures include dot product, cosine similarity, and Euclidean distance. Refer to the Pinecone tutorial on similarity measures if you need a backgrounder. While using embedding models, use the similarity measure that was used to train the model. You will find this information in the model card or Hugging Face model hub page. Tip If you set normalize_embeddings to True as
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch11.html
EPUB SHA-256:1b4d2347fec2f949fcddfbaf4fad597a1ae20887a096cfae64c59a619b4781bf