Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
Signed-off-by: Feng, Jiqing <[email protected]>
  • Loading branch information
jiqing-feng committed Nov 26, 2024
1 parent 0da40fa commit c6a2cd2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/evaluation/evaluation_inference_speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@

from sentence_transformers import SentenceTransformer

# Limit torch to 4 threads
torch.set_num_threads(4)


model_name = sys.argv[1] if len(sys.argv) > 1 else "bert-base-nli-mean-tokens"

Expand Down

0 comments on commit c6a2cd2

Please sign in to comment.