Skip to content

Commit

Permalink
feat: pass revision to SentenceTransformers
Browse files Browse the repository at this point in the history
  • Loading branch information
clinia-brando committed Nov 27, 2024
1 parent a6c696c commit 27eea36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions optimum/exporters/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2128,6 +2128,7 @@ def get_model_from_task(
device=device,
cache_folder=cache_folder,
token=token,
revision=revision,
trust_remote_code=trust_remote_code,
)
else:
Expand Down

0 comments on commit 27eea36

Please sign in to comment.