Skip to content

Commit

Permalink
fix: score response default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Chkhikvadze committed Feb 13, 2024
1 parent 9745b60 commit c01c0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validators/text_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def score_responses(
query_responses: list[tuple[int, str]], # [(uid, response)]
uid_to_question: dict[int, str], # uid -> prompt
metagraph: bt.metagraph,
is_score_all : False
is_score_all=False
) -> tuple[torch.Tensor, dict[int, float], dict]:
scores = torch.zeros(len(metagraph.hotkeys))
uid_scores_dict = {}
Expand Down

0 comments on commit c01c0e6

Please sign in to comment.