How to obtain similarity values from embeddings?
I’m trying to use the model in this url:huggingface.cosentence-transformers/paraphrase-MiniLM-L3-v2 · Hugging FaceWe’re on a journey to advance and democratize artificial intelligence through open source and open science.However, in the webpage nothing is said about how we can compute the similarity values, i.e. which mathematical functions we use.How are they computed for that webpage?
2022-04-28T13:36:35Z
Hello and welcome to our forumSentence transformers use cosine similarity for inference, you can find the functionhere. Indeed it would be nice to document what’s used, I noted it down
2022-04-29T12:42:26Z
Thanks MerveA quinta, 28/04/2022, 14:46, Merve Noyan via Hugging Face Forums <notifications@hellohellohello.discoursemail.com> escreveu: