omarelshehy
commited on
Commit
•
69c3963
1
Parent(s):
3ddf73b
Update README.md
Browse files
README.md
CHANGED
@@ -155,9 +155,9 @@ matryoshka_dim = 786
|
|
155 |
model = SentenceTransformer("omarelshehy/arabic-english-sts-matryoshka", truncate_dim=matryoshka_dim)
|
156 |
# Run inference
|
157 |
sentences = [
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
]
|
162 |
embeddings = model.encode(sentences)
|
163 |
print(embeddings.shape)
|
|
|
155 |
model = SentenceTransformer("omarelshehy/arabic-english-sts-matryoshka", truncate_dim=matryoshka_dim)
|
156 |
# Run inference
|
157 |
sentences = [
|
158 |
+
"She enjoyed reading books by the window as the rain poured outside.",
|
159 |
+
"كانت تستمتع بقراءة الكتب بجانب النافذة بينما كانت الأمطار تتساقط في الخارج.",
|
160 |
+
"Reading by the window was her favorite thing, especially during rainy days."
|
161 |
]
|
162 |
embeddings = model.encode(sentences)
|
163 |
print(embeddings.shape)
|