Add Mistral templates that more closely resemble the standard#82
Open
John6666cat wants to merge 1 commit intoMaximilian-Winter:masterfrom
Open
Add Mistral templates that more closely resemble the standard#82John6666cat wants to merge 1 commit intoMaximilian-Winter:masterfrom
John6666cat wants to merge 1 commit intoMaximilian-Winter:masterfrom
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current
MISTRALtemplate 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,MISTRALhas 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