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

你们的代码只能加载chat?,base不能加载? #723

Open
2 tasks
yawzhe opened this issue Feb 25, 2025 · 1 comment
Open
2 tasks

你们的代码只能加载chat?,base不能加载? #723

yawzhe opened this issue Feb 25, 2025 · 1 comment
Assignees

Comments

@yawzhe
Copy link

yawzhe commented Feb 25, 2025

System Info / 系統信息

你们的代码只能加载chat?,base模型不能加载? 同一套代码base不行?有base的吗?

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

你们的代码只能加载chat?,base模型不能加载? 同一套代码base不行?有base的吗?

Expected behavior / 期待表现

你们的代码只能加载chat?,base模型不能加载? 同一套代码base不行?有base的吗?

@zRzRzRzRzRzRzR
Copy link
Member

base的模型没有chat template,是没办法对话的,你可以把apply template改成tokenizer(),
同时,需要把GLMForCasuelLLM类才成GLMModel类

@zRzRzRzRzRzRzR zRzRzRzRzRzRzR self-assigned this Feb 28, 2025
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

2 participants