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
Mario System Prompt not working with Mistral Model #693
Comments
|
Looks like mistral doesn't have a system prompt in its default template: Try this Modelfile instead for the Mario example: I haven't tested this template out much, but it may do the trick. Iterate as needed. |
|
Adding that TEMPLATE directive to the Modelfile worked for me. Btw, where can I learn more about that syntax like |
|
@cjbottaro these sorts of things are usually model-specific and come from how it was trained. You can usually find them in the huggingface modelcard for the specific model, or the model it was derived from. For Mistral: https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.1 the instruction format describes |
|
Can we fix default template for mistral? I can't find default templates for models to provide PR. |
|
This should be fixed now. Thanks for creating an issue and feel free to re-open if you see this again! |
In this example: https://github.com/jmorganca/ollama/blob/main/examples/mario/readme.md
I can successfully create a new model with mistral, however it seems to ignore the system prompt. I tried various system prompts but seems to revert back to Mistral.
Here is my results:
The text was updated successfully, but these errors were encountered: