Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
irexyc committed Sep 26, 2023
1 parent 8b0dff2 commit cb82fe3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ______________________________________________________________________

## News 🎉

- \[2023/09\] TurboMind supports Qwen-14B
- \[2023/09\] TurboMind supports InternLM-20B
- \[2023/09\] TurboMind supports all features of Code Llama: code completion, infilling, chat / instruct, and python specialist. Click [here](./docs/en/supported_models/codellama.md) for deployment guide
- \[2023/09\] TurboMind supports Baichuan2-7B
Expand Down
1 change: 1 addition & 0 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ______________________________________________________________________

## 更新 🎉

- \[2023/09\] TurboMind 支持 Qwen-14B
- \[2023/09\] TurboMind 支持 InternLM-20B 模型
- \[2023/09\] TurboMind 支持 Code Llama 所有功能:代码续写、填空、对话、Python专项。点击[这里](./docs/zh_cn/supported_models/codellama.md)阅读部署方法
- \[2023/09\] TurboMind 支持 Baichuan2-7B
Expand Down
6 changes: 1 addition & 5 deletions lmdeploy/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ def messages2prompt(self, messages, sequence_start=True):
return ret


@MODELS.register_module(name='qwen-14b')
@MODELS.register_module(name='qwen-7b')
class Qwen7BChat(BaseModel):
"""Chat template for Qwen-7B-Chat."""
Expand Down Expand Up @@ -508,11 +509,6 @@ def messages2prompt(self, messages, sequence_start=True):
return ret


@MODELS.register_module(name='qwen-14b')
class Qwen14BChat(Qwen7BChat):
pass


@MODELS.register_module(name='codellama')
class CodeLlama(Llama2):

Expand Down

0 comments on commit cb82fe3

Please sign in to comment.