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

better formatted table of 'lmdeploy list' #2289

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lvhan028
Copy link
Collaborator

The built-in chat templates are:
+---------------+-----------------------------+------------+-------------------+
| chat_template | representative              | model_type | architecture      |
+---------------+-----------------------------+------------+-------------------+
| cogvlm        | THUDM/cogvlm-chat-hf        | MLLM       | CogVLMForCausalLM |
+---------------+-----------------------------+------------+-------------------+
| cogvlm2       | TTHUDM/cogvlm2-llama3-chat- | MLLM       | CogVLMForCausalLM |
|               | 19B                         |            |                   |
+---------------+-----------------------------+------------+-------------------+

@lvhan028 lvhan028 changed the title better formatted table of 'mdeploy list' better formatted table of 'lmdeploy list' Aug 12, 2024
def meta(self):
"""Return (model_repo_id, model_type, architecture) of a model who uses
this chat template."""
return 'THUDM/cogvlm-chat-hf', 'MLLM', 'CogVLMForCausalLM'
Copy link
Collaborator

Choose a reason for hiding this comment

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

要不直接建一个大表放文档里?如果用代码的话,一个对话模板对应的 huggingface repo id 会很多。

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

也是一个方法

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

Successfully merging this pull request may close these issues.

2 participants