Pristinenlp
commited on
Commit
•
ce2934c
1
Parent(s):
1d2cb86
update
Browse files
README.md
CHANGED
@@ -1077,6 +1077,6 @@ from sentence_transformers import SentenceTransformer
|
|
1077 |
sentences = ["西湖在哪?", "西湖风景名胜区位于浙江省杭州市"]
|
1078 |
|
1079 |
model = SentenceTransformer('Pristinenlp/alime-embedding-large-zh')
|
1080 |
-
embeddings = model.encode(sentences)
|
1081 |
print(embeddings)
|
1082 |
```
|
|
|
1077 |
sentences = ["西湖在哪?", "西湖风景名胜区位于浙江省杭州市"]
|
1078 |
|
1079 |
model = SentenceTransformer('Pristinenlp/alime-embedding-large-zh')
|
1080 |
+
embeddings = model.encode(sentences, normalize_embeddings=True)
|
1081 |
print(embeddings)
|
1082 |
```
|