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
Inference Endpoints
Andrew Luo
commited on
Commit
•
6cf0f91
1
Parent(s):
345a2f0
path
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -3,7 +3,7 @@ from InstructorEmbedding import INSTRUCTOR
|
|
3 |
|
4 |
class EndpointHandler():
|
5 |
def __init__(self, path=""):
|
6 |
-
model = INSTRUCTOR(
|
7 |
self.model = model
|
8 |
|
9 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
|
|
3 |
|
4 |
class EndpointHandler():
|
5 |
def __init__(self, path=""):
|
6 |
+
model = INSTRUCTOR(path)
|
7 |
self.model = model
|
8 |
|
9 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|