MiniGPT-4
MiniGPT-4 copied to clipboard
set `padding_side='left'
when I run demo.py, error happends: 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.


thanks for your reply! I have fixed this error by your way.
I have the same problem and generate confusing output. I tried your methods, but it still exits.