sentence-transformers How to use KameronB/IT-embeddinggemma with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("KameronB/IT-embeddinggemma")
sentences = [
"The iPhone Bluetooth connection drops unexpectedly during use.",
"The customer is asking how to update apps on their iPhone automatically.",
"The device loses power quickly despite showing a 100% battery level earlier.",
"Bluetooth devices disconnect frequently when paired with the iPhone."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]