Skip to content

Conversation

@DePasqualeOrg
Copy link
Collaborator

@DePasqualeOrg DePasqualeOrg commented Apr 29, 2025

This PR adds methods used in the Qwen 3 chat template, which were previously missing from this library.

@johnmai-dev, to keep the commit history of this repo clean, I suggest using the squash on merge strategy (you can configure it in the repo's settings on GitHub). Currently there's a separate merge commit for each merged PR.

@johnmai-dev
Copy link
Collaborator

Nice bro, you're awesome.🥰🥰🥰

@johnmai-dev
Copy link
Collaborator

This PR adds methods used in the Qwen 3 chat template, which were previously missing from this library.

@johnmai-dev, to keep the commit history of this repo clean, I suggest using the squash on merge strategy (you can configure it in the repo's settings on GitHub). Currently there's a separate merge commit for each merged PR.

Okay, got your suggestion. Is it this option?

image

@DePasqualeOrg DePasqualeOrg marked this pull request as ready for review April 29, 2025 09:51
@DePasqualeOrg
Copy link
Collaborator Author

Yes. And I verified that this fixes the error with Qwen 3.

@johnmai-dev
Copy link
Collaborator

LGTM!Nice👍

Is it possible to add Qwen3 Template test cases?

@DePasqualeOrg
Copy link
Collaborator Author

Done.

@johnmai-dev johnmai-dev merged commit 31c4dd3 into huggingface:main Apr 29, 2025
2 checks passed
@johnmai-dev johnmai-dev linked an issue Apr 29, 2025 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Parse error on Qwen3 chat template

2 participants