sentence-transformers How to use mohamed20-AI/result_model with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("mohamed20-AI/result_model")
sentences = [
"Two adults, one female in white, with shades and one male, gray clothes, walking across a street, away from a eatery with a blurred image of a dark colored red shirted person in the foreground.",
"Two people ride bicycles into a tunnel.",
"There are people just getting on a train",
"There are children present"
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]