We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63de7e5 commit 4b6044aCopy full SHA for 4b6044a
ontolearner/base/learner.py
@@ -331,7 +331,7 @@ def load(self, model_id: str) -> None:
331
Raises:
332
NotImplementedError: If not implemented by concrete class.
333
"""
334
- self.embedding_model = SentenceTransformer(model_id)
+ self.embedding_model = SentenceTransformer(model_id, trust_remote_code=True)
335
336
def index(self, inputs: List[str]):
337
0 commit comments