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

model_id为local ckpt路径时,infer template映射和解析出现问题 #24

Open
wangxingjun778 opened this issue Mar 26, 2024 · 0 comments

Comments

@wangxingjun778
Copy link
Collaborator

目前是根据model_id判断模型类型的,如果修改模型文件夹名,或使用本地ckpt路径,就无法从路径里提取出模型名比如「chatglm2-6b」,导致template get失败,默认使用 default prompt template,可能导致generate出现问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant