Skip to content

Commit ad6e4dc

Browse files
committed
Clean up comments
1 parent e511d0f commit ad6e4dc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

prompting/rewards/exact_match.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ async def reward(
121121

122122
elif check_idx == eos_idx and completion_length < max_tokens:
123123
if eos_token and eos_token not in verification_logits:
124-
# TODO: Make top_k equal to top_logprobs.
125-
# Do not set full penalty since top_k > top_logprobs.
126124
penalty = NO_EOS_PENALTY
127125
raise ValueError("Partial completion")
128126

0 commit comments

Comments
 (0)