Update README 6c074e4
Jia Huei Tan commited on
How to use EmbeddedLLM/paraphrase-MiniLM-L3-v2-onnx-o3-cpu with sentence-transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("EmbeddedLLM/paraphrase-MiniLM-L3-v2-onnx-o3-cpu")
sentences = [
"The weather is lovely today.",
"It's so sunny outside!",
"He drove to the stadium."
]
embeddings = model.encode(sentences)
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]