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

Add Mistral templates that more closely resemble the standard #82

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

Conversation

John6666cat
Copy link

The current MISTRAL template appears to be from a time when the specifications were not finalized, and there is some confusion. It works well, and in fact I use it on a daily basis. However, I have received information from a user who uses LLM on a daily basis that is closer to the current Mistral specification, so I am committing the revised code based on this information. For compatibility, MISTRAL has been left as is, and the new format has been added at the end, but please change the order of appearance as you see fit. See below for more information on formats.
https://huggingface.co/spaces/John6666/text2tag-llm/discussions/4#671b481656288fee065beabb https://github.com/inflatebot/SillyTavern-Mistral-Templates/tree/main/Instruct https://github.com/mistralai/cookbook/blob/main/concept-deep-dive/tokenization/chat_templates.md

…dard

The current `MISTRAL` template appears to be from a time when the specifications were not finalized, and there is some confusion.
It works well, and in fact I use it on a daily basis.
However, I have received information from a user who uses LLM on a daily basis that is closer to the current Mistral specification, so I am committing the revised code based on this information.
For compatibility, `MISTRAL` has been left as is, and the new format has been added at the end, but please change the order of appearance as you see fit.
See below for more information on formats.
https://huggingface.co/spaces/John6666/text2tag-llm/discussions/4#671b481656288fee065beabb
https://github.com/inflatebot/SillyTavern-Mistral-Templates/tree/main/Instruct
https://github.com/mistralai/cookbook/blob/main/concept-deep-dive/tokenization/chat_templates.md
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