How to use Jrinky/final_stage1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Jrinky/final_stage1", trust_remote_code=True) sentences = [ "What organization is the person excited about donating to", "The superiority of Balcomy, next to Crail, Fife, in 1394 was possessed by Nicholas de Hay, and on 15 January that year it passed to David Lindsay of Carnbie. indicating that George Lauder only held Balcomy by hereditary feu.", "However, Robertson pulled out of the bout citing injury and was replaced by Tim Means. He lost the back and forth fight via submission in the third round. Sullivan was expected to face Marcio Alexandre Jr. on July 12, 2015, at The Ultimate Fighter 21 Finale. However, Alexandre pulled out of the fight during the week leading up to the event citing a rib injury and was replaced by promotional newcomer Dominic Waters. Sullivan won the one-sided fight via unanimous decision. Sullivan faced Alexander Yakovlev at UFC on Fox 18 on January 30, 2016. He lost the fight via knockout in the first round.", "I am super excited about donating to the ASPCA, I really wish I had the financial means to be part of their monthly donation club. In my last post I mentioned some charms I made for some friends, one a loyal customer at my shop." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]