Skip to content

Commit

Permalink
too much renaming :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Feb 14, 2024
1 parent 4ed0861 commit ad15e25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class _InstructorEmbeddingBackend:

def __init__(self, model: str, device: Optional[str] = None, token: Optional[Secret] = None):
self.model = INSTRUCTOR(
model=model,
model_name_or_path=model,
device=device,
use_auth_token=token.resolve_value() if token else None,
)
Expand Down

0 comments on commit ad15e25

Please sign in to comment.