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
•
e9d20e0
1
Parent(s):
f3c4dc8
Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ tags:
|
|
9 |
- transformers
|
10 |
---
|
11 |
|
12 |
-
#
|
13 |
This is a general embedding model: It maps **any** piece of text (e.g., a title, a sentence, a document, etc.) to a fixed-length vector in test time **without further training**. With instructions, the embeddings are **domain-specific** (e.g., specialized for science, finance, etc.) and **task-aware** (e.g., customized for classification, information retrieval, etc.)
|
14 |
|
15 |
The model is easy to use with `sentence-transformer` library.
|
@@ -27,7 +27,7 @@ Then you can use the model like this to calculate domain-specific and task-aware
|
|
27 |
from sentence_transformers import SentenceTransformer
|
28 |
sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
|
29 |
instruction = "Represent the Science title; Input:"
|
30 |
-
model = SentenceTransformer('
|
31 |
embeddings = model.encode([[instruction,sentence,0]])
|
32 |
print(embeddings)
|
33 |
```
|
|
|
9 |
- transformers
|
10 |
---
|
11 |
|
12 |
+
# hkunlp/instructor-large
|
13 |
This is a general embedding model: It maps **any** piece of text (e.g., a title, a sentence, a document, etc.) to a fixed-length vector in test time **without further training**. With instructions, the embeddings are **domain-specific** (e.g., specialized for science, finance, etc.) and **task-aware** (e.g., customized for classification, information retrieval, etc.)
|
14 |
|
15 |
The model is easy to use with `sentence-transformer` library.
|
|
|
27 |
from sentence_transformers import SentenceTransformer
|
28 |
sentence = "3D ActionSLAM: wearable person tracking in multi-floor environments"
|
29 |
instruction = "Represent the Science title; Input:"
|
30 |
+
model = SentenceTransformer('hkunlp/instructor-large')
|
31 |
embeddings = model.encode([[instruction,sentence,0]])
|
32 |
print(embeddings)
|
33 |
```
|