You have to specify either decoder_input_ids or decoder_inputs_embeds

#2
by jfxiong - opened

see title

got same error

Fengshenbang-LM org
edited Apr 20, 2023

What is the version of transformers? the 4.21.1 version works fine. You can downgrade transformers or follow the document of batch_decode function of your version.

Justcode changed discussion status to closed

Sign up or log in to comment