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

feat(model): Support glm-4-9b-chat #1602

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

fangyinc
Copy link
Collaborator

@fangyinc fangyinc commented Jun 5, 2024

Description

Support glm-4-9b-chat

How Has This Been Tested?

Modify your .env file:

LLM_MODEL=glm-4-9b-chat

Then restart your DB-GPT server.

Snapshots:

Include snapshots for easier review.

Checklist:

  • My code follows the style guidelines of this project
  • I have already rebased the commits and make the commit message conform to the project standard.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Any dependent changes have been merged and published in downstream modules

@github-actions github-actions bot added enhancement New feature or request model Module: model labels Jun 5, 2024
Copy link
Collaborator

@csunny csunny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Copy link
Collaborator

@Aries-ckt Aries-ckt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

@Aries-ckt Aries-ckt merged commit acd76ba into eosphoros-ai:main Jun 5, 2024
5 checks passed
@chuangzhidan
Copy link

已经用了一段时间dbgpt的,用哪个文件替换以支持这个模型啊?

@fangyinc
Copy link
Collaborator Author

已经用了一段时间dbgpt的,用哪个文件替换以支持这个模型啊?

文档中有描述哈。
https://docs.dbgpt.site/docs/latest/installation/sourcecode#local-model

cd DB-GPT
mkdir -p models && cd models

# llm model
git clone https://huggingface.co/THUDM/glm-4-9b-chat

然后修改 .env 文件:

# .env
LLM_MODEL=glm-4-9b-chat

Hopshine pushed a commit to Hopshine/DB-GPT that referenced this pull request Sep 10, 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 model Module: model
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants