Skip to content

Commit 8de3a42

Browse files
authored
add scores to wandb
1 parent b7fc825 commit 8de3a42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

validators/text_validator.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,11 @@ async def score_responses(
150150
if scored_response is not None:
151151
scores[uid] = scored_response
152152
uid_scores_dict[uid] = scored_response
153+
self.wandb_data["scores"][uid] = score
153154
else:
154155
scores[uid] = 0
155156
uid_scores_dict[uid] = 0
156-
# self.wandb_data["scores"][uid] = score
157+
157158

158159
if uid_scores_dict != {}:
159160
bt.logging.info(f"text_scores is {uid_scores_dict}")

0 commit comments

Comments
 (0)