CogVLM
CogVLM copied to clipboard
llama2_tokenizer error
System Info / 系統信息
python 3.9
Who can help? / 谁可以帮助到您?
[rank0]: if tokenizer.pad_token_id is None: [rank0]: AttributeError: 'bool' object has no attribute 'pad_token_id'
Information / 问题信息
- [X] The official example scripts / 官方的示例脚本
- [ ] My own modified scripts / 我自己修改的脚本和任务
Reproduction / 复现过程
ython ./basic_demo/web_demo.py --from_pretrained cogagent-vqa --version chat_old --bf16
Expected behavior / 期待表现
换了本地的vicuna模型地址,提示如下。推理无法进行。