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

Issue with CodeGeeX4 in vllm v0.5.5 #66

Open
BGFGB opened this issue Aug 28, 2024 · 0 comments
Open

Issue with CodeGeeX4 in vllm v0.5.5 #66

BGFGB opened this issue Aug 28, 2024 · 0 comments

Comments

@BGFGB
Copy link

BGFGB commented Aug 28, 2024

Hi CodeGeeX4 team,

I'm encountering an error while using CodeGeeX4 with vllm v0.5.5. The error message states:

As of transformers v4.44, default chat template is no longer allowed, so you must provide a chat template if the tokenizer does not define one.

I noticed that you provide the apply_chat_template function, but as far as I understand, it seems that a Jinja chat_template might also be required in this case. For reference, this is the code section I was looking at: chat_utils.py#L271.

Could you please update the tokenizer to include the necessary chat template for CodeGeeX4?

Thank you for your assistance!

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