Add new SentenceTransformer model
Browse files- README.md +4 -2
- entity_embeddings.npy +2 -2
README.md
CHANGED
|
@@ -67,8 +67,10 @@ print(embeddings.shape)
|
|
| 67 |
|
| 68 |
# Get the similarity scores for the embeddings
|
| 69 |
similarities = model.similarity(embeddings, embeddings)
|
| 70 |
-
print(similarities
|
| 71 |
-
# [
|
|
|
|
|
|
|
| 72 |
```
|
| 73 |
|
| 74 |
<!--
|
|
|
|
| 67 |
|
| 68 |
# Get the similarity scores for the embeddings
|
| 69 |
similarities = model.similarity(embeddings, embeddings)
|
| 70 |
+
print(similarities)
|
| 71 |
+
# tensor([[1.0000, 0.8151, 0.4302],
|
| 72 |
+
# [0.8151, 1.0000, 0.4153],
|
| 73 |
+
# [0.4302, 0.4153, 1.0000]])
|
| 74 |
```
|
| 75 |
|
| 76 |
<!--
|
entity_embeddings.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55f844a4e6f8abbaffa2f05a8a3ae8f0e6078ee603caba93b4f5c8f0481420f9
|
| 3 |
+
size 14835953792
|