Skip to content

Commit

Permalink
- pass the revision in the engine args
Browse files Browse the repository at this point in the history
  • Loading branch information
gabewillen committed Feb 6, 2025
1 parent 789e14a commit 633f7fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/embedding_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self):
engine_args.append(
EngineArgs(
model_name_or_path=model_name,
revision=os.path.basename(model_name),
batch_size=batch_size,
engine=self.config.backend,
dtype=dtype,
Expand Down

0 comments on commit 633f7fd

Please sign in to comment.