Skip to content

Commit

Permalink
fix: Set default device in BGEM3EmbeddingFunction to None. (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxywb authored Nov 20, 2024
1 parent 1b9549e commit 24db758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milvus_model/hybrid/bge_m3.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(
self,
model_name: str = "BAAI/bge-m3",
batch_size: int = 16,
device: str = "",
device: str = None,
normalize_embeddings: bool = True,
use_fp16: bool = False,
return_dense: bool = True,
Expand Down

0 comments on commit 24db758

Please sign in to comment.