Sentence Similarity
sentence-transformers
PyTorch
Transformers
English
t5
text-embedding
embeddings
information-retrieval
beir
text-classification
language-model
text-clustering
text-semantic-similarity
text-evaluation
prompt-retrieval
text-reranking
feature-extraction
English
Sentence Similarity
natural_questions
ms_marco
fever
hotpot_qa
mteb
Eval Results
multi-train
commited on
Commit
•
0afe5b5
1
Parent(s):
6a81ee9
Update README.md
Browse files
README.md
CHANGED
@@ -2547,7 +2547,7 @@ Then you can use the model like this to calculate domain-specific and task-aware
|
|
2547 |
from InstructorEmbedding import INSTRUCTOR
|
2548 |
model = INSTRUCTOR('hkunlp/instructor-large')
|
2549 |
sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
|
2550 |
-
instruction = "Represent the Science title
|
2551 |
embeddings = model.encode([[instruction,sentence]])
|
2552 |
print(embeddings)
|
2553 |
```
|
|
|
2547 |
from InstructorEmbedding import INSTRUCTOR
|
2548 |
model = INSTRUCTOR('hkunlp/instructor-large')
|
2549 |
sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
|
2550 |
+
instruction = "Represent the Science title:"
|
2551 |
embeddings = model.encode([[instruction,sentence]])
|
2552 |
print(embeddings)
|
2553 |
```
|