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 support for Lite-Mistral-Instruct chat template #8522

Closed
wants to merge 1 commit into from
Closed

Add support for Lite-Mistral-Instruct chat template #8522

wants to merge 1 commit into from

Conversation

AmgadHasan
Copy link

This PR adds support for the chat template used by OuteAI/Lite-Mistral-150M-v2-Instruct

The chat template is as follows:

<s>system
[System message]</s>
<s>user
[Your question or message]</s> 
<s>assistant
[The model's response]</s>

It is very similar to ChatML, the only difference is the special tokens that delimit the roles.
Let me know if there are any issues.

@AmgadHasan
Copy link
Author

Update:
Looks like this template is already implemented with the name monarch
https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template

@AmgadHasan AmgadHasan closed this Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Everything test related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant