You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When custom stop strings are used in HFPolicy, the generation length computed by fsdp1_policy_worker.py#L716-L721 always treats the first padded EOS token as a generated EOS token. For a batch of two samples
When custom stop strings are used in HFPolicy, the generation length computed by fsdp1_policy_worker.py#L716-L721 always treats the first padded EOS token as a generated EOS token. For a batch of two samples
The current implementation will compute generation lengths as 3 and 4 respectively. The ground truths are 2 and 4 respectively.
This issue mainly affects
run_multi_turn_rollout
with HFPolicy and batch size > 1. Some potential fixes I can think of:The text was updated successfully, but these errors were encountered: