Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,7 @@ print(embeddings.shape)
|
|
31 |
#torch.Size([768])
|
32 |
```
|
33 |
|
34 |
-
You can also compute the cosine similarities between two
|
35 |
```python
|
36 |
def get_similarity_two(sentence1, sentence2):
|
37 |
vec1 = get_vector_simcse(sentence1).tolist()
|
|
|
31 |
#torch.Size([768])
|
32 |
```
|
33 |
|
34 |
+
You can also compute the cosine similarities between two sentences
|
35 |
```python
|
36 |
def get_similarity_two(sentence1, sentence2):
|
37 |
vec1 = get_vector_simcse(sentence1).tolist()
|