Skip to content

mtmd : fix glm-edge redundant token count #13139

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

Merged
merged 5 commits into from
Apr 28, 2025

Conversation

ngxson
Copy link
Collaborator

@ngxson ngxson commented Apr 27, 2025

Cont #13081

libmtmd need to exclude the 2 redundant BOI/EOI embeddings as they are now processed as text token.

For unknown reason, the provided jinja chat template (without [gMASK]<sop>) doesn't work. Using GLM4 template with [gMASK]<sop>, the model does response normally.

@ngxson ngxson requested a review from ggerganov April 27, 2025 17:40
@github-actions github-actions bot added the testing Everything test related label Apr 28, 2025
@ngxson ngxson merged commit 4e87962 into ggml-org:master Apr 28, 2025
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples testing Everything test related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants