Qwen2.5
Qwen2.5 copied to clipboard
[BUG] <title>AttributeError: 'Qwen2ForCausalLM' object has no attribute 'chat'
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
- [X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
- [X] 我已经搜索过FAQ | I have searched FAQ
当前行为 | Current Behavior
使用docker部署qwen1.5,测试模型回答问题的时候报错:AttributeError: 'Qwen2ForCausalLM' object has no attribute 'chat'
期望行为 | Expected Behavior
正常回答
复现方法 | Steps To Reproduce
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA 11.7 (`python -c 'import torch; print(torch.version.cuda)'`):
备注 | Anything else?
No response
me too
Closed as duplicate of https://github.com/QwenLM/Qwen1.5/issues/7.
Please don't mix the use of Qwen and Qwen1.5 code.