upload
Browse files
README.md
CHANGED
@@ -20,7 +20,8 @@ pip install -U sentence-transformers
|
|
20 |
Then you can use the model like this:
|
21 |
```python
|
22 |
from sentence_transformers import SentenceTransformer
|
23 |
-
|
|
|
24 |
|
25 |
#Load the model
|
26 |
model = SentenceTransformer('sentence-transformers/multi-qa-MiniLM-L6-dot-v1')
|
|
|
20 |
Then you can use the model like this:
|
21 |
```python
|
22 |
from sentence_transformers import SentenceTransformer
|
23 |
+
query = "How many people live in London?"
|
24 |
+
docs = ["Around 9 Million people live in London", "London is known for its financial district"]
|
25 |
|
26 |
#Load the model
|
27 |
model = SentenceTransformer('sentence-transformers/multi-qa-MiniLM-L6-dot-v1')
|