We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35de3da commit a052aafCopy full SHA for a052aaf
prompting/rewards/exact_match.py
@@ -170,6 +170,9 @@ async def reward(
170
raise ValueError(
171
f"Rewards, timings or UIDs have different lengths {len(rewards)} {len(timing_outputs)} {len(uids)}"
172
)
173
+
174
+ rewards = np.array(rewards)
175
+ logger.info(f"Success responses: {len(rewards[rewards > 0])}/{len(rewards)}")
176
177
reward_output = BatchRewardOutput(
178
rewards=np.array(rewards),
0 commit comments