SEEChat icon indicating copy to clipboard operation
SEEChat copied to clipboard

ValueError: You passed `inputs_embeds` to `.generate()`

Open Youngon opened this issue 1 year ago • 1 comments

when I run 'sh demo_stage2.sh', I meet the error below: ValueError: You passed inputs_embeds to .generate(), but the model class ChatGLMForConditionalGeneration doesn't have its forwarding implemented. See the GPT2 implementation for an example (https://github.com/huggingface/transformers/pull/21405), and feel free to open a PR with it! Could you please give me some insight.

Youngon avatar Jul 04 '23 07:07 Youngon