sentence-transformers How to use RK-1235/bge-base-FIR-matryoshka-BASELINE-10ep with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("RK-1235/bge-base-FIR-matryoshka-BASELINE-10ep")
sentences = [
"that the person coming ahead with a plastic bottle in hand was the same person about whom he had informed us. After the informant left, we conducted a body search among ourselves to ensure no one had any incriminating items. Acting promptly without wasting time, we stopped the person coming ahead, but he did not stop and started running backward. Upon realizing this, we surrounded him according to the instructed tactics and caught him approximately 100 meters away from the road near Gara River. Upon questioning his name and address and conducting a body search, he identified himself as Bimlesh, son of Ramchandra, aged around 35 years, residing in Khada Mohalla, Shahabadnagar, Sadar Bazaar Thana, Shahjahanpur district. During the body search, we found a plastic bottle in his right hand, opened it, smelled it ourselves, and showed it to the witness, and there was a strong smell of raw liquor. When asked for a license to carry raw liquor, he could not show it. A sample was prepared by",
"Where does Sabina Khatoon's father, Mustakim, reside?",
"On what date was the daughter Priyanka taken away by Rahul according to the report?",
"What was the name and age of the person caught with the plastic bottle of raw liquor?"
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]