Skip to content

Commit

Permalink
Merge pull request #69 from BatsResearch/patch-utils
Browse files Browse the repository at this point in the history
Update utils.py
  • Loading branch information
dotpyu authored Jun 11, 2024
2 parents dd837cc + f9d2ec4 commit 00c5fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alfred/fm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def merge_rank_response(
scores = torch.empty(self.candidate_size)
candidates = []
for response_idx, response in enumerate(responses):
scores[response_idx] = response["logits"]
scores[response_idx] = response["logit"]
candidates.append(response["candidate"])

logits = {
Expand Down

0 comments on commit 00c5fdb

Please sign in to comment.