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

Fixing Mistral Templates #6391

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Conversation

pandora-s-git
Copy link

@pandora-s-git pandora-s-git commented Sep 21, 2024

Hi there, fixing the templates as close as possible to the ground truth, you ca find more information regarding the templates in here: https://github.com/mistralai/cookbook/blob/main/concept-deep-dive/tokenization/chat_templates.md

Still not finished yet, so please dont merge yet!

Since it seems the webui uses Jinja, I will base myself on the ones for Hugging Face and customise it depending on the needs for this project!

I will notify once this PR is ready, for now im just experimenting.

Checklist:

Hi there, fixing the templates as close as possible to the ground truth, you ca find more information regarding the templates in here: https://github.com/mistralai/cookbook/blob/main/concept-deep-dive/tokenization/chat_templates.md

Still needs to be verified, so please dont merge yet!
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.

1 participant