karimouda commited on
Commit
dbd63b2
1 Parent(s): 35ede35

Update README.md

Browse files

Fixing spelling mistakes

Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -263,9 +263,9 @@ print("sentence_2_similarity:", cos_sim(query_embedding, model.encode(sentence_2
263
  # =======
264
  ```
265
 
266
- **ُEnglish**
267
  ```python
268
- query = "Please send and email to all of the managers"
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.6096147298812866
279
- # sentence_2_similarity: 0.42170101404190063
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
  ```