Skip to content

Commit

Permalink
change default embedder
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Feb 20, 2024
1 parent c994011 commit ae36a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmm_tools/emb/emb.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def embed(self, text: str) -> npt.NDArray[np.float32]:


class SentenceTransformerEmb(Embedder):
def __init__(self, model_name: str = "all-MiniLM-L12-v2"):
def __init__(self, model_name: str = "BAAI/bge-small-en-v1.5"):
from sentence_transformers import SentenceTransformer

self.model = SentenceTransformer(model_name)
Expand Down

0 comments on commit ae36a65

Please sign in to comment.