Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持通义千问Qwen-7B-chat #112

Open
lovelyjuice opened this issue Aug 10, 2023 · 1 comment
Open

不支持通义千问Qwen-7B-chat #112

lovelyjuice opened this issue Aug 10, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@lovelyjuice
Copy link

把模型路径改成chatglm,试图以chatglm方式加载模型,但是存在以下问题

  1. 通义千问使用AutoModelForCausalLM而不是AutoModel
  2. 通义千问的model.chat()函数不支持 max_length 和 temperature 参数
  3. AutoModelForCausalLM().from_pretrained().half() 中 half() 函数无法使用,需要删除
@thomas-yanxin
Copy link
Member

提个PR吧

@thomas-yanxin thomas-yanxin added the enhancement New feature or request label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants