Update README.md
Browse files
README.md
CHANGED
|
@@ -53,6 +53,9 @@ print("Similarità tra la sentenza 2 e 3:", similarity_matrix[1, 2])
|
|
| 53 |
```
|
| 54 |
|
| 55 |
## How to use with SentenceTransformer
|
|
|
|
|
|
|
|
|
|
| 56 |
```python
|
| 57 |
from sentence_transformers import SentenceTransformer
|
| 58 |
sentences = ["Oggi sono andato al mare", "La torre di Pisa si trova in Toscana"]
|
|
|
|
| 53 |
```
|
| 54 |
|
| 55 |
## How to use with SentenceTransformer
|
| 56 |
+
```
|
| 57 |
+
pip install -U sentence-transformers
|
| 58 |
+
```
|
| 59 |
```python
|
| 60 |
from sentence_transformers import SentenceTransformer
|
| 61 |
sentences = ["Oggi sono andato al mare", "La torre di Pisa si trova in Toscana"]
|