`forced_decoder_ids` cannot be specified using transformers master branch

#43
by serena-ruan - opened

In latest transformers master branch: https://github.com/huggingface/transformers/blob/6a2627918d84f25422b931507a8fb9146106ca20/src/transformers/generation/utils.py#L1083 triggers error
ValueError: You have explicitly specified `forced_decoder_ids`. Please remove the `forced_decoder_ids` argument in favour of `input_ids` or `decoder_input_ids` respectively. Could you update the model accordingly?

@serena-ruan I am also facing the same error

Please see https://github.com/huggingface/transformers/issues/37172

Still a path to a solution is not very clear.

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment