Update README.md
Browse files
README.md
CHANGED
@@ -70,7 +70,7 @@ sentences = [
|
|
70 |
]
|
71 |
embeddings = model.encode(sentences)
|
72 |
print(embeddings.shape)
|
73 |
-
# [
|
74 |
|
75 |
# Get the similarity scores for the embeddings
|
76 |
similarities = F.cosine_similarity(embeddings.unsqueeze(0), embeddings.unsqueeze(1), dim=2)
|
|
|
70 |
]
|
71 |
embeddings = model.encode(sentences)
|
72 |
print(embeddings.shape)
|
73 |
+
# [2, 768]
|
74 |
|
75 |
# Get the similarity scores for the embeddings
|
76 |
similarities = F.cosine_similarity(embeddings.unsqueeze(0), embeddings.unsqueeze(1), dim=2)
|