How to use Mr-FineTuner/Eval_01_Final_5 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Mr-FineTuner/Eval_01_Final_5") sentences = [ "Pear trees are usually productive for 50 to 75 years though some still produce fruit after 100 years .", "In the late 1950s , he studied cinema in France .", "Pear trees are usually productive for 50 to 75 years though some still produce fruit after 100 years .", "A recording medium is a physical material that holds data expressed in any of the existing recording formats ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]