Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ pip install -U sentence-transformers
|
|
25 |
Then you can use the model like this:
|
26 |
|
27 |
```python
|
28 |
-
from sentence_transformers import SentenceTransformer
|
29 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|
30 |
|
31 |
model = SentenceTransformer('{MODEL_NAME}')
|
|
|
25 |
Then you can use the model like this:
|
26 |
|
27 |
```python
|
28 |
+
from sentence_transformers import SentenceTransformer, util
|
29 |
sentences = ["This is an example sentence", "Each sentence is converted"]
|
30 |
|
31 |
model = SentenceTransformer('{MODEL_NAME}')
|