At line 44:
hidden_states, outputs = model.generate(**{'input_ids':inputs.input_ids, 'max_new_tokens':64})
There's an error: ValueError: not enough values to unpack (expected 2, got 1). I guess it means that model.generate( ) will only have one output, which is outputs, and can not get hidden_states. I'm wondering how to fix this issue. Thank you very much!
At line 44:
There's an error: ValueError: not enough values to unpack (expected 2, got 1). I guess it means that model.generate( ) will only have one output, which is
outputs, and can not gethidden_states. I'm wondering how to fix this issue. Thank you very much!