sentence-transformers How to use CrazyDave53/OpenCVModelDemo with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("CrazyDave53/OpenCVModelDemo")
sentences = [
"qualify leads job description",
"job description Qualify leads – can the customers use our solutions and do they have budget",
"job description QUALIFICATION STANDARDS:",
"job description Has passion and convictions and the innate ability to inspire passion in others"
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]