"sims/nic/git@developer.sourcefind.cn:cnjsdfcy/simbricks.git" did not exist on "000cc16f80953cb5e4365afcd044284049e8f4ea"
Fixes bug in the creation of ExponentialDecayLengthPenalty (#21423)
input_ids_seq_length doesn't exist in the GenerationConfig, it exists as local variable in the function. Setting exponential_decay_length_penalty therefore results in an error: `AttributeError: 'GenerationConfig' object has no attribute 'input_ids_seq_length'` This simple change fixes this issue, and the exponential_decay_length_penalty works as expected.
Showing
Please register or sign in to comment