Skip to content

Commit

Permalink
Adding default value to SentenceTransformer wrapper
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 92241e5ded4f140c8ec4ffab3a3c0e60ff48204c
  • Loading branch information
szymondudycz authored and Manul from Pathway committed Feb 1, 2024
1 parent 1854732 commit 13d97de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pathway/xpacks/llm/embedders.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class SentenceTransformerEmbedder(pw.UDFSync):
def __init__(
self,
model: str,
call_kwargs: dict,
call_kwargs: dict = {},
device: str = "cpu",
**sentencetransformer_kwargs,
):
Expand Down

0 comments on commit 13d97de

Please sign in to comment.