Skip to content

Commit

Permalink
reduce batch size of sentence-transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
rchan26 committed Jun 13, 2024
1 parent b680eab commit f14616f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reginald/models/llama_index/llama_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def setup_settings(
# initialise embedding model to use to create the index vectors
embed_model = HuggingFaceEmbedding(
model_name="sentence-transformers/all-mpnet-base-v2",
embed_batch_size=128,
embed_batch_size=64,
)

# construct the prompt helper
Expand Down

0 comments on commit f14616f

Please sign in to comment.