Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ Then you can use the model like this:
|
|
| 23 |
from sentence_transformers import SentenceTransformer
|
| 24 |
sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
|
| 25 |
instruction = "Represent the Science title; Input:"
|
| 26 |
-
model = SentenceTransformer('instructor-base')
|
| 27 |
embeddings = model.encode([[instruction,sentence,0]])
|
| 28 |
print(embeddings)
|
| 29 |
```
|
|
|
|
| 23 |
from sentence_transformers import SentenceTransformer
|
| 24 |
sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
|
| 25 |
instruction = "Represent the Science title; Input:"
|
| 26 |
+
model = SentenceTransformer('hku-nlp/instructor-base')
|
| 27 |
embeddings = model.encode([[instruction,sentence,0]])
|
| 28 |
print(embeddings)
|
| 29 |
```
|