Skip to content

Commit

Permalink
Fix issue introduced in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Oct 17, 2024
1 parent f8b4b4e commit 2cfd817
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ def compute_metrices(
):
sub_corpus_embeddings = corpus_model.encode(
self.corpus[corpus_start_idx:corpus_end_idx],
prompt_name=self.query_prompt_name,
prompt=self.query_prompt,
prompt_name=self.corpus_prompt_name,
prompt=self.corpus_prompt,
batch_size=self.batch_size,
show_progress_bar=False,
convert_to_tensor=True,
Expand Down

0 comments on commit 2cfd817

Please sign in to comment.