Changed `num_beams` to `num_beams // num_beam_groups` when initialising...
Changed `num_beams` to `num_beams // num_beam_groups` when initialising `PrefixConstrainedLogitsProcessor` in `_get_logits_processor` to fix compatibility issue when constrained decoding is used together with grouped beam search (#10475)
Showing
Please register or sign in to comment