Update README.md
Browse filesFixing spelling mistakes
README.md
CHANGED
@@ -263,9 +263,9 @@ print("sentence_2_similarity:", cos_sim(query_embedding, model.encode(sentence_2
|
|
263 |
# =======
|
264 |
```
|
265 |
|
266 |
-
|
267 |
```python
|
268 |
-
query = "Please send
|
269 |
sentence_1 = "send email"
|
270 |
sentence_2 = "read inbox emails"
|
271 |
|
@@ -275,8 +275,8 @@ print("sentence_1_similarity:", cos_sim(query_embedding, model.encode(sentence_1
|
|
275 |
print("sentence_2_similarity:", cos_sim(query_embedding, model.encode(sentence_2))[0][0].tolist())
|
276 |
|
277 |
# ======= Output
|
278 |
-
# sentence_1_similarity: 0.
|
279 |
-
# sentence_2_similarity: 0.
|
280 |
# =======
|
281 |
|
282 |
```
|
|
|
263 |
# =======
|
264 |
```
|
265 |
|
266 |
+
**English**
|
267 |
```python
|
268 |
+
query = "Please send an email to all of the managers"
|
269 |
sentence_1 = "send email"
|
270 |
sentence_2 = "read inbox emails"
|
271 |
|
|
|
275 |
print("sentence_2_similarity:", cos_sim(query_embedding, model.encode(sentence_2))[0][0].tolist())
|
276 |
|
277 |
# ======= Output
|
278 |
+
# sentence_1_similarity: 0.6485046744346619
|
279 |
+
# sentence_2_similarity: 0.43906497955322266
|
280 |
# =======
|
281 |
|
282 |
```
|