sentence-transformers How to use dinho1597/FT_RAG with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("dinho1597/FT_RAG")
sentences = [
"What is the main factor of signal interference in MCFs?",
"The main factor of signal interference in MCFs is crosstalk, which is the leakage of a fraction of the signal power from a given core to its neighboring core.",
"An integrity group temporal key (IGTK) is a random value used to protect group addressed medium access control (MAC) management protocol data units (MMPDUs) from a broadcast/multicast source station (STA).",
"Wireless sensing through the combined use of radio wave and AI technologies aims to identify objects and recognize actions with high precision."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]