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

web demo 报错 #25

Closed Joe2loft closed 5 months ago

Joe2loft commented 5 months ago

WechatIMG2

运行web demo报错, vicuna 版本: vicuna-7b-delta-v0 pandadgpt: pandagpt-7b_max_len_1024

transformers: 4.42.0.dev0 torch:1.13.1 torchvision:0.14.1 peft:0.3.0

Joe2loft commented 5 months ago

后台提示: 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.

Joe2loft commented 5 months ago

更换vicuna版本到 v1.1 或者v1.5,问题就解决了,但是具体什么导致的并不清楚