yxuansu / PandaGPT

[TLLM'23] PandaGPT: One Model To Instruction-Follow Them All
https://panda-gpt.github.io/
Apache License 2.0
760 stars 60 forks source link

A decoder-only architecture is being used, but right-padding was detected! For correct generation results, please set `padding_side='left'` when initializing the tokenizer. #9

Open mlhui opened 1 year ago

mlhui commented 1 year ago

I use 7B ,but got this error: A decoder-only architecture is being used, but right-padding was detected! For correct generation results, please set padding_side='left' when initializing the tokenizer.

can you tell me how to solve this problem?

yxuansu commented 1 year ago

Hi, which scripts are running when you met this error?